kaddressbook
KAddressBookMain Class Reference
#include <kaddressbookmain.h>
Inheritance diagram for KAddressBookMain:

Detailed Description
This class serves as the main window for KAddressBook.Main window class.It handles the menus, toolbars, and status bars.
- Version:
- 0.1
Definition at line 45 of file kaddressbookmain.h.
Public Slots | |
virtual void | addEmail (QString addr) |
virtual void | importVCard (const QString &vCardURL) |
virtual ASYNC | showContactEditor (QString uid) |
virtual void | newContact () |
virtual QString | getNameByPhone (QString phone) |
virtual void | save () |
virtual void | exit () |
virtual bool | handleCommandLine () |
Public Member Functions | |
KAddressBookMain (const QString &file=QString::null) | |
virtual | ~KAddressBookMain () |
Protected Member Functions | |
void | initActions () |
void | saveProperties (KConfig *) |
void | readProperties (KConfig *) |
virtual bool | queryClose () |
Member Function Documentation
void KAddressBookMain::newContact | ( | ) | [virtual, slot] |
Show's dialog for creation of a new contact.
Returns once a contact is created (or canceled).
Implements KAddressBookIface.
Definition at line 97 of file kaddressbookmain.cpp.
QString KAddressBookMain::getNameByPhone | ( | QString | phone | ) | [virtual, slot] |
Save changes to the address book files.
Implements KAddressBookIface.
Definition at line 102 of file kaddressbookmain.cpp.
bool KAddressBookMain::handleCommandLine | ( | ) | [virtual, slot] |
Internal, DCOP-enabled for the kontact plugin.
Return true if handled, false if command-line was empty.
Implements KAddressBookIface.
Definition at line 117 of file kaddressbookmain.cpp.
void KAddressBookMain::saveProperties | ( | KConfig * | ) | [protected] |
This function is called when it is time for the app to save its properties for session management purposes.
Definition at line 122 of file kaddressbookmain.cpp.
void KAddressBookMain::readProperties | ( | KConfig * | ) | [protected] |
This function is called when this app is restored.
The KConfig object points to the session management config file that was saved with saveProperties
Definition at line 126 of file kaddressbookmain.cpp.
The documentation for this class was generated from the following files: