summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kabcore.h
authorzautrix <zautrix>2005-04-03 05:23:33 (UTC)
committer zautrix <zautrix>2005-04-03 05:23:33 (UTC)
commit4017b5fccc188c74e971c573dbb6154ce877807b (patch) (unidiff)
tree5a16af82fade8b5c3698f5d83a3248565ef8b3ff /kaddressbook/kabcore.h
parentf6c8249db564c1276d4c7ed5ad88c6fbac361b8d (diff)
downloadkdepimpi-4017b5fccc188c74e971c573dbb6154ce877807b.zip
kdepimpi-4017b5fccc188c74e971c573dbb6154ce877807b.tar.gz
kdepimpi-4017b5fccc188c74e971c573dbb6154ce877807b.tar.bz2
fixes
Diffstat (limited to 'kaddressbook/kabcore.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index d89daee..4cef73a 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -297,192 +297,193 @@ class KABCore : public QWidget, public KSyncInterface
297 Saves the contents of the AddressBook back to disk. 297 Saves the contents of the AddressBook back to disk.
298 */ 298 */
299 void save(); 299 void save();
300 300
301 /** 301 /**
302 Undos the last command using the undo stack. 302 Undos the last command using the undo stack.
303 */ 303 */
304 void undo(); 304 void undo();
305 305
306 /** 306 /**
307 Redos the last command that was undone, using the redo stack. 307 Redos the last command that was undone, using the redo stack.
308 */ 308 */
309 void redo(); 309 void redo();
310 310
311 /** 311 /**
312 Shows the edit dialog for the given uid. If the uid is QString::null, 312 Shows the edit dialog for the given uid. If the uid is QString::null,
313 the method will try to find a selected addressee in the view. 313 the method will try to find a selected addressee in the view.
314 */ 314 */
315 void editContact( const QString &uid /*US = QString::null*/ ); 315 void editContact( const QString &uid /*US = QString::null*/ );
316//US added a second method without defaultparameter 316//US added a second method without defaultparameter
317 void editContact2(); 317 void editContact2();
318 318
319 /** 319 /**
320 Shows or edits the detail view for the given uid. If the uid is QString::null, 320 Shows or edits the detail view for the given uid. If the uid is QString::null,
321 the method will try to find a selected addressee in the view. 321 the method will try to find a selected addressee in the view.
322 */ 322 */
323 void executeContact( const QString &uid /*US = QString::null*/ ); 323 void executeContact( const QString &uid /*US = QString::null*/ );
324 324
325 /** 325 /**
326 Launches the configuration dialog. 326 Launches the configuration dialog.
327 */ 327 */
328 void openConfigDialog(); 328 void openConfigDialog();
329 329
330 /** 330 /**
331 Launches the ldap search dialog. 331 Launches the ldap search dialog.
332 */ 332 */
333 void openLDAPDialog(); 333 void openLDAPDialog();
334 334
335 /** 335 /**
336 Creates a KAddressBookPrinter, which will display the print 336 Creates a KAddressBookPrinter, which will display the print
337 dialog and do the printing. 337 dialog and do the printing.
338 */ 338 */
339 void print(); 339 void print();
340 340
341 /** 341 /**
342 Registers a new GUI client, so plugins can register its actions. 342 Registers a new GUI client, so plugins can register its actions.
343 */ 343 */
344 void addGUIClient( KXMLGUIClient *client ); 344 void addGUIClient( KXMLGUIClient *client );
345 345
346 void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid); 346 void requestForNameEmailUidList(const QString& sourceChannel, const QString& sessionuid);
347 void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid); 347 void requestForDetails(const QString& sourceChannel, const QString& sessionuid, const QString& name, const QString& email, const QString& uid);
348 void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid); 348 void requestForBirthdayList(const QString& sourceChannel, const QString& sessionuid);
349 349
350 350
351 signals: 351 signals:
352 void contactSelected( const QString &name ); 352 void contactSelected( const QString &name );
353 void contactSelected( const QPixmap &pixmap ); 353 void contactSelected( const QPixmap &pixmap );
354 public slots: 354 public slots:
355 void recieve(QString cmsg ); 355 void recieve(QString cmsg );
356 void getFile( bool success ); 356 void getFile( bool success );
357 void syncFileRequest(); 357 void syncFileRequest();
358 void setDetailsVisible( bool visible ); 358 void setDetailsVisible( bool visible );
359 void setDetailsToState(); 359 void setDetailsToState();
360 360
361 void saveSettings(); 361 void saveSettings();
362 362
363 private slots: 363 private slots:
364 void updateToolBar(); 364 void updateToolBar();
365 void updateMainWindow(); 365 void updateMainWindow();
366 void receive( const QCString& cmsg, const QByteArray& data ); 366 void receive( const QCString& cmsg, const QByteArray& data );
367 void toggleBeamReceive( ); 367 void toggleBeamReceive( );
368 void disableBR(bool); 368 void disableBR(bool);
369 void setJumpButtonBarVisible( bool visible ); 369 void setJumpButtonBarVisible( bool visible );
370 void setJumpButtonBar( bool visible ); 370 void setJumpButtonBar( bool visible );
371 void setCaptionBack(); 371 void setCaptionBack();
372 void resizeAndCallContactdialog(); 372 void resizeAndCallContactdialog();
373 void callContactdialog(); 373 void callContactdialog();
374 374
375 void importFromOL(); 375 void importFromOL();
376 void extensionModified( const KABC::Addressee::List &list ); 376 void extensionModified( const KABC::Addressee::List &list );
377 void extensionChanged( int id ); 377 void extensionChanged( int id );
378 void clipboardDataChanged(); 378 void clipboardDataChanged();
379 void updateActionMenu(); 379 void updateActionMenu();
380 void configureKeyBindings(); 380 void configureKeyBindings();
381 void removeVoice(); 381 void removeVoice();
382 void setFormattedName(); 382 void setFormattedName();
383#ifdef KAB_EMBEDDED 383#ifdef KAB_EMBEDDED
384 void configureResources(); 384 void configureResources();
385#endif //KAB_EMBEDDED 385#endif //KAB_EMBEDDED
386 386
387 void slotEditorDestroyed( const QString &uid ); 387 void slotEditorDestroyed( const QString &uid );
388 void configurationChanged(); 388 void configurationChanged();
389 void addressBookChanged(); 389 void addressBookChanged();
390 390
391 private: 391 private:
392 QString mEmailSourceChannel; 392 QString mEmailSourceChannel;
393 QString mEmailSourceUID;
393 void resizeEvent(QResizeEvent* e ); 394 void resizeEvent(QResizeEvent* e );
394 bool mBRdisabled; 395 bool mBRdisabled;
395#ifndef DESKTOP_VERSION 396#ifndef DESKTOP_VERSION
396 QCopChannel* infrared; 397 QCopChannel* infrared;
397#endif 398#endif
398 QTimer *mMessageTimer; 399 QTimer *mMessageTimer;
399 void initGUI(); 400 void initGUI();
400 void initActions(); 401 void initActions();
401 QString getPhoneFile(); 402 QString getPhoneFile();
402 403
403 AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, 404 AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent,
404 const char *name = 0 ); 405 const char *name = 0 );
405 406
406 KXMLGUIClient *mGUIClient; 407 KXMLGUIClient *mGUIClient;
407 408
408 KABC::AddressBook *mAddressBook; 409 KABC::AddressBook *mAddressBook;
409 410
410 ViewManager *mViewManager; 411 ViewManager *mViewManager;
411 // QSplitter *mDetailsSplitter; 412 // QSplitter *mDetailsSplitter;
412 KDGanttMinimizeSplitter *mExtensionBarSplitter; 413 KDGanttMinimizeSplitter *mExtensionBarSplitter;
413 ViewContainer *mDetails; 414 ViewContainer *mDetails;
414 KDGanttMinimizeSplitter* mMiniSplitter; 415 KDGanttMinimizeSplitter* mMiniSplitter;
415 XXPortManager *mXXPortManager; 416 XXPortManager *mXXPortManager;
416 JumpButtonBar *mJumpButtonBar; 417 JumpButtonBar *mJumpButtonBar;
417 IncSearchWidget *mIncSearchWidget; 418 IncSearchWidget *mIncSearchWidget;
418 ExtensionManager *mExtensionManager; 419 ExtensionManager *mExtensionManager;
419 420
420 KCMultiDialog *mConfigureDialog; 421 KCMultiDialog *mConfigureDialog;
421 422
422#ifndef KAB_EMBEDDED 423#ifndef KAB_EMBEDDED
423 LDAPSearchDialog *mLdapSearchDialog; 424 LDAPSearchDialog *mLdapSearchDialog;
424#endif //KAB_EMBEDDED 425#endif //KAB_EMBEDDED
425 // QDict<AddresseeEditorDialog> mEditorDict; 426 // QDict<AddresseeEditorDialog> mEditorDict;
426 AddresseeEditorDialog *mEditorDialog; 427 AddresseeEditorDialog *mEditorDialog;
427 bool mReadWrite; 428 bool mReadWrite;
428 bool mModified; 429 bool mModified;
429 bool mIsPart; 430 bool mIsPart;
430 bool mMultipleViewsAtOnce; 431 bool mMultipleViewsAtOnce;
431 432
432 433
433 //US file menu 434 //US file menu
434 KAction *mActionMail; 435 KAction *mActionMail;
435 KAction *mActionBeam; 436 KAction *mActionBeam;
436 KToggleAction *mActionBR; 437 KToggleAction *mActionBR;
437 KAction *mActionExport2phone; 438 KAction *mActionExport2phone;
438 KAction* mActionPrint; 439 KAction* mActionPrint;
439 KAction* mActionPrintDetails; 440 KAction* mActionPrintDetails;
440 KAction* mActionNewContact; 441 KAction* mActionNewContact;
441 KAction *mActionSave; 442 KAction *mActionSave;
442 KAction *mActionEditAddressee; 443 KAction *mActionEditAddressee;
443 KAction *mActionMailVCard; 444 KAction *mActionMailVCard;
444 KAction *mActionBeamVCard; 445 KAction *mActionBeamVCard;
445 446
446 KAction *mActionQuit; 447 KAction *mActionQuit;
447 448
448 //US edit menu 449 //US edit menu
449 KAction *mActionCopy; 450 KAction *mActionCopy;
450 KAction *mActionCut; 451 KAction *mActionCut;
451 KAction *mActionPaste; 452 KAction *mActionPaste;
452 KAction *mActionSelectAll; 453 KAction *mActionSelectAll;
453 KAction *mActionUndo; 454 KAction *mActionUndo;
454 KAction *mActionRedo; 455 KAction *mActionRedo;
455 KAction *mActionDelete; 456 KAction *mActionDelete;
456 457
457 //US settings menu 458 //US settings menu
458 KAction *mActionConfigResources; 459 KAction *mActionConfigResources;
459 KAction *mActionConfigKAddressbook; 460 KAction *mActionConfigKAddressbook;
460 KAction *mActionConfigShortcuts; 461 KAction *mActionConfigShortcuts;
461 KAction *mActionConfigureToolbars; 462 KAction *mActionConfigureToolbars;
462 KAction *mActionKeyBindings; 463 KAction *mActionKeyBindings;
463 KToggleAction *mActionJumpBar; 464 KToggleAction *mActionJumpBar;
464 KToggleAction *mActionDetails; 465 KToggleAction *mActionDetails;
465 KAction *mActionWhoAmI; 466 KAction *mActionWhoAmI;
466 KAction *mActionCategories; 467 KAction *mActionCategories;
467 KAction *mActionEditCategories; 468 KAction *mActionEditCategories;
468 KAction *mActionManageCategories; 469 KAction *mActionManageCategories;
469 KAction *mActionAboutKAddressbook; 470 KAction *mActionAboutKAddressbook;
470 KAction *mActionLicence; 471 KAction *mActionLicence;
471 KAction *mActionFaq; 472 KAction *mActionFaq;
472 KAction *mActionWN; 473 KAction *mActionWN;
473 KAction *mActionSyncHowto; 474 KAction *mActionSyncHowto;
474 KAction *mActionKdeSyncHowto; 475 KAction *mActionKdeSyncHowto;
475 KAction *mActionMultiSyncHowto; 476 KAction *mActionMultiSyncHowto;
476 477
477 KAction *mActionDeleteView; 478 KAction *mActionDeleteView;
478 479
479 QPopupMenu *viewMenu; 480 QPopupMenu *viewMenu;
480 QPopupMenu *filterMenu; 481 QPopupMenu *filterMenu;
481 QPopupMenu *settingsMenu; 482 QPopupMenu *settingsMenu;
482 QPopupMenu *changeMenu; 483 QPopupMenu *changeMenu;
483 QPopupMenu *beamMenu; 484 QPopupMenu *beamMenu;
484//US QAction *mActionSave; 485//US QAction *mActionSave;
485 QPopupMenu *ImportMenu; 486 QPopupMenu *ImportMenu;
486 QPopupMenu *ExportMenu; 487 QPopupMenu *ExportMenu;
487 //LR additional methods 488 //LR additional methods
488 KAction *mActionRemoveVoice; 489 KAction *mActionRemoveVoice;