Diffstat (limited to 'noncore/apps/opie-console/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h index db3a653..b6a8419 100644 --- a/noncore/apps/opie-console/mainwindow.h +++ b/noncore/apps/opie-console/mainwindow.h | |||
@@ -29,46 +29,51 @@ public: | |||
29 | MetaFactory* factory(); | 29 | MetaFactory* factory(); |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * A session contains a QWidget*, | 32 | * A session contains a QWidget*, |
33 | * an IOLayer* and some infos for us | 33 | * an IOLayer* and some infos for us |
34 | */ | 34 | */ |
35 | Session* currentSession(); | 35 | Session* currentSession(); |
36 | 36 | ||
37 | /** | 37 | /** |
38 | * the session list | 38 | * the session list |
39 | */ | 39 | */ |
40 | QList<Session> sessions(); | 40 | QList<Session> sessions(); |
41 | protected slots: | 41 | |
42 | private slots: | ||
42 | void slotNew(); | 43 | void slotNew(); |
43 | void slotConnect(); | 44 | void slotConnect(); |
45 | void slotDisconnect(); | ||
46 | void slotTerminate(); | ||
47 | void slotConfigure(); | ||
48 | |||
44 | private: | 49 | private: |
45 | void initUI(); | 50 | void initUI(); |
46 | /** | 51 | /** |
47 | * the current session | 52 | * the current session |
48 | */ | 53 | */ |
49 | Session* m_curSession; | 54 | Session* m_curSession; |
50 | 55 | ||
51 | /** | 56 | /** |
52 | * the session list | 57 | * the session list |
53 | */ | 58 | */ |
54 | QList<Session> m_sessions; | 59 | QList<Session> m_sessions; |
55 | 60 | ||
56 | /** | 61 | /** |
57 | * the metafactory | 62 | * the metafactory |
58 | */ | 63 | */ |
59 | MetaFactory* m_factory; | 64 | MetaFactory* m_factory; |
60 | 65 | ||
61 | QToolBar* m_tool; | 66 | QToolBar* m_tool; |
62 | QMenuBar* m_bar; | 67 | QMenuBar* m_bar; |
63 | QPopupMenu* m_console; | 68 | QPopupMenu* m_console; |
64 | QPopupMenu* m_settings; | 69 | QPopupMenu* m_settings; |
65 | QPopupMenu* m_newsession; | 70 | QPopupMenu* m_sessionsPop; |
66 | QAction* m_connect; | 71 | QAction* m_connect; |
67 | QAction* m_disconnect; | 72 | QAction* m_disconnect; |
68 | QAction* m_terminate; | 73 | QAction* m_terminate; |
69 | QAction* m_set; | 74 | QAction* m_setProfiles; |
70 | 75 | ||
71 | }; | 76 | }; |
72 | 77 | ||
73 | 78 | ||
74 | #endif | 79 | #endif |