summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h
index 3d1e1c8..db3a653 100644
--- a/noncore/apps/opie-console/mainwindow.h
+++ b/noncore/apps/opie-console/mainwindow.h
@@ -6,47 +6,50 @@
6 6
7#include "session.h" 7#include "session.h"
8 8
9/** 9/**
10 * this is the MainWindow of the new opie console 10 * this is the MainWindow of the new opie console
11 * it's also the dispatcher between the different 11 * it's also the dispatcher between the different
12 * actions supported by the gui 12 * actions supported by the gui
13 */ 13 */
14class QToolBar; 14class QToolBar;
15class QMenuBar; 15class QMenuBar;
16class QAction; 16class QAction;
17class MetaFactory; 17class MetaFactory;
18
18class MainWindow : public QMainWindow { 19class MainWindow : public QMainWindow {
19 Q_OBJECT 20 Q_OBJECT
20public: 21public:
21 MainWindow( ); 22 MainWindow( );
22 ~MainWindow(); 23 ~MainWindow();
23 24
24 /** 25 /**
25 * our factory to generate IOLayer and so on 26 * our factory to generate IOLayer and so on
26 * 27 *
27 */ 28 */
28 MetaFactory* factory(); 29 MetaFactory* factory();
29 30
30 /** 31 /**
31 * A session contains a QWidget*, 32 * A session contains a QWidget*,
32 * an IOLayer* and some infos for us 33 * an IOLayer* and some infos for us
33 */ 34 */
34 Session* currentSession(); 35 Session* currentSession();
35 36
36 /** 37 /**
37 * the session list 38 * the session list
38 */ 39 */
39 QList<Session> sessions(); 40 QList<Session> sessions();
40 41protected slots:
42 void slotNew();
43 void slotConnect();
41private: 44private:
42 void initUI(); 45 void initUI();
43 /** 46 /**
44 * the current session 47 * the current session
45 */ 48 */
46 Session* m_curSession; 49 Session* m_curSession;
47 50
48 /** 51 /**
49 * the session list 52 * the session list
50 */ 53 */
51 QList<Session> m_sessions; 54 QList<Session> m_sessions;
52 55