summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abtable.h
Unidiff
Diffstat (limited to 'core/pim/addressbook/abtable.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/addressbook/abtable.h b/core/pim/addressbook/abtable.h
index 53635ee..d5ff279 100644
--- a/core/pim/addressbook/abtable.h
+++ b/core/pim/addressbook/abtable.h
@@ -75,24 +75,25 @@ public:
75 void clearFindRow() { currFindRow = -2; } 75 void clearFindRow() { currFindRow = -2; }
76 void loadFields(); 76 void loadFields();
77 void refresh(); 77 void refresh();
78 bool save( const QString &fn ); 78 bool save( const QString &fn );
79 void load( const QString &fn ); 79 void load( const QString &fn );
80 80
81 // addresspicker mode 81 // addresspicker mode
82 void setChoiceNames( const QStringList& list); 82 void setChoiceNames( const QStringList& list);
83 QStringList choiceNames() const; 83 QStringList choiceNames() const;
84 void setChoiceSelection(int index, const QStringList& list); 84 void setChoiceSelection(int index, const QStringList& list);
85 QStringList choiceSelection(int index) const; 85 QStringList choiceSelection(int index) const;
86 void setShowCategory( const QString &c ); 86 void setShowCategory( const QString &c );
87 void setShowByLetter( char c );
87 QString showCategory() const; 88 QString showCategory() const;
88 QStringList categories(); 89 QStringList categories();
89 void resizeRows( int size ); 90 void resizeRows( int size );
90 91
91 void show(); 92 void show();
92 void setPaintingEnabled( bool e ); 93 void setPaintingEnabled( bool e );
93 94
94public slots: 95public slots:
95 void slotDoFind( const QString &str, bool caseSensitive, bool backwards, 96 void slotDoFind( const QString &str, bool caseSensitive, bool backwards,
96 int category ); 97 int category );
97signals: 98signals:
98 void empty( bool ); 99 void empty( bool );
@@ -121,21 +122,22 @@ private:
121 void updateJournal( const Contact &contact, Contact::journal_action action, 122 void updateJournal( const Contact &contact, Contact::journal_action action,
122 int row = -1 ); 123 int row = -1 );
123 void insertIntoTable( const Contact &contact, int row ); 124 void insertIntoTable( const Contact &contact, int row );
124 void internalAddEntries( QList<Contact> &list ); 125 void internalAddEntries( QList<Contact> &list );
125 QString findContactName( const Contact &entry ); 126 QString findContactName( const Contact &entry );
126 QString findContactContact( const Contact &entry ); 127 QString findContactContact( const Contact &entry );
127 void journalFreeReplace( const Contact &cnt, int row ); 128 void journalFreeReplace( const Contact &cnt, int row );
128 void journalFreeRemove( int row ); 129 void journalFreeRemove( int row );
129 void realignTable( int ); 130 void realignTable( int );
130 void updateVisible(); 131 void updateVisible();
131 int lastSortCol; 132 int lastSortCol;
132 bool asc; 133 bool asc;
134 char showChar;
133 QMap<AbTableItem*, Contact> contactList; 135 QMap<AbTableItem*, Contact> contactList;
134 const QValueList<int> *intFields; 136 const QValueList<int> *intFields;
135 int currFindRow; 137 int currFindRow;
136 QString showCat; 138 QString showCat;
137 QStringList choicenames; 139 QStringList choicenames;
138 bool enablePainting; 140 bool enablePainting;
139 Categories mCat; 141 Categories mCat;
140}; 142};
141#endif // ABTABLE_H 143#endif // ABTABLE_H