contactengine/contactlist.h
changeset 49 d9d4ea56179a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contactengine/contactlist.h	Thu Sep 16 10:59:11 2010 -0700
@@ -0,0 +1,34 @@
+#ifndef CONTACTLIST_H
+#define CONTACTLIST_H
+
+#include <QWidget>
+
+#include "contactsengine.h"
+#include "ui_ContactList.h"
+
+class ContactList : public QWidget
+{
+    Q_OBJECT
+public:
+    explicit ContactList(QWidget *parent = 0);
+
+signals:
+
+public slots:
+    // 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();
+
+    void errorOccurred(QString);
+
+private:
+    Ui::Form *ui;
+    ContactsEngine *ce;
+};
+
+#endif // CONTACTLIST_H