Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-02-21 21:35:23 +0000
committerStijn Buys <ingar@osirion.org>2012-02-21 21:35:23 +0000
commitba14d604adfee8b7596e0bfca81ad2720bbc0cf5 (patch)
tree39eef1b9ea80f73549b5c670bdca92a650bd9bf7 /src/mainwindow.h
parent0a22de2cb23a1636f076d1dd8a05b7f873b9b653 (diff)
Show filename in the subwindow title.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 48e8927..b2943a5 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -36,8 +36,14 @@ private slots:
private:
void init_actions();
void init_menu();
-
+
+ /// add a new child window
EditorWindow *add_child();
+
+ /// find an already open file
+ QMdiSubWindow *find_child(const QString &filename);
+
+ /// return the active child window, NULL if none
EditorWindow *active_child();
QMdiArea *mainwindow_mdiarea;