summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kabcore.h
Unidiff
Diffstat (limited to 'kaddressbook/kabcore.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index c9c0d38..355e828 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -333,24 +333,25 @@ class KABCore : public QWidget, public KSyncInterface
333 */ 333 */
334 void addGUIClient( KXMLGUIClient *client ); 334 void addGUIClient( KXMLGUIClient *client );
335 335
336 void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid); 336 void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid);
337 void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); 337 void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid);
338 void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid); 338 void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid);
339 339
340 340
341 signals: 341 signals:
342 void contactSelected( const QString &name ); 342 void contactSelected( const QString &name );
343 void contactSelected( const QPixmap &pixmap ); 343 void contactSelected( const QPixmap &pixmap );
344 public slots: 344 public slots:
345 void getFile( bool success );
345 void setDetailsVisible( bool visible ); 346 void setDetailsVisible( bool visible );
346 void setDetailsToState(); 347 void setDetailsToState();
347 // void slotSyncMenu( int ); 348 // void slotSyncMenu( int );
348 private slots: 349 private slots:
349 void setJumpButtonBarVisible( bool visible ); 350 void setJumpButtonBarVisible( bool visible );
350 void importFromOL(); 351 void importFromOL();
351 void extensionModified( const KABC::Addressee::List &list ); 352 void extensionModified( const KABC::Addressee::List &list );
352 void extensionChanged( int id ); 353 void extensionChanged( int id );
353 void clipboardDataChanged(); 354 void clipboardDataChanged();
354 void updateActionMenu(); 355 void updateActionMenu();
355 void configureKeyBindings(); 356 void configureKeyBindings();
356 void removeVoice(); 357 void removeVoice();
@@ -452,30 +453,24 @@ class KABCore : public QWidget, public KSyncInterface
452 class KABCorePrivate; 453 class KABCorePrivate;
453 KABCorePrivate *d; 454 KABCorePrivate *d;
454 //US bool mBlockSaveFlag; 455 //US bool mBlockSaveFlag;
455 456
456#ifdef KAB_EMBEDDED 457#ifdef KAB_EMBEDDED
457 KAddressBookMain *mMainWindow; // should be the same like mGUIClient 458 KAddressBookMain *mMainWindow; // should be the same like mGUIClient
458#endif //KAB_EMBEDDED 459#endif //KAB_EMBEDDED
459 460
460 //this are the overwritten callbackmethods from the syncinterface 461 //this are the overwritten callbackmethods from the syncinterface
461 virtual bool sync(KSyncManager* manager, QString filename, int mode); 462 virtual bool sync(KSyncManager* manager, QString filename, int mode);
462 virtual bool syncExternal(KSyncManager* manager, QString resource); 463 virtual bool syncExternal(KSyncManager* manager, QString resource);
463 464
464 //called by the syncmanager to indicate that the work has to marked as dirty.
465 virtual void sync_setModified();
466 //called by the syncmanager to ask if the dirty flag is set.
467 virtual bool sync_isModified();
468 //called by the syncmanager to indicate that the work has to be saved.
469 virtual void sync_save();
470 465
471 // LR ******************************* 466 // LR *******************************
472 // sync stuff! 467 // sync stuff!
473 QPopupMenu *syncMenu; 468 QPopupMenu *syncMenu;
474 KSyncManager* syncManager; 469 KSyncManager* syncManager;
475 int mGlobalSyncMode; 470 int mGlobalSyncMode;
476 bool synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBook* remote,int mode); 471 bool synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBook* remote,int mode);
477 KABC::Addressee getLastSyncAddressee(); 472 KABC::Addressee getLastSyncAddressee();
478 QDateTime mLastAddressbookSync; 473 QDateTime mLastAddressbookSync;
479 int takeAddressee( KABC::Addressee* local, KABC::Addressee* remote, int mode , bool full ); 474 int takeAddressee( KABC::Addressee* local, KABC::Addressee* remote, int mode , bool full );
480 // ********************* 475 // *********************
481 476