Tests/DemoGUI/ToolBar.h
changeset 26 83d6a149c755
equal deleted inserted replaced
25:a180113055cb 26:83d6a149c755
       
     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 "WidgetConstants.h"
       
    10 
       
    11 //FaceBook AuthApp UID
       
    12 const TUint32 KFBUid3 = { 0xEFE2FD23 }; 
       
    13 const TUint32 KFlickUid3 = { 0xE1D8C7D7 };
       
    14 
       
    15 class ToolBar : public QObject
       
    16 {
       
    17     Q_OBJECT
       
    18 public:
       
    19     ToolBar();
       
    20     void GetToolBar(QMainWindow *Mainwindow,QStringList aListOfActions);
       
    21     void launchFB();
       
    22     void launchFlickr();
       
    23     ~ToolBar();
       
    24 public slots:
       
    25     void post();
       
    26     void reply();
       
    27     void exitApp();
       
    28     void homeView();
       
    29     void msg();
       
    30     void call();
       
    31     void authApp_Fb();
       
    32     void authApp_Flkr();
       
    33 private:
       
    34      QMainWindow *iMainWindow;
       
    35 };
       
    36 
       
    37 #endif // TOOLBAR_H