equal
deleted
inserted
replaced
|
1 #ifndef TOOLBAR_H |
|
2 #define TOOLBAR_H |
|
3 |
|
4 #include <qobject.h> |
|
5 #include <qmainwindow.h> |
|
6 #include <qboxlayout.h> |
|
7 #include <qtoolbar.h> |
|
8 #include <qtoolbutton.h> |
|
9 #include <qsignalmapper.h> |
|
10 #include "WidgetConstants.h" |
|
11 #include <qmenu.h> |
|
12 |
|
13 //FaceBook AuthApp UID |
|
14 const TUint32 KFBUid3 = { 0xEFE2FD23 }; |
|
15 const TUint32 KFlickUid3 = { 0xE1D8C7D7 }; |
|
16 |
|
17 class ToolBar : public QObject |
|
18 { |
|
19 Q_OBJECT |
|
20 public: |
|
21 ToolBar(); |
|
22 void GetToolBar(QMainWindow *Mainwindow,QStringList aListOfActions); |
|
23 void launchFB(); |
|
24 void launchFlickr(); |
|
25 ~ToolBar(); |
|
26 public slots: |
|
27 //void post(); |
|
28 //void reply(); |
|
29 void exitApp(); |
|
30 void homeView(); |
|
31 void msg(); |
|
32 void call(); |
|
33 void authApp_Fb(); |
|
34 void authApp_Flkr(); |
|
35 private: |
|
36 QMainWindow *iMainWindow; |
|
37 QSignalMapper *signal; |
|
38 public: |
|
39 QMenu* menu; |
|
40 //QAction *newAction1; |
|
41 //QAction *newAction2; |
|
42 }; |
|
43 |
|
44 #endif // TOOLBAR_H |