summaryrefslogtreecommitdiff
path: root/noncore/net/linphone/mainwindow.h
Side-by-side diff
Diffstat (limited to 'noncore/net/linphone/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/linphone/mainwindow.h35
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 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <qmainwindow.h>
+
+#include <qtoolbar.h>
+#include <qmenubar.h>
+#include <qaction.h>
+
+#include "qlinphone.h"
+
+class MainWindow : public QMainWindow {
+ Q_OBJECT
+
+public:
+ MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 );
+ virtual ~MainWindow();
+
+ static QString appName() {
+ return QString::fromLatin1("olinphone");
+ }
+
+ QLinphoneMainWidget *mainWidget;
+ QToolBar *toolBar;
+ QMenuBar *menuBar;
+ QPopupMenu *prefMenu;
+
+ QAction *settings;
+
+public slots:
+ void slotSettings();
+
+};
+
+#endif