example/DemoGUI/ToolBar.h
author cgandhi
Thu, 23 Sep 2010 17:43:31 +0530
changeset 25 a180113055cb
parent 16 b78fa4cdbf2b
permissions -rw-r--r--
Music Events are now normal Fetcher APIs added All APIs now return SmfError Canceling Request now supported Music Search now based on category Providerinfo added in DSM Added secondary ID, count, location to SMFAlbum Tags for Artist added Get tracks for album and artist added Added URL to subtitle DSM Bug fixes Detailed debugging logs filtered in server, pluginmgr, transportmgr playlistsOf() method changed in smfclient and plugin interfaces. RVCT B686 compilation issues resolved.

#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