Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;