kaddressbook
KABCore Class Reference
Inheritance diagram for KABCore:

Detailed Description
Definition at line 74 of file kabcore.h.
Public Slots | |
void | setContactSelected (const QString &uid) |
void | sendMail () |
void | sendMail (const QString &email) |
void | mailVCard () |
void | mailVCard (const QStringList &uids) |
void | startChat () |
void | browse (const QString &url) |
void | selectAllContacts () |
void | deleteContacts () |
void | deleteContacts (const QStringList &uids) |
void | copyContacts () |
void | cutContacts () |
void | pasteContacts () |
void | pasteContacts (KABC::Addressee::List &list) |
void | mergeContacts () |
void | setWhoAmI () |
void | setCategories () |
void | incrementalTextSearch (const QString &text) |
void | incrementalJumpButtonSearch (const QString &characters) |
void | setModified () |
void | setModified (bool modified) |
bool | modified () const |
void | contactModified (const KABC::Addressee &addr) |
virtual void | addEmail (const QString &addr) |
virtual void | importVCard (const KURL &url) |
virtual void | importVCard (const QString &vCardURL) |
virtual void | newContact () |
virtual QString | getNameByPhone (const QString &phone) |
bool | handleCommandLine (KAddressBookIface *iface) |
void | save () |
void | editContact (const QString &uid=QString::null) |
void | storeContactIn (const QString &uid=QString::null) |
void | openLDAPDialog () |
void | configure () |
void | print () |
void | detailsHighlighted (const QString &) |
void | showContactsAddress (const QString &uid) |
void | configurationChanged () |
bool | queryClose () |
void | reinitXMLGUI () |
Public Member Functions | |
KABCore (KXMLGUIClient *client, bool readWrite, QWidget *parent, const QString &file=QString::null, const char *name=0) | |
~KABCore () | |
void | restoreSettings () |
void | saveSettings () |
KABC::AddressBook * | addressBook () const |
KConfig * | config () const |
KActionCollection * | actionCollection () const |
KABC::Field * | currentSortField () const |
QStringList | selectedUIDs () const |
KABC::Resource * | requestResource (QWidget *parent) |
QWidget * | widget () const |
void | setStatusBar (KStatusBar *statusBar) |
KStatusBar * | statusBar () const |
KAB::SearchManager * | searchManager () const |
KCommandHistory * | commandHistory () const |
Static Public Member Functions | |
static KAboutData * | createAboutData () |
Member Function Documentation
|
Returns a pointer to the global KActionCollection object. So other classes can register their actions easily. Implements KAB::Core. Definition at line 253 of file kabcore.cpp. |
|
DCOP METHOD: Adds the given email address to address book.
Implements KAB::Core. Definition at line 606 of file kabcore.cpp. |
|
Returns a pointer to the StdAddressBook of the application.
Implements KAB::Core. Definition at line 243 of file kabcore.cpp. |
|
Starts the preferred web browser with the given URL as argument.
Definition at line 386 of file kabcore.cpp. |
|
Returns a pointer to the KConfig object of the application.
Implements KAB::Core. Definition at line 248 of file kabcore.cpp. |
|
Opens the settings dialog.
Definition at line 875 of file kabcore.cpp. |
|
Called whenever an contact is modified in the contact editor dialog or the quick edit.
Definition at line 563 of file kabcore.cpp. |
|
Copys the selected contacts into clipboard for later pasting.
Definition at line 429 of file kabcore.cpp. |
|
Returns the current sort field of the view.
Implements KAB::Core. Definition at line 258 of file kabcore.cpp. |
|
Cuts the selected contacts and stores them for later pasting.
Definition at line 441 of file kabcore.cpp. |
|
Deletes given contacts from the address book.
Implements KAB::Core. Definition at line 403 of file kabcore.cpp. |
|
Deletes all selected contacts from the address book.
Definition at line 396 of file kabcore.cpp. |
|
Shows the edit dialog for the given uid. If the uid is QString::null, the method will try to find a selected addressee in the view. Implements KAB::Core. Definition at line 657 of file kabcore.cpp. |
|
DCOP METHOD: Returns the name of the contact, that matches the given phone number.
Implements KAB::Core. Definition at line 815 of file kabcore.cpp. |
|
DCOP METHOD: Handle command line arguments, return true if handled and false if no args was given. The iface is either the mainwin or the part. Definition at line 1305 of file kabcore.cpp. |
|
DCOP METHOD: Imports the given vCard.
Implements KAB::Core. Definition at line 652 of file kabcore.cpp. |
|
DCOP METHOD: Imports the vCard, located at the given url.
Implements KAB::Core. Definition at line 647 of file kabcore.cpp. |
|
Search with the current search field for a contact, that matches the given text, and selects it in the view.
Definition at line 520 of file kabcore.cpp. |
|
Merge the selected contacts in a single one.
Definition at line 479 of file kabcore.cpp. |
|
Returns whether the address book is modified.
Definition at line 558 of file kabcore.cpp. |
|
DCOP METHOD: Opens contact editor to input a new contact.
Implements KAB::Core. Definition at line 583 of file kabcore.cpp. |
|
Launches the ldap search dialog.
Definition at line 853 of file kabcore.cpp. |
|
Paste given contacts into the address book.
Definition at line 462 of file kabcore.cpp. |
|
Paste contacts from clipboard into the address book.
Definition at line 453 of file kabcore.cpp. |
|
Creates a KAddressBookPrinter, which will display the print dialog and do the printing.
Definition at line 891 of file kabcore.cpp. |
|
Is called whenever the xmlgui has to be rebuild after a part switch.
Definition at line 957 of file kabcore.cpp. |
|
Displays the ResourceSelectDialog and returns the selected resource or a null pointer if no resource was selected by the user.
Implements KAB::Core. Definition at line 268 of file kabcore.cpp. |
|
Restores the global settings.
Definition at line 197 of file kabcore.cpp. |
|
Saves the contents of the AddressBook back to disk.
Definition at line 735 of file kabcore.cpp. |
|
Saves the global settings.
Definition at line 229 of file kabcore.cpp. |
|
Select all contacts in the view.
Definition at line 391 of file kabcore.cpp. |
|
Returns the uid list of the currently selected contacts.
Implements KAB::Core. Definition at line 263 of file kabcore.cpp. |
|
Opens the preferred mail composer with the given contacts as arguments.
Definition at line 362 of file kabcore.cpp. |
|
Opens the preferred mail composer with all selected contacts as arguments.
Definition at line 357 of file kabcore.cpp. |
|
Displays the category dialog and applies the result to all selected contacts.
Definition at line 1226 of file kabcore.cpp. |
|
Is called whenever a contact is selected in the view.
Implements KAB::Core. Definition at line 326 of file kabcore.cpp. |
|
Marks the address book as modified concerning the argument.
Definition at line 550 of file kabcore.cpp. |
|
Marks the address book as modified.
Definition at line 545 of file kabcore.cpp. |
|
Sets the whoAmI contact, that is used by many other programs to get personal information about the current user.
Definition at line 506 of file kabcore.cpp. |
|
Start an Instant Messaging chat with the selected contacts.
Definition at line 379 of file kabcore.cpp. |
|
Let the user chose a different resource for the selected contacts. If the adding to the new resource is successfull, the contact is removed from the old one. Definition at line 702 of file kabcore.cpp. |
|
Returns the parent widget.
Implements KAB::Core. Definition at line 288 of file kabcore.cpp. |
The documentation for this class was generated from the following files: