Diffstat (limited to 'noncore/net/linphone/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/linphone/mainwindow.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/net/linphone/mainwindow.h b/noncore/net/linphone/mainwindow.h new file mode 100644 index 0000000..5a9bafb --- a/dev/null +++ b/noncore/net/linphone/mainwindow.h | |||
@@ -0,0 +1,35 @@ | |||
1 | #ifndef MAINWINDOW_H | ||
2 | #define MAINWINDOW_H | ||
3 | |||
4 | #include <qmainwindow.h> | ||
5 | |||
6 | #include <qtoolbar.h> | ||
7 | #include <qmenubar.h> | ||
8 | #include <qaction.h> | ||
9 | |||
10 | #include "qlinphone.h" | ||
11 | |||
12 | class MainWindow : public QMainWindow { | ||
13 | Q_OBJECT | ||
14 | |||
15 | public: | ||
16 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | ||
17 | virtual ~MainWindow(); | ||
18 | |||
19 | static QString appName() { | ||
20 | return QString::fromLatin1("olinphone"); | ||
21 | } | ||
22 | |||
23 | QLinphoneMainWidget *mainWidget; | ||
24 | QToolBar *toolBar; | ||
25 | QMenuBar *menuBar; | ||
26 | QPopupMenu *prefMenu; | ||
27 | |||
28 | QAction *settings; | ||
29 | |||
30 | public slots: | ||
31 | void slotSettings(); | ||
32 | |||
33 | }; | ||
34 | |||
35 | #endif | ||