author | eilers <eilers> | 2003-05-09 08:40:42 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-05-09 08:40:42 (UTC) |
commit | fd1f8bdfc8bad5a0344468118c66c6afe3044fde (patch) (unidiff) | |
tree | 58f18282117f9b524c13221f6a54c7bbc94a5827 /core/pim/addressbook/abview.cpp | |
parent | a82928a004882e9aba652061fc6ecffb85d403cf (diff) | |
download | opie-fd1f8bdfc8bad5a0344468118c66c6afe3044fde.zip opie-fd1f8bdfc8bad5a0344468118c66c6afe3044fde.tar.gz opie-fd1f8bdfc8bad5a0344468118c66c6afe3044fde.tar.bz2 |
Added two QCop functions for OSearch:
editUid(int), showUid(int)..
Diffstat (limited to 'core/pim/addressbook/abview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp index b89b794..d3ca783 100644 --- a/core/pim/addressbook/abview.cpp +++ b/core/pim/addressbook/abview.cpp | |||
@@ -287,24 +287,31 @@ void AbView::showPersonal( bool personal ) | |||
287 | delete m_contactdb; | 287 | delete m_contactdb; |
288 | 288 | ||
289 | m_contactdb = m_storedDB; | 289 | m_contactdb = m_storedDB; |
290 | m_storedDB = 0l; | 290 | m_storedDB = 0l; |
291 | 291 | ||
292 | m_curr_View = TableView; | 292 | m_curr_View = TableView; |
293 | m_inPersonal = false; | 293 | m_inPersonal = false; |
294 | 294 | ||
295 | } | 295 | } |
296 | load(); | 296 | load(); |
297 | } | 297 | } |
298 | 298 | ||
299 | void AbView::setCurrentUid( int uid ){ | ||
300 | |||
301 | m_curr_Contact = uid; | ||
302 | updateView( true ); //true: Don't modificate the UID ! | ||
303 | } | ||
304 | |||
305 | |||
299 | QStringList AbView::categories() | 306 | QStringList AbView::categories() |
300 | { | 307 | { |
301 | mCat.load( categoryFileName() ); | 308 | mCat.load( categoryFileName() ); |
302 | QStringList categoryList = mCat.labels( "Contacts" ); | 309 | QStringList categoryList = mCat.labels( "Contacts" ); |
303 | return categoryList; | 310 | return categoryList; |
304 | } | 311 | } |
305 | 312 | ||
306 | // BEGIN: Slots | 313 | // BEGIN: Slots |
307 | void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | 314 | void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, |
308 | bool , QString cat ) | 315 | bool , QString cat ) |
309 | { | 316 | { |
310 | //qWarning( "void AbView::slotDoFind" ); | 317 | //qWarning( "void AbView::slotDoFind" ); |