summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abtable.h
authoreilers <eilers>2003-08-30 15:32:34 (UTC)
committer eilers <eilers>2003-08-30 15:32:34 (UTC)
commitcfb97af8f45087e58d4b82689df22191bd657c34 (patch) (side-by-side diff)
tree9e01e85787092abb0d8c6733bbe3091eaf6a892a /core/pim/addressbook/abtable.h
parent9f07321949f8baf1a64db0e4caec58041d3f775f (diff)
downloadopie-cfb97af8f45087e58d4b82689df22191bd657c34.zip
opie-cfb97af8f45087e58d4b82689df22191bd657c34.tar.gz
opie-cfb97af8f45087e58d4b82689df22191bd657c34.tar.bz2
Speed optimization fix:
Startup and usability improved if a lot of contacts are stored. Left speed bootleneck is the xml file..
Diffstat (limited to 'core/pim/addressbook/abtable.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/core/pim/addressbook/abtable.h b/core/pim/addressbook/abtable.h
index 0f7bc29..b9ebe27 100644
--- a/core/pim/addressbook/abtable.h
+++ b/core/pim/addressbook/abtable.h
@@ -34,2 +34,3 @@
+#if 0
class AbTableItem : public QTableItem
@@ -49,2 +50,4 @@ private:
+#endif
+
// This is a simple container, storing all contact
@@ -58,2 +61,3 @@ class ContactItem
+#if 0
class AbPickItem : public QTableItem
@@ -70,2 +74,4 @@ private:
+#endif
+
class AbTable : public QTable
@@ -93,3 +99,3 @@ public:
- QString findContactName( const OContact &entry );
+ // QString findContactName( const OContact &entry );
@@ -105,4 +111,4 @@ public:
// addresspicker mode (What's that ? se)
- void setChoiceNames( const QStringList& list);
- QStringList choiceNames() const;
+ // void setChoiceNames( const QStringList& list);
+ // QStringList choiceNames() const;
void setChoiceSelection( const QValueList<int>& list );
@@ -131,3 +137,3 @@ protected slots:
private:
- void insertIntoTable( const OContact &cnt, int row );
+ // void insertIntoTable( const OContact &cnt, int row );
ContactItem findContactContact( const OContact &entry, int row );
@@ -141,3 +147,3 @@ private:
bool asc;
- QMap<AbTableItem*, OContact> contactList;
+ // QMap<AbTableItem*, OContact> contactList;
QValueList<int> intFields;