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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/addressbook/abtable.h b/core/pim/addressbook/abtable.h
index 927a5a9..7d2818b 100644
--- a/core/pim/addressbook/abtable.h
+++ b/core/pim/addressbook/abtable.h
@@ -99,48 +99,49 @@ public:
99 int currentEntry_UID(); 99 int currentEntry_UID();
100 100
101 // QString findContactName( const Opie::OPimContact &entry ); 101 // QString findContactName( const Opie::OPimContact &entry );
102 102
103 void init(); 103 void init();
104 void clear(); 104 void clear();
105 void refresh(); 105 void refresh();
106 106
107 void show(); 107 void show();
108 void setPaintingEnabled( bool e ); 108 void setPaintingEnabled( bool e );
109 void viewportPaintEvent( QPaintEvent* e); 109 void viewportPaintEvent( QPaintEvent* e);
110 void paintCell(QPainter* p, int row, int col, const QRect&, bool ); 110 void paintCell(QPainter* p, int row, int col, const QRect&, bool );
111 111
112 // addresspicker mode (What's that ? se) 112 // addresspicker mode (What's that ? se)
113 // void setChoiceNames( const QStringList& list); 113 // void setChoiceNames( const QStringList& list);
114 // QStringList choiceNames() const; 114 // QStringList choiceNames() const;
115 void setChoiceSelection( const QValueList<int>& list ); 115 void setChoiceSelection( const QValueList<int>& list );
116 QStringList choiceSelection(int index) const; 116 QStringList choiceSelection(int index) const;
117 117
118signals: 118signals:
119 void signalSwitch(); 119 void signalSwitch();
120 void signalEditor(); 120 void signalEditor();
121 void signalKeyDown(); 121 void signalKeyDown();
122 void signalKeyUp(); 122 void signalKeyUp();
123 void signalSortOrderChanged( bool order );
123 124
124protected: 125protected:
125 virtual void keyPressEvent( QKeyEvent *e ); 126 virtual void keyPressEvent( QKeyEvent *e );
126 127
127// int rowHeight( int ) const; 128// int rowHeight( int ) const;
128// int rowPos( int row ) const; 129// int rowPos( int row ) const;
129// virtual int rowAt( int pos ) const; 130// virtual int rowAt( int pos ) const;
130 131
131 132
132protected slots: 133protected slots:
133 void moveTo( char ); 134 void moveTo( char );
134 virtual void columnClicked( int col ); 135 virtual void columnClicked( int col );
135 void itemClicked(int,int col); 136 void itemClicked(int,int col);
136 void rowHeightChanged( int row ); 137 void rowHeightChanged( int row );
137 138
138private: 139private:
139 // void insertIntoTable( const Opie::OPimContact &cnt, int row ); 140 // void insertIntoTable( const Opie::OPimContact &cnt, int row );
140 ContactItem findContactContact( const Opie::OPimContact &entry, int row ); 141 ContactItem findContactContact( const Opie::OPimContact &entry, int row );
141 void fitColumns(); 142 void fitColumns();
142 void resizeRows(); 143 void resizeRows();
143 void realignTable(); 144 void realignTable();
144 void resort(); 145 void resort();
145 void updateVisible(); 146 void updateVisible();
146 147