contactengine/mainview.h
author John Kern <johnk@symbian.org>
Thu, 16 Sep 2010 10:59:11 -0700
changeset 49 d9d4ea56179a
permissions -rwxr-xr-x
added a listview to support orange lab fw

#ifndef MAINVIEW_H
#define MAINVIEW_H

#include <QWidget>

#include <OLButton.h>



// 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