summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abtable.h
Side-by-side diff
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:
void clearFindRow() { currFindRow = -2; }
void loadFields();
void refresh();
bool save( const QString &fn );
void load( const QString &fn );
// addresspicker mode
void setChoiceNames( const QStringList& list);
QStringList choiceNames() const;
void setChoiceSelection(int index, const QStringList& list);
QStringList choiceSelection(int index) const;
void setShowCategory( const QString &c );
+ void setShowByLetter( char c );
QString showCategory() const;
QStringList categories();
void resizeRows( int size );
void show();
void setPaintingEnabled( bool e );
public slots:
void slotDoFind( const QString &str, bool caseSensitive, bool backwards,
int category );
signals:
void empty( bool );
@@ -121,21 +122,22 @@ private:
void updateJournal( const Contact &contact, Contact::journal_action action,
int row = -1 );
void insertIntoTable( const Contact &contact, int row );
void internalAddEntries( QList<Contact> &list );
QString findContactName( const Contact &entry );
QString findContactContact( const Contact &entry );
void journalFreeReplace( const Contact &cnt, int row );
void journalFreeRemove( int row );
void realignTable( int );
void updateVisible();
int lastSortCol;
bool asc;
+ char showChar;
QMap<AbTableItem*, Contact> contactList;
const QValueList<int> *intFields;
int currFindRow;
QString showCat;
QStringList choicenames;
bool enablePainting;
Categories mCat;
};
#endif // ABTABLE_H