example/DemoGUI/ToolBar.h
changeset 16 b78fa4cdbf2b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/example/DemoGUI/ToolBar.h	Thu Aug 05 16:35:33 2010 +0530
@@ -0,0 +1,44 @@
+#ifndef TOOLBAR_H
+#define TOOLBAR_H
+
+#include <qobject.h>
+#include <qmainwindow.h>
+#include <qboxlayout.h>
+#include <qtoolbar.h>
+#include <qtoolbutton.h>
+#include <qsignalmapper.h>
+#include "WidgetConstants.h"
+#include <qmenu.h>
+
+//FaceBook AuthApp UID
+const TUint32 KFBUid3 = { 0xEFE2FD23 }; 
+const TUint32 KFlickUid3 = { 0xE1D8C7D7 };
+
+class ToolBar : public QObject
+{
+    Q_OBJECT
+public:
+    ToolBar();
+    void GetToolBar(QMainWindow *Mainwindow,QStringList aListOfActions);
+    void launchFB();
+    void launchFlickr();
+    ~ToolBar();
+public slots:
+    //void post();
+    //void reply();
+    void exitApp();
+    void homeView();
+    void msg();
+    void call();
+    void authApp_Fb();
+    void authApp_Flkr();
+private:
+     QMainWindow *iMainWindow;
+     QSignalMapper *signal;
+public:
+	QMenu* menu;
+	//QAction *newAction1;
+	//QAction *newAction2;
+};
+
+#endif // TOOLBAR_H