contactengine/contactlist.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     1
#ifndef CONTACTLIST_H
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     2
#define CONTACTLIST_H
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     3
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     4
#include <QWidget>
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     5
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     6
#include "contactsengine.h"
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     7
#include "ui_ContactList.h"
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     8
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
     9
class ContactList : public QWidget
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    10
{
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    11
    Q_OBJECT
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    12
public:
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    13
    explicit ContactList(QWidget *parent = 0);
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    14
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    15
signals:
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    16
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    17
public slots:
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    18
    // just should all contacts.
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    19
    void showAllContacts();
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    20
    // source the list of contacts by proximity to the phone.
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    21
    void sortByGeo();
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    22
    // show all contacts at a particular event.
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    23
    void showEvents();
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    24
    // show call log
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    25
    void showLogs();
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    26
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    27
    void errorOccurred(QString);
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    28
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    29
private:
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    30
    Ui::Form *ui;
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    31
    ContactsEngine *ce;
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    32
};
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    33
d9d4ea56179a added a listview to support orange lab fw
John Kern <johnk@symbian.org>
parents:
diff changeset
    34
#endif // CONTACTLIST_H