diff -r 863c77d15828 -r d9d4ea56179a contactengine/mainview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contactengine/mainview.h Thu Sep 16 10:59:11 2010 -0700 @@ -0,0 +1,40 @@ +#ifndef MAINVIEW_H +#define MAINVIEW_H + +#include + +#include + + + +// Use this class with the Orange Labs FW. Since the FW is full screen +// it handles many issues QMainWindow does for a standard Qt app. + +class MainView : public QWidget +{ + Q_OBJECT +public: + explicit MainView(QWidget *parent = 0); + +signals: + +public slots: + void startApp(); + + // just should all contacts. + void showAllContacts(); + // source the list of contacts by proximity to the phone. + void sortByGeo(); + // show all contacts at a particular event. + void showEvents(); + // show call log + void showLogs(); + +private: + OLButton* addToolbarButton(const QString& icon, const QString& text); + +private: + int m_count; +}; + +#endif // MAINVIEW_H