-rw-r--r-- | kaddressbook/kabcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index ef61d6d..941458d 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -336,146 +336,146 @@ class KABCore : public QWidget, public KSyncInterface | |||
336 | void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); | 336 | void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); |
337 | 337 | ||
338 | 338 | ||
339 | signals: | 339 | signals: |
340 | void contactSelected( const QString &name ); | 340 | void contactSelected( const QString &name ); |
341 | void contactSelected( const QPixmap &pixmap ); | 341 | void contactSelected( const QPixmap &pixmap ); |
342 | public slots: | 342 | public slots: |
343 | void setDetailsVisible( bool visible ); | 343 | void setDetailsVisible( bool visible ); |
344 | void setDetailsToState(); | 344 | void setDetailsToState(); |
345 | // void slotSyncMenu( int ); | 345 | // void slotSyncMenu( int ); |
346 | private slots: | 346 | private slots: |
347 | void setJumpButtonBarVisible( bool visible ); | 347 | void setJumpButtonBarVisible( bool visible ); |
348 | void importFromOL(); | 348 | void importFromOL(); |
349 | void extensionModified( const KABC::Addressee::List &list ); | 349 | void extensionModified( const KABC::Addressee::List &list ); |
350 | void extensionChanged( int id ); | 350 | void extensionChanged( int id ); |
351 | void clipboardDataChanged(); | 351 | void clipboardDataChanged(); |
352 | void updateActionMenu(); | 352 | void updateActionMenu(); |
353 | void configureKeyBindings(); | 353 | void configureKeyBindings(); |
354 | void removeVoice(); | 354 | void removeVoice(); |
355 | #ifdef KAB_EMBEDDED | 355 | #ifdef KAB_EMBEDDED |
356 | void configureResources(); | 356 | void configureResources(); |
357 | #endif //KAB_EMBEDDED | 357 | #endif //KAB_EMBEDDED |
358 | 358 | ||
359 | void slotEditorDestroyed( const QString &uid ); | 359 | void slotEditorDestroyed( const QString &uid ); |
360 | void configurationChanged(); | 360 | void configurationChanged(); |
361 | void addressBookChanged(); | 361 | void addressBookChanged(); |
362 | 362 | ||
363 | private: | 363 | private: |
364 | void initGUI(); | 364 | void initGUI(); |
365 | void initActions(); | 365 | void initActions(); |
366 | 366 | ||
367 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, | 367 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, |
368 | const char *name = 0 ); | 368 | const char *name = 0 ); |
369 | 369 | ||
370 | KXMLGUIClient *mGUIClient; | 370 | KXMLGUIClient *mGUIClient; |
371 | 371 | ||
372 | KABC::AddressBook *mAddressBook; | 372 | KABC::AddressBook *mAddressBook; |
373 | 373 | ||
374 | ViewManager *mViewManager; | 374 | ViewManager *mViewManager; |
375 | // QSplitter *mDetailsSplitter; | 375 | // QSplitter *mDetailsSplitter; |
376 | KDGanttMinimizeSplitter *mExtensionBarSplitter; | 376 | KDGanttMinimizeSplitter *mExtensionBarSplitter; |
377 | ViewContainer *mDetails; | 377 | ViewContainer *mDetails; |
378 | KDGanttMinimizeSplitter* mMiniSplitter; | 378 | KDGanttMinimizeSplitter* mMiniSplitter; |
379 | XXPortManager *mXXPortManager; | 379 | XXPortManager *mXXPortManager; |
380 | JumpButtonBar *mJumpButtonBar; | 380 | JumpButtonBar *mJumpButtonBar; |
381 | IncSearchWidget *mIncSearchWidget; | 381 | IncSearchWidget *mIncSearchWidget; |
382 | ExtensionManager *mExtensionManager; | 382 | ExtensionManager *mExtensionManager; |
383 | 383 | ||
384 | KCMultiDialog *mConfigureDialog; | 384 | KCMultiDialog *mConfigureDialog; |
385 | 385 | ||
386 | #ifndef KAB_EMBEDDED | 386 | #ifndef KAB_EMBEDDED |
387 | LDAPSearchDialog *mLdapSearchDialog; | 387 | LDAPSearchDialog *mLdapSearchDialog; |
388 | #endif //KAB_EMBEDDED | 388 | #endif //KAB_EMBEDDED |
389 | // QDict<AddresseeEditorDialog> mEditorDict; | 389 | // QDict<AddresseeEditorDialog> mEditorDict; |
390 | AddresseeEditorDialog *mEditorDialog; | 390 | AddresseeEditorDialog *mEditorDialog; |
391 | bool mReadWrite; | 391 | bool mReadWrite; |
392 | bool mModified; | 392 | bool mModified; |
393 | bool mIsPart; | 393 | bool mIsPart; |
394 | bool mMultipleViewsAtOnce; | 394 | bool mMultipleViewsAtOnce; |
395 | 395 | ||
396 | 396 | ||
397 | //US file menu | 397 | //US file menu |
398 | KAction *mActionMail; | 398 | KAction *mActionMail; |
399 | KAction *mActionBeam; | 399 | KAction *mActionBeam; |
400 | KAction* mActionPrint; | 400 | KAction* mActionPrint; |
401 | KAction* mActionNewContact; | 401 | KAction* mActionNewContact; |
402 | KAction *mActionSave; | 402 | KAction *mActionSave; |
403 | KAction *mActionEditAddressee; | 403 | KAction *mActionEditAddressee; |
404 | KAction *mActionMailVCard; | 404 | KAction *mActionMailVCard; |
405 | KAction *mActionBeamVCard; | 405 | KAction *mActionBeamVCard; |
406 | 406 | ||
407 | KAction *mActionQuit; | 407 | KAction *mActionQuit; |
408 | 408 | ||
409 | //US edit menu | 409 | //US edit menu |
410 | KAction *mActionCopy; | 410 | KAction *mActionCopy; |
411 | KAction *mActionCut; | 411 | KAction *mActionCut; |
412 | KAction *mActionPaste; | 412 | KAction *mActionPaste; |
413 | KAction *mActionSelectAll; | 413 | KAction *mActionSelectAll; |
414 | KAction *mActionUndo; | 414 | KAction *mActionUndo; |
415 | KAction *mActionRedo; | 415 | KAction *mActionRedo; |
416 | KAction *mActionDelete; | 416 | KAction *mActionDelete; |
417 | 417 | ||
418 | //US settings menu | 418 | //US settings menu |
419 | KAction *mActionConfigResources; | 419 | KAction *mActionConfigResources; |
420 | KAction *mActionConfigKAddressbook; | 420 | KAction *mActionConfigKAddressbook; |
421 | KAction *mActionConfigShortcuts; | 421 | KAction *mActionConfigShortcuts; |
422 | KAction *mActionConfigureToolbars; | 422 | KAction *mActionConfigureToolbars; |
423 | KAction *mActionKeyBindings; | 423 | KAction *mActionKeyBindings; |
424 | KToggleAction *mActionJumpBar; | 424 | KToggleAction *mActionJumpBar; |
425 | KToggleAction *mActionDetails; | 425 | KToggleAction *mActionDetails; |
426 | KAction *mActionWhoAmI; | 426 | KAction *mActionWhoAmI; |
427 | KAction *mActionCategories; | 427 | KAction *mActionCategories; |
428 | KAction *mActionAboutKAddressbook; | 428 | KAction *mActionAboutKAddressbook; |
429 | KAction *mActionLicence; | 429 | KAction *mActionLicence; |
430 | KAction *mActionFaq; | 430 | KAction *mActionFaq; |
431 | 431 | ||
432 | KAction *mActionDeleteView; | 432 | KAction *mActionDeleteView; |
433 | 433 | ||
434 | QPopupMenu *viewMenu; | 434 | QPopupMenu *viewMenu; |
435 | QPopupMenu *filterMenu; | 435 | QPopupMenu *filterMenu; |
436 | QPopupMenu *settingsMenu; | 436 | QPopupMenu *settingsMenu; |
437 | QPopupMenu *changeMenu; | 437 | QPopupMenu *changeMenu; |
438 | //US QAction *mActionSave; | 438 | //US QAction *mActionSave; |
439 | QPopupMenu *ImportMenu; | 439 | QPopupMenu *ImportMenu; |
440 | QPopupMenu *ExportMenu; | 440 | QPopupMenu *ExportMenu; |
441 | //LR additional methods | 441 | //LR additional methods |
442 | KAction *mActionRemoveVoice; | 442 | KAction *mActionRemoveVoice; |
443 | KAction * mActionImportOL; | 443 | KAction * mActionImportOL; |
444 | 444 | ||
445 | #ifndef KAB_EMBEDDED | 445 | #ifndef KAB_EMBEDDED |
446 | KAddressBookService *mAddressBookService; | 446 | KAddressBookService *mAddressBookService; |
447 | #endif //KAB_EMBEDDED | 447 | #endif //KAB_EMBEDDED |
448 | 448 | ||
449 | class KABCorePrivate; | 449 | class KABCorePrivate; |
450 | KABCorePrivate *d; | 450 | KABCorePrivate *d; |
451 | //US bool mBlockSaveFlag; | 451 | //US bool mBlockSaveFlag; |
452 | 452 | ||
453 | #ifdef KAB_EMBEDDED | 453 | #ifdef KAB_EMBEDDED |
454 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient | 454 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient |
455 | #endif //KAB_EMBEDDED | 455 | #endif //KAB_EMBEDDED |
456 | 456 | ||
457 | //this are the overwritten callbackmethods from the syncinterface | 457 | //this are the overwritten callbackmethods from the syncinterface |
458 | virtual bool sync(KSyncManager* manager, QString filename, int mode); | 458 | virtual bool sync(KSyncManager* manager, QString filename, int mode); |
459 | virtual bool syncExternal(KSyncManager* manager, QString resource); | 459 | virtual bool syncExternal(KSyncManager* manager, QString resource); |
460 | 460 | ||
461 | //called by the syncmanager to indicate that the work has to marked as dirty. | 461 | //called by the syncmanager to indicate that the work has to marked as dirty. |
462 | virtual void sync_setModified(); | 462 | virtual void sync_setModified(); |
463 | //called by the syncmanager to ask if the dirty flag is set. | 463 | //called by the syncmanager to ask if the dirty flag is set. |
464 | virtual bool KABCore::sync_isModified(); | 464 | virtual bool sync_isModified(); |
465 | //called by the syncmanager to indicate that the work has to be saved. | 465 | //called by the syncmanager to indicate that the work has to be saved. |
466 | virtual void sync_save(); | 466 | virtual void sync_save(); |
467 | 467 | ||
468 | // LR ******************************* | 468 | // LR ******************************* |
469 | // sync stuff! | 469 | // sync stuff! |
470 | QPopupMenu *syncMenu; | 470 | QPopupMenu *syncMenu; |
471 | KSyncManager* syncManager; | 471 | KSyncManager* syncManager; |
472 | int mGlobalSyncMode; | 472 | int mGlobalSyncMode; |
473 | bool synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBook* remote,int mode); | 473 | bool synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBook* remote,int mode); |
474 | KABC::Addressee getLastSyncAddressee(); | 474 | KABC::Addressee getLastSyncAddressee(); |
475 | QDateTime mLastAddressbookSync; | 475 | QDateTime mLastAddressbookSync; |
476 | int takeAddressee( KABC::Addressee* local, KABC::Addressee* remote, int mode , bool full ); | 476 | int takeAddressee( KABC::Addressee* local, KABC::Addressee* remote, int mode , bool full ); |
477 | // ********************* | 477 | // ********************* |
478 | 478 | ||
479 | }; | 479 | }; |
480 | 480 | ||
481 | #endif | 481 | #endif |