summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.h
authorzecke <zecke>2002-09-26 21:22:18 (UTC)
committer zecke <zecke>2002-09-26 21:22:18 (UTC)
commit80471c46265182afccfa832750abd1f4f7fbfaa9 (patch) (side-by-side diff)
tree73b174abc34fcd23abe2d865365726d85db312b3 /noncore/apps/opie-console/mainwindow.h
parent48b3a7159c613b59ca3f838517373620b8afd1d5 (diff)
downloadopie-80471c46265182afccfa832750abd1f4f7fbfaa9.zip
opie-80471c46265182afccfa832750abd1f4f7fbfaa9.tar.gz
opie-80471c46265182afccfa832750abd1f4f7fbfaa9.tar.bz2
main /s/setMainWindow/showMainWindow
First implementation of the gui
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h
index 7786c95..3d1e1c8 100644
--- a/noncore/apps/opie-console/mainwindow.h
+++ b/noncore/apps/opie-console/mainwindow.h
@@ -8,12 +8,15 @@
/**
* this is the MainWindow of the new opie console
* it's also the dispatcher between the different
* actions supported by the gui
*/
+class QToolBar;
+class QMenuBar;
+class QAction;
class MetaFactory;
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow( );
~MainWindow();
@@ -33,12 +36,13 @@ public:
/**
* the session list
*/
QList<Session> sessions();
private:
+ void initUI();
/**
* the current session
*/
Session* m_curSession;
/**
@@ -48,10 +52,20 @@ private:
/**
* the metafactory
*/
MetaFactory* m_factory;
+ QToolBar* m_tool;
+ QMenuBar* m_bar;
+ QPopupMenu* m_console;
+ QPopupMenu* m_settings;
+ QPopupMenu* m_newsession;
+ QAction* m_connect;
+ QAction* m_disconnect;
+ QAction* m_terminate;
+ QAction* m_set;
+
};
#endif