-rw-r--r-- | kaddressbook/kabcore.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 39d043f..10ce8f4 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -54,12 +54,13 @@ class XXPortManager; | |||
54 | class JumpButtonBar; | 54 | class JumpButtonBar; |
55 | class IncSearchWidget; | 55 | class IncSearchWidget; |
56 | class KDGanttMinimizeSplitter; | 56 | class KDGanttMinimizeSplitter; |
57 | class KAction; | 57 | class KAction; |
58 | class KActionCollection; | 58 | class KActionCollection; |
59 | class KToggleAction; | 59 | class KToggleAction; |
60 | class KSyncProfile; | ||
60 | 61 | ||
61 | class QAction; | 62 | class QAction; |
62 | class QMenuBar; | 63 | class QMenuBar; |
63 | class QSplitter; | 64 | class QSplitter; |
64 | class ViewContainer; | 65 | class ViewContainer; |
65 | class ViewManager; | 66 | class ViewManager; |
@@ -337,12 +338,13 @@ class KABCore : public QWidget | |||
337 | signals: | 338 | signals: |
338 | void contactSelected( const QString &name ); | 339 | void contactSelected( const QString &name ); |
339 | void contactSelected( const QPixmap &pixmap ); | 340 | void contactSelected( const QPixmap &pixmap ); |
340 | public slots: | 341 | public slots: |
341 | void setDetailsVisible( bool visible ); | 342 | void setDetailsVisible( bool visible ); |
342 | void setDetailsToState(); | 343 | void setDetailsToState(); |
344 | void slotSyncMenu( int ); | ||
343 | private slots: | 345 | private slots: |
344 | void setJumpButtonBarVisible( bool visible ); | 346 | void setJumpButtonBarVisible( bool visible ); |
345 | void importFromOL(); | 347 | void importFromOL(); |
346 | void extensionModified( const KABC::Addressee::List &list ); | 348 | void extensionModified( const KABC::Addressee::List &list ); |
347 | void extensionChanged( int id ); | 349 | void extensionChanged( int id ); |
348 | void clipboardDataChanged(); | 350 | void clipboardDataChanged(); |
@@ -429,13 +431,12 @@ class KABCore : public QWidget | |||
429 | KAction *mActionDeleteView; | 431 | KAction *mActionDeleteView; |
430 | 432 | ||
431 | QPopupMenu *viewMenu; | 433 | QPopupMenu *viewMenu; |
432 | QPopupMenu *filterMenu; | 434 | QPopupMenu *filterMenu; |
433 | QPopupMenu *settingsMenu; | 435 | QPopupMenu *settingsMenu; |
434 | QPopupMenu *changeMenu; | 436 | QPopupMenu *changeMenu; |
435 | |||
436 | //US QAction *mActionSave; | 437 | //US QAction *mActionSave; |
437 | QPopupMenu *ImportMenu; | 438 | QPopupMenu *ImportMenu; |
438 | QPopupMenu *ExportMenu; | 439 | QPopupMenu *ExportMenu; |
439 | //LR additional methods | 440 | //LR additional methods |
440 | KAction *mActionRemoveVoice; | 441 | KAction *mActionRemoveVoice; |
441 | KAction * mActionImportOL; | 442 | KAction * mActionImportOL; |
@@ -443,14 +444,35 @@ class KABCore : public QWidget | |||
443 | #ifndef KAB_EMBEDDED | 444 | #ifndef KAB_EMBEDDED |
444 | KAddressBookService *mAddressBookService; | 445 | KAddressBookService *mAddressBookService; |
445 | #endif //KAB_EMBEDDED | 446 | #endif //KAB_EMBEDDED |
446 | 447 | ||
447 | class KABCorePrivate; | 448 | class KABCorePrivate; |
448 | KABCorePrivate *d; | 449 | KABCorePrivate *d; |
450 | bool mBlockSaveFlag; | ||
449 | 451 | ||
450 | #ifdef KAB_EMBEDDED | 452 | #ifdef KAB_EMBEDDED |
451 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient | 453 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient |
452 | #endif //KAB_EMBEDDED | 454 | #endif //KAB_EMBEDDED |
455 | // LR ******************************* | ||
456 | // sync stuff! | ||
457 | QPopupMenu *syncMenu; | ||
458 | void fillSyncMenu(); | ||
459 | void confSync(); | ||
460 | QString mCurrentSyncDevice; | ||
461 | QString mCurrentSyncName; | ||
462 | void quickSyncLocalFile(); | ||
463 | bool syncWithFile( QString fn , bool quick ); | ||
464 | void KABCore::syncLocalFile(); | ||
465 | void KABCore::syncPhone(); | ||
466 | void KABCore::syncSharp(); | ||
467 | void multiSync( bool askforPrefs ); | ||
468 | int mCurrentSyncProfile ; | ||
469 | void syncRemote( KSyncProfile* prof, bool ask = true); | ||
470 | void edit_sync_options(); | ||
471 | bool syncAB(QString filename, int mode); | ||
472 | int ringSync(); | ||
473 | QString getPassword( ); | ||
474 | // ********************* | ||
453 | 475 | ||
454 | }; | 476 | }; |
455 | 477 | ||
456 | #endif | 478 | #endif |