kaddressbook
KAddressBookMain Class Reference
#include <kaddressbookmain.h>
Inherits KMainWindow, and KAddressBookIface.
Detailed Description
This class serves as the main window for KAddressBook.It handles the menus, toolbars, and status bars.
Main window class
- Version:
- 0.1
Definition at line 45 of file kaddressbookmain.h.
Public Slots | |
virtual void | addEmail (QString addr) |
virtual void | importVCard (const KURL &url) |
virtual void | importVCardFromData (const QString &vCard) |
virtual ASYNC | showContactEditor (QString uid) |
virtual void | newContact () |
virtual void | newDistributionList () |
virtual QString | getNameByPhone (QString phone) |
virtual void | save () |
virtual void | exit () |
virtual bool | handleCommandLine () |
Public Member Functions | |
KAddressBookMain (const QString &file=QString::null) | |
Protected Member Functions | |
void | initActions () |
void | saveProperties (KConfig *) |
void | readProperties (KConfig *) |
virtual bool | queryClose () |
void | loadProfile (const QString &path) |
void | saveToProfile (const QString &path) const |
Member Function Documentation
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 132 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 136 of file kaddressbookmain.cpp.
The documentation for this class was generated from the following files: