-rw-r--r-- | kaddressbook/kabcore.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 1bdae5f..bf5398b 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -234,24 +234,25 @@ class KABCore : public QWidget, public KSyncInterface | |||
234 | 234 | ||
235 | /** | 235 | /** |
236 | Sets the whoAmI contact, that is used by many other programs to | 236 | Sets the whoAmI contact, that is used by many other programs to |
237 | get personal information about the current user. | 237 | get personal information about the current user. |
238 | */ | 238 | */ |
239 | void setWhoAmI(); | 239 | void setWhoAmI(); |
240 | 240 | ||
241 | /** | 241 | /** |
242 | Displays the category dialog and applies the result to all | 242 | Displays the category dialog and applies the result to all |
243 | selected contacts. | 243 | selected contacts. |
244 | */ | 244 | */ |
245 | void setCategories(); | 245 | void setCategories(); |
246 | void manageCategories(); | ||
246 | 247 | ||
247 | /** | 248 | /** |
248 | Sets the field list of the Incremental Search Widget. | 249 | Sets the field list of the Incremental Search Widget. |
249 | */ | 250 | */ |
250 | void setSearchFields( const KABC::Field::List &fields ); | 251 | void setSearchFields( const KABC::Field::List &fields ); |
251 | 252 | ||
252 | /** | 253 | /** |
253 | Search with the current search field for a contact, that matches | 254 | Search with the current search field for a contact, that matches |
254 | the given text, and selects it in the view. | 255 | the given text, and selects it in the view. |
255 | */ | 256 | */ |
256 | void incrementalSearch( const QString& text ); | 257 | void incrementalSearch( const QString& text ); |
257 | 258 | ||
@@ -361,27 +362,24 @@ class KABCore : public QWidget, public KSyncInterface | |||
361 | void receive( const QCString& cmsg, const QByteArray& data ); | 362 | void receive( const QCString& cmsg, const QByteArray& data ); |
362 | void toggleBeamReceive( ); | 363 | void toggleBeamReceive( ); |
363 | void disableBR(bool); | 364 | void disableBR(bool); |
364 | void setJumpButtonBarVisible( bool visible ); | 365 | void setJumpButtonBarVisible( bool visible ); |
365 | void setCaptionBack(); | 366 | void setCaptionBack(); |
366 | void importFromOL(); | 367 | void importFromOL(); |
367 | void extensionModified( const KABC::Addressee::List &list ); | 368 | void extensionModified( const KABC::Addressee::List &list ); |
368 | void extensionChanged( int id ); | 369 | void extensionChanged( int id ); |
369 | void clipboardDataChanged(); | 370 | void clipboardDataChanged(); |
370 | void updateActionMenu(); | 371 | void updateActionMenu(); |
371 | void configureKeyBindings(); | 372 | void configureKeyBindings(); |
372 | void removeVoice(); | 373 | void removeVoice(); |
373 | void setCat(); | ||
374 | void addCat(); | ||
375 | void setCategories( bool removeOld ); | ||
376 | #ifdef KAB_EMBEDDED | 374 | #ifdef KAB_EMBEDDED |
377 | void configureResources(); | 375 | void configureResources(); |
378 | #endif //KAB_EMBEDDED | 376 | #endif //KAB_EMBEDDED |
379 | 377 | ||
380 | void slotEditorDestroyed( const QString &uid ); | 378 | void slotEditorDestroyed( const QString &uid ); |
381 | void configurationChanged(); | 379 | void configurationChanged(); |
382 | void addressBookChanged(); | 380 | void addressBookChanged(); |
383 | 381 | ||
384 | private: | 382 | private: |
385 | bool mBRdisabled; | 383 | bool mBRdisabled; |
386 | #ifndef DESKTOP_VERSION | 384 | #ifndef DESKTOP_VERSION |
387 | QCopChannel* infrared; | 385 | QCopChannel* infrared; |
@@ -445,45 +443,44 @@ class KABCore : public QWidget, public KSyncInterface | |||
445 | KAction *mActionDelete; | 443 | KAction *mActionDelete; |
446 | 444 | ||
447 | //US settings menu | 445 | //US settings menu |
448 | KAction *mActionConfigResources; | 446 | KAction *mActionConfigResources; |
449 | KAction *mActionConfigKAddressbook; | 447 | KAction *mActionConfigKAddressbook; |
450 | KAction *mActionConfigShortcuts; | 448 | KAction *mActionConfigShortcuts; |
451 | KAction *mActionConfigureToolbars; | 449 | KAction *mActionConfigureToolbars; |
452 | KAction *mActionKeyBindings; | 450 | KAction *mActionKeyBindings; |
453 | KToggleAction *mActionJumpBar; | 451 | KToggleAction *mActionJumpBar; |
454 | KToggleAction *mActionDetails; | 452 | KToggleAction *mActionDetails; |
455 | KAction *mActionWhoAmI; | 453 | KAction *mActionWhoAmI; |
456 | KAction *mActionCategories; | 454 | KAction *mActionCategories; |
455 | KAction *mActionManageCategories; | ||
457 | KAction *mActionAboutKAddressbook; | 456 | KAction *mActionAboutKAddressbook; |
458 | KAction *mActionLicence; | 457 | KAction *mActionLicence; |
459 | KAction *mActionFaq; | 458 | KAction *mActionFaq; |
460 | KAction *mActionWN; | 459 | KAction *mActionWN; |
461 | KAction *mActionSyncHowto; | 460 | KAction *mActionSyncHowto; |
462 | KAction *mActionKdeSyncHowto; | 461 | KAction *mActionKdeSyncHowto; |
463 | KAction *mActionMultiSyncHowto; | 462 | KAction *mActionMultiSyncHowto; |
464 | 463 | ||
465 | KAction *mActionDeleteView; | 464 | KAction *mActionDeleteView; |
466 | 465 | ||
467 | QPopupMenu *viewMenu; | 466 | QPopupMenu *viewMenu; |
468 | QPopupMenu *filterMenu; | 467 | QPopupMenu *filterMenu; |
469 | QPopupMenu *settingsMenu; | 468 | QPopupMenu *settingsMenu; |
470 | QPopupMenu *changeMenu; | 469 | QPopupMenu *changeMenu; |
471 | //US QAction *mActionSave; | 470 | //US QAction *mActionSave; |
472 | QPopupMenu *ImportMenu; | 471 | QPopupMenu *ImportMenu; |
473 | QPopupMenu *ExportMenu; | 472 | QPopupMenu *ExportMenu; |
474 | //LR additional methods | 473 | //LR additional methods |
475 | KAction *mActionRemoveVoice; | 474 | KAction *mActionRemoveVoice; |
476 | KAction *mActionSetCat; | ||
477 | KAction *mActionAddCat; | ||
478 | KAction * mActionImportOL; | 475 | KAction * mActionImportOL; |
479 | 476 | ||
480 | #ifndef KAB_EMBEDDED | 477 | #ifndef KAB_EMBEDDED |
481 | KAddressBookService *mAddressBookService; | 478 | KAddressBookService *mAddressBookService; |
482 | #endif //KAB_EMBEDDED | 479 | #endif //KAB_EMBEDDED |
483 | 480 | ||
484 | class KABCorePrivate; | 481 | class KABCorePrivate; |
485 | KABCorePrivate *d; | 482 | KABCorePrivate *d; |
486 | //US bool mBlockSaveFlag; | 483 | //US bool mBlockSaveFlag; |
487 | 484 | ||
488 | #ifdef KAB_EMBEDDED | 485 | #ifdef KAB_EMBEDDED |
489 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient | 486 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient |