Diffstat (limited to 'core/pim/addressbook/abtable.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abtable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/addressbook/abtable.h b/core/pim/addressbook/abtable.h index 4e6b294..0f7bc29 100644 --- a/core/pim/addressbook/abtable.h +++ b/core/pim/addressbook/abtable.h | |||
@@ -69,24 +69,28 @@ private: | |||
69 | }; | 69 | }; |
70 | 70 | ||
71 | class AbTable : public QTable | 71 | class AbTable : public QTable |
72 | { | 72 | { |
73 | Q_OBJECT | 73 | Q_OBJECT |
74 | 74 | ||
75 | public: | 75 | public: |
76 | AbTable( const QValueList<int> ordered, QWidget *parent, const char *name=0 ); | 76 | AbTable( const QValueList<int> ordered, QWidget *parent, const char *name=0 ); |
77 | ~AbTable(); | 77 | ~AbTable(); |
78 | 78 | ||
79 | // Set the contacts shown in the table | 79 | // Set the contacts shown in the table |
80 | void setContacts( const OContactAccess::List& viewList ); | 80 | void setContacts( const OContactAccess::List& viewList ); |
81 | |||
82 | // Set the list for primary contacts | ||
83 | void setOrderedList( const QValueList<int> ordered ); | ||
84 | |||
81 | // Selects a contact of a specific UID | 85 | // Selects a contact of a specific UID |
82 | bool selectContact( int UID ); | 86 | bool selectContact( int UID ); |
83 | 87 | ||
84 | // Get the current selected entry | 88 | // Get the current selected entry |
85 | OContact currentEntry(); | 89 | OContact currentEntry(); |
86 | 90 | ||
87 | // Get the UID of the current selected Entry | 91 | // Get the UID of the current selected Entry |
88 | int currentEntry_UID(); | 92 | int currentEntry_UID(); |
89 | 93 | ||
90 | QString findContactName( const OContact &entry ); | 94 | QString findContactName( const OContact &entry ); |
91 | 95 | ||
92 | void init(); | 96 | void init(); |