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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/addressbook/abtable.h b/core/pim/addressbook/abtable.h
index 83bd5a7..9825665 100644
--- a/core/pim/addressbook/abtable.h
+++ b/core/pim/addressbook/abtable.h
@@ -76,24 +76,25 @@ public:
76 76
77 // Get the UID of the current selected Entry 77 // Get the UID of the current selected Entry
78 int currentEntry_UID(); 78 int currentEntry_UID();
79 79
80 QString findContactName( const OContact &entry ); 80 QString findContactName( const OContact &entry );
81 81
82 void init(); 82 void init();
83 void clear(); 83 void clear();
84 void refresh(); 84 void refresh();
85 85
86 void show(); 86 void show();
87 void setPaintingEnabled( bool e ); 87 void setPaintingEnabled( bool e );
88 void viewportPaintEvent( QPaintEvent* e);
88 89
89 // addresspicker mode (What's that ? se) 90 // addresspicker mode (What's that ? se)
90 void setChoiceNames( const QStringList& list); 91 void setChoiceNames( const QStringList& list);
91 QStringList choiceNames() const; 92 QStringList choiceNames() const;
92 void setChoiceSelection( const QValueList<int>& list ); 93 void setChoiceSelection( const QValueList<int>& list );
93 QStringList choiceSelection(int index) const; 94 QStringList choiceSelection(int index) const;
94 95
95signals: 96signals:
96 void signalSwitch(); 97 void signalSwitch();
97 void signalEditor(); 98 void signalEditor();
98 void signalKeyDown(); 99 void signalKeyDown();
99 void signalKeyUp(); 100 void signalKeyUp();
@@ -118,19 +119,19 @@ private:
118 void fitColumns(); 119 void fitColumns();
119 void resizeRows(); 120 void resizeRows();
120 void realignTable(); 121 void realignTable();
121 void resort(); 122 void resort();
122 void updateVisible(); 123 void updateVisible();
123 124
124 int lastSortCol; 125 int lastSortCol;
125 bool asc; 126 bool asc;
126 QMap<AbTableItem*, OContact> contactList; 127 QMap<AbTableItem*, OContact> contactList;
127 QValueList<int> intFields; 128 QValueList<int> intFields;
128 QStringList choicenames; 129 QStringList choicenames;
129 bool enablePainting; 130 bool enablePainting;
130
131 bool columnVisible; 131 bool columnVisible;
132 int countNested;
132 133
133 OContactAccess::List m_viewList; 134 OContactAccess::List m_viewList;
134 135
135}; 136};
136#endif // ABTABLE_H 137#endif // ABTABLE_H