-rw-r--r-- | kaddressbook/kabcore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index e6f286b..c9c0d38 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -290,96 +290,97 @@ class KABCore : public QWidget, public KSyncInterface | |||
290 | 290 | ||
291 | /** | 291 | /** |
292 | Undos the last command using the undo stack. | 292 | Undos the last command using the undo stack. |
293 | */ | 293 | */ |
294 | void undo(); | 294 | void undo(); |
295 | 295 | ||
296 | /** | 296 | /** |
297 | Redos the last command that was undone, using the redo stack. | 297 | Redos the last command that was undone, using the redo stack. |
298 | */ | 298 | */ |
299 | void redo(); | 299 | void redo(); |
300 | 300 | ||
301 | /** | 301 | /** |
302 | Shows the edit dialog for the given uid. If the uid is QString::null, | 302 | Shows the edit dialog for the given uid. If the uid is QString::null, |
303 | the method will try to find a selected addressee in the view. | 303 | the method will try to find a selected addressee in the view. |
304 | */ | 304 | */ |
305 | void editContact( const QString &uid /*US = QString::null*/ ); | 305 | void editContact( const QString &uid /*US = QString::null*/ ); |
306 | //US added a second method without defaultparameter | 306 | //US added a second method without defaultparameter |
307 | void editContact2(); | 307 | void editContact2(); |
308 | 308 | ||
309 | /** | 309 | /** |
310 | Shows or edits the detail view for the given uid. If the uid is QString::null, | 310 | Shows or edits the detail view for the given uid. If the uid is QString::null, |
311 | the method will try to find a selected addressee in the view. | 311 | the method will try to find a selected addressee in the view. |
312 | */ | 312 | */ |
313 | void executeContact( const QString &uid /*US = QString::null*/ ); | 313 | void executeContact( const QString &uid /*US = QString::null*/ ); |
314 | 314 | ||
315 | /** | 315 | /** |
316 | Launches the configuration dialog. | 316 | Launches the configuration dialog. |
317 | */ | 317 | */ |
318 | void openConfigDialog(); | 318 | void openConfigDialog(); |
319 | 319 | ||
320 | /** | 320 | /** |
321 | Launches the ldap search dialog. | 321 | Launches the ldap search dialog. |
322 | */ | 322 | */ |
323 | void openLDAPDialog(); | 323 | void openLDAPDialog(); |
324 | 324 | ||
325 | /** | 325 | /** |
326 | Creates a KAddressBookPrinter, which will display the print | 326 | Creates a KAddressBookPrinter, which will display the print |
327 | dialog and do the printing. | 327 | dialog and do the printing. |
328 | */ | 328 | */ |
329 | void print(); | 329 | void print(); |
330 | 330 | ||
331 | /** | 331 | /** |
332 | Registers a new GUI client, so plugins can register its actions. | 332 | Registers a new GUI client, so plugins can register its actions. |
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 | 339 | ||
339 | 340 | ||
340 | signals: | 341 | signals: |
341 | void contactSelected( const QString &name ); | 342 | void contactSelected( const QString &name ); |
342 | void contactSelected( const QPixmap &pixmap ); | 343 | void contactSelected( const QPixmap &pixmap ); |
343 | public slots: | 344 | public slots: |
344 | void setDetailsVisible( bool visible ); | 345 | void setDetailsVisible( bool visible ); |
345 | void setDetailsToState(); | 346 | void setDetailsToState(); |
346 | // void slotSyncMenu( int ); | 347 | // void slotSyncMenu( int ); |
347 | private slots: | 348 | private slots: |
348 | void setJumpButtonBarVisible( bool visible ); | 349 | void setJumpButtonBarVisible( bool visible ); |
349 | void importFromOL(); | 350 | void importFromOL(); |
350 | void extensionModified( const KABC::Addressee::List &list ); | 351 | void extensionModified( const KABC::Addressee::List &list ); |
351 | void extensionChanged( int id ); | 352 | void extensionChanged( int id ); |
352 | void clipboardDataChanged(); | 353 | void clipboardDataChanged(); |
353 | void updateActionMenu(); | 354 | void updateActionMenu(); |
354 | void configureKeyBindings(); | 355 | void configureKeyBindings(); |
355 | void removeVoice(); | 356 | void removeVoice(); |
356 | #ifdef KAB_EMBEDDED | 357 | #ifdef KAB_EMBEDDED |
357 | void configureResources(); | 358 | void configureResources(); |
358 | #endif //KAB_EMBEDDED | 359 | #endif //KAB_EMBEDDED |
359 | 360 | ||
360 | void slotEditorDestroyed( const QString &uid ); | 361 | void slotEditorDestroyed( const QString &uid ); |
361 | void configurationChanged(); | 362 | void configurationChanged(); |
362 | void addressBookChanged(); | 363 | void addressBookChanged(); |
363 | 364 | ||
364 | private: | 365 | private: |
365 | void initGUI(); | 366 | void initGUI(); |
366 | void initActions(); | 367 | void initActions(); |
367 | 368 | ||
368 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, | 369 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, |
369 | const char *name = 0 ); | 370 | const char *name = 0 ); |
370 | 371 | ||
371 | KXMLGUIClient *mGUIClient; | 372 | KXMLGUIClient *mGUIClient; |
372 | 373 | ||
373 | KABC::AddressBook *mAddressBook; | 374 | KABC::AddressBook *mAddressBook; |
374 | 375 | ||
375 | ViewManager *mViewManager; | 376 | ViewManager *mViewManager; |
376 | // QSplitter *mDetailsSplitter; | 377 | // QSplitter *mDetailsSplitter; |
377 | KDGanttMinimizeSplitter *mExtensionBarSplitter; | 378 | KDGanttMinimizeSplitter *mExtensionBarSplitter; |
378 | ViewContainer *mDetails; | 379 | ViewContainer *mDetails; |
379 | KDGanttMinimizeSplitter* mMiniSplitter; | 380 | KDGanttMinimizeSplitter* mMiniSplitter; |
380 | XXPortManager *mXXPortManager; | 381 | XXPortManager *mXXPortManager; |
381 | JumpButtonBar *mJumpButtonBar; | 382 | JumpButtonBar *mJumpButtonBar; |
382 | IncSearchWidget *mIncSearchWidget; | 383 | IncSearchWidget *mIncSearchWidget; |
383 | ExtensionManager *mExtensionManager; | 384 | ExtensionManager *mExtensionManager; |
384 | 385 | ||
385 | KCMultiDialog *mConfigureDialog; | 386 | KCMultiDialog *mConfigureDialog; |