equal
deleted
inserted
replaced
|
1 #ifndef CONTACTLIST_H |
|
2 #define CONTACTLIST_H |
|
3 |
|
4 #include <QWidget> |
|
5 |
|
6 #include "contactsengine.h" |
|
7 #include "ui_ContactList.h" |
|
8 |
|
9 class ContactList : public QWidget |
|
10 { |
|
11 Q_OBJECT |
|
12 public: |
|
13 explicit ContactList(QWidget *parent = 0); |
|
14 |
|
15 signals: |
|
16 |
|
17 public slots: |
|
18 // just should all contacts. |
|
19 void showAllContacts(); |
|
20 // source the list of contacts by proximity to the phone. |
|
21 void sortByGeo(); |
|
22 // show all contacts at a particular event. |
|
23 void showEvents(); |
|
24 // show call log |
|
25 void showLogs(); |
|
26 |
|
27 void errorOccurred(QString); |
|
28 |
|
29 private: |
|
30 Ui::Form *ui; |
|
31 ContactsEngine *ce; |
|
32 }; |
|
33 |
|
34 #endif // CONTACTLIST_H |