.desktop file now in the proper directory. Icon still does not show
[confmgr] / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QMainWindow>
5 #include <QMenuBar>
6 #include "config.h"
7 #include "addprofile.h"
8 #include "confmanager.h"
9
10 namespace Ui {
11     class MainWindow;
12 }
13
14 class MainWindow : public QMainWindow
15 {
16     Q_OBJECT
17
18 public:
19     explicit MainWindow(QWidget *parent = 0);
20     ~MainWindow();
21
22 #if defined(Q_WS_MAEMO_5)
23     void setPortraitMode() { setAttribute(Qt::WA_Maemo5PortraitOrientation, true); }
24 #endif
25
26     void Initialize();
27
28 public slots:
29     void updateProfileList(Profile p);
30
31 private:
32     Ui::MainWindow *ui;
33     Config mConfig;
34     AddProfile mFrmAddProfile;
35     bool bIsProfileEdited;
36     confManager mConfMgr;
37     QMenuBar *pMenu;
38
39 private slots:
40     void on_mainPBEditProfile_clicked();
41     void on_btnmainStartConference_clicked();
42     void on_mainPBDelete_clicked();
43     void on_mainPBAdd_clicked();
44 };
45
46 #endif // MAINWINDOW_H