-rw-r--r-- | kaddressbook/kabcore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 85ffbdb..0d5891e 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -269,24 +269,25 @@ class KABCore : public QWidget, public KSyncInterface | |||
269 | void setModified( bool modified ); | 269 | void setModified( bool modified ); |
270 | 270 | ||
271 | /** | 271 | /** |
272 | Returns whether the address book is modified. | 272 | Returns whether the address book is modified. |
273 | */ | 273 | */ |
274 | bool modified() const; | 274 | bool modified() const; |
275 | 275 | ||
276 | /** | 276 | /** |
277 | Called whenever an contact is modified in the contact editor | 277 | Called whenever an contact is modified in the contact editor |
278 | dialog or the quick edit. | 278 | dialog or the quick edit. |
279 | */ | 279 | */ |
280 | void contactModified( const KABC::Addressee &addr ); | 280 | void contactModified( const KABC::Addressee &addr ); |
281 | void addrModified( const KABC::Addressee &addr, bool updateDetails = true ); | ||
281 | 282 | ||
282 | /** | 283 | /** |
283 | DCOP METHODS. | 284 | DCOP METHODS. |
284 | */ | 285 | */ |
285 | void addEmail( QString addr ); | 286 | void addEmail( QString addr ); |
286 | void importVCard( const KURL& url, bool showPreview ); | 287 | void importVCard( const KURL& url, bool showPreview ); |
287 | void importVCard( const QString& vCard, bool showPreview ); | 288 | void importVCard( const QString& vCard, bool showPreview ); |
288 | void newContact(); | 289 | void newContact(); |
289 | QString getNameByPhone( const QString& phone ); | 290 | QString getNameByPhone( const QString& phone ); |
290 | /** | 291 | /** |
291 | END DCOP METHODS | 292 | END DCOP METHODS |
292 | */ | 293 | */ |
@@ -364,24 +365,25 @@ class KABCore : public QWidget, public KSyncInterface | |||
364 | void receive( const QCString& cmsg, const QByteArray& data ); | 365 | void receive( const QCString& cmsg, const QByteArray& data ); |
365 | void toggleBeamReceive( ); | 366 | void toggleBeamReceive( ); |
366 | void disableBR(bool); | 367 | void disableBR(bool); |
367 | void setJumpButtonBarVisible( bool visible ); | 368 | void setJumpButtonBarVisible( bool visible ); |
368 | void setCaptionBack(); | 369 | void setCaptionBack(); |
369 | void importFromOL(); | 370 | void importFromOL(); |
370 | void extensionModified( const KABC::Addressee::List &list ); | 371 | void extensionModified( const KABC::Addressee::List &list ); |
371 | void extensionChanged( int id ); | 372 | void extensionChanged( int id ); |
372 | void clipboardDataChanged(); | 373 | void clipboardDataChanged(); |
373 | void updateActionMenu(); | 374 | void updateActionMenu(); |
374 | void configureKeyBindings(); | 375 | void configureKeyBindings(); |
375 | void removeVoice(); | 376 | void removeVoice(); |
377 | void setFormattedName(); | ||
376 | #ifdef KAB_EMBEDDED | 378 | #ifdef KAB_EMBEDDED |
377 | void configureResources(); | 379 | void configureResources(); |
378 | #endif //KAB_EMBEDDED | 380 | #endif //KAB_EMBEDDED |
379 | 381 | ||
380 | void slotEditorDestroyed( const QString &uid ); | 382 | void slotEditorDestroyed( const QString &uid ); |
381 | void configurationChanged(); | 383 | void configurationChanged(); |
382 | void addressBookChanged(); | 384 | void addressBookChanged(); |
383 | 385 | ||
384 | private: | 386 | private: |
385 | void resizeEvent(QResizeEvent* e ); | 387 | void resizeEvent(QResizeEvent* e ); |
386 | bool mBRdisabled; | 388 | bool mBRdisabled; |
387 | #ifndef DESKTOP_VERSION | 389 | #ifndef DESKTOP_VERSION |
@@ -468,24 +470,25 @@ class KABCore : public QWidget, public KSyncInterface | |||
468 | KAction *mActionDeleteView; | 470 | KAction *mActionDeleteView; |
469 | 471 | ||
470 | QPopupMenu *viewMenu; | 472 | QPopupMenu *viewMenu; |
471 | QPopupMenu *filterMenu; | 473 | QPopupMenu *filterMenu; |
472 | QPopupMenu *settingsMenu; | 474 | QPopupMenu *settingsMenu; |
473 | QPopupMenu *changeMenu; | 475 | QPopupMenu *changeMenu; |
474 | QPopupMenu *beamMenu; | 476 | QPopupMenu *beamMenu; |
475 | //US QAction *mActionSave; | 477 | //US QAction *mActionSave; |
476 | QPopupMenu *ImportMenu; | 478 | QPopupMenu *ImportMenu; |
477 | QPopupMenu *ExportMenu; | 479 | QPopupMenu *ExportMenu; |
478 | //LR additional methods | 480 | //LR additional methods |
479 | KAction *mActionRemoveVoice; | 481 | KAction *mActionRemoveVoice; |
482 | KAction *mActionSetFormattedName; | ||
480 | KAction * mActionImportOL; | 483 | KAction * mActionImportOL; |
481 | 484 | ||
482 | #ifndef KAB_EMBEDDED | 485 | #ifndef KAB_EMBEDDED |
483 | KAddressBookService *mAddressBookService; | 486 | KAddressBookService *mAddressBookService; |
484 | #endif //KAB_EMBEDDED | 487 | #endif //KAB_EMBEDDED |
485 | 488 | ||
486 | class KABCorePrivate; | 489 | class KABCorePrivate; |
487 | KABCorePrivate *d; | 490 | KABCorePrivate *d; |
488 | //US bool mBlockSaveFlag; | 491 | //US bool mBlockSaveFlag; |
489 | 492 | ||
490 | #ifdef KAB_EMBEDDED | 493 | #ifdef KAB_EMBEDDED |
491 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient | 494 | KAddressBookMain *mMainWindow; // should be the same like mGUIClient |