-rw-r--r-- | kaddressbook/kabcore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index ceeeda7..42b7709 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -325,102 +325,106 @@ class KABCore : public QWidget, public KSyncInterface | |||
325 | 325 | ||
326 | /** | 326 | /** |
327 | Launches the configuration dialog. | 327 | Launches the configuration dialog. |
328 | */ | 328 | */ |
329 | void openConfigDialog(); | 329 | void openConfigDialog(); |
330 | void openConfigGlobalDialog(); | 330 | void openConfigGlobalDialog(); |
331 | 331 | ||
332 | /** | 332 | /** |
333 | Launches the ldap search dialog. | 333 | Launches the ldap search dialog. |
334 | */ | 334 | */ |
335 | void openLDAPDialog(); | 335 | void openLDAPDialog(); |
336 | 336 | ||
337 | /** | 337 | /** |
338 | Creates a KAddressBookPrinter, which will display the print | 338 | Creates a KAddressBookPrinter, which will display the print |
339 | dialog and do the printing. | 339 | dialog and do the printing. |
340 | */ | 340 | */ |
341 | void print(); | 341 | void print(); |
342 | 342 | ||
343 | /** | 343 | /** |
344 | Registers a new GUI client, so plugins can register its actions. | 344 | Registers a new GUI client, so plugins can register its actions. |
345 | */ | 345 | */ |
346 | void addGUIClient( KXMLGUIClient *client ); | 346 | void addGUIClient( KXMLGUIClient *client ); |
347 | 347 | ||
348 | void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid); | 348 | void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid); |
349 | void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); | 349 | void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); |
350 | void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid); | 350 | void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid); |
351 | 351 | ||
352 | 352 | ||
353 | signals: | 353 | signals: |
354 | void contactSelected( const QString &name ); | 354 | void contactSelected( const QString &name ); |
355 | void contactSelected( const QPixmap &pixmap ); | 355 | void contactSelected( const QPixmap &pixmap ); |
356 | public slots: | 356 | public slots: |
357 | void loadDataAfterStart(); | ||
357 | void recieve(QString cmsg ); | 358 | void recieve(QString cmsg ); |
358 | void getFile( bool success ); | 359 | void getFile( bool success ); |
359 | void syncFileRequest(); | 360 | void syncFileRequest(); |
360 | void setDetailsVisible( bool visible ); | 361 | void setDetailsVisible( bool visible ); |
361 | void setDetailsToState(); | 362 | void setDetailsToState(); |
362 | 363 | ||
363 | void saveSettings(); | 364 | void saveSettings(); |
364 | 365 | ||
365 | private slots: | 366 | private slots: |
366 | void updateToolBar(); | 367 | void updateToolBar(); |
367 | void updateMainWindow(); | 368 | void updateMainWindow(); |
368 | void receive( const QCString& cmsg, const QByteArray& data ); | 369 | void receive( const QCString& cmsg, const QByteArray& data ); |
370 | void receiveStart( const QCString& cmsg, const QByteArray& data ); | ||
369 | void toggleBeamReceive( ); | 371 | void toggleBeamReceive( ); |
370 | void disableBR(bool); | 372 | void disableBR(bool); |
371 | void setJumpButtonBarVisible( bool visible ); | 373 | void setJumpButtonBarVisible( bool visible ); |
372 | void setJumpButtonBar( bool visible ); | 374 | void setJumpButtonBar( bool visible ); |
373 | void setCaptionBack(); | 375 | void setCaptionBack(); |
374 | void resizeAndCallContactdialog(); | 376 | void resizeAndCallContactdialog(); |
375 | void callContactdialog(); | 377 | void callContactdialog(); |
376 | void doRingSync(); | 378 | void doRingSync(); |
377 | 379 | ||
378 | void importFromOL(); | 380 | void importFromOL(); |
379 | void extensionModified( const KABC::Addressee::List &list ); | 381 | void extensionModified( const KABC::Addressee::List &list ); |
380 | void extensionChanged( int id ); | 382 | void extensionChanged( int id ); |
381 | void clipboardDataChanged(); | 383 | void clipboardDataChanged(); |
382 | void updateActionMenu(); | 384 | void updateActionMenu(); |
383 | void configureKeyBindings(); | 385 | void configureKeyBindings(); |
384 | void removeVoice(); | 386 | void removeVoice(); |
385 | void setFormattedName(); | 387 | void setFormattedName(); |
386 | #ifdef KAB_EMBEDDED | 388 | #ifdef KAB_EMBEDDED |
387 | void configureResources(); | 389 | void configureResources(); |
388 | #endif //KAB_EMBEDDED | 390 | #endif //KAB_EMBEDDED |
389 | 391 | ||
390 | void slotEditorDestroyed( const QString &uid ); | 392 | void slotEditorDestroyed( const QString &uid ); |
391 | void configurationChanged(); | 393 | void configurationChanged(); |
392 | void addressBookChanged(); | 394 | void addressBookChanged(); |
393 | 395 | ||
394 | private: | 396 | private: |
397 | QCString mCStringMess; | ||
398 | QByteArray mByteData; | ||
395 | QString mEmailSourceChannel; | 399 | QString mEmailSourceChannel; |
396 | QString mEmailSourceUID; | 400 | QString mEmailSourceUID; |
397 | void resizeEvent(QResizeEvent* e ); | 401 | void resizeEvent(QResizeEvent* e ); |
398 | bool mBRdisabled; | 402 | bool mBRdisabled; |
399 | #ifndef DESKTOP_VERSION | 403 | #ifndef DESKTOP_VERSION |
400 | QCopChannel* infrared; | 404 | QCopChannel* infrared; |
401 | #endif | 405 | #endif |
402 | QTimer *mMessageTimer; | 406 | QTimer *mMessageTimer; |
403 | void initGUI(); | 407 | void initGUI(); |
404 | void initActions(); | 408 | void initActions(); |
405 | QString getPhoneFile(); | 409 | QString getPhoneFile(); |
406 | 410 | ||
407 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, | 411 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, |
408 | const char *name = 0 ); | 412 | const char *name = 0 ); |
409 | 413 | ||
410 | KXMLGUIClient *mGUIClient; | 414 | KXMLGUIClient *mGUIClient; |
411 | 415 | ||
412 | KABC::AddressBook *mAddressBook; | 416 | KABC::AddressBook *mAddressBook; |
413 | 417 | ||
414 | ViewManager *mViewManager; | 418 | ViewManager *mViewManager; |
415 | // QSplitter *mDetailsSplitter; | 419 | // QSplitter *mDetailsSplitter; |
416 | KDGanttMinimizeSplitter *mExtensionBarSplitter; | 420 | KDGanttMinimizeSplitter *mExtensionBarSplitter; |
417 | ViewContainer *mDetails; | 421 | ViewContainer *mDetails; |
418 | KDGanttMinimizeSplitter* mMiniSplitter; | 422 | KDGanttMinimizeSplitter* mMiniSplitter; |
419 | XXPortManager *mXXPortManager; | 423 | XXPortManager *mXXPortManager; |
420 | JumpButtonBar *mJumpButtonBar; | 424 | JumpButtonBar *mJumpButtonBar; |
421 | IncSearchWidget *mIncSearchWidget; | 425 | IncSearchWidget *mIncSearchWidget; |
422 | ExtensionManager *mExtensionManager; | 426 | ExtensionManager *mExtensionManager; |
423 | 427 | ||
424 | KCMultiDialog *mConfigureDialog; | 428 | KCMultiDialog *mConfigureDialog; |
425 | 429 | ||
426 | #ifndef KAB_EMBEDDED | 430 | #ifndef KAB_EMBEDDED |