kontact

Kontact::ProfileManager Class Reference

Inherits QObject.

List of all members.


Detailed Description

Definition at line 89 of file profilemanager.h.


Public Types

enum  ImportError { SuccessfulImport = 0, NoValidProfile }
enum  ExportError { SuccessfulExport = 0, DirectoryDoesNotExist, DirectoryNotWritable }

Signals

void profileAdded (const QString &id)
void profileRemoved (const QString &id)
void profileUpdated (const QString &id)
void profileLoaded (const QString &id)
void saveToProfileRequested (const QString &id)
void profileImportFinished (ImportError status)

Public Member Functions

 ~ProfileManager ()
Kontact::Profile profileById (const QString &id) const
bool addProfile (const Kontact::Profile &profile)
void removeProfile (const Kontact::Profile &profile)
void removeProfile (const QString &id)
void updateProfile (const Kontact::Profile &profile)
void loadProfile (const QString &id)
void saveToProfile (const QString &id)
QValueList
< Kontact::Profile
profiles () const
ExportError exportProfileToDirectory (const QString &id, const QString &path)
ImportError importProfileFromDirectory (const QString &path)
QString generateNewId () const

Static Public Member Functions

static ProfileManagerself ()

Member Enumeration Documentation

Enumerator:
SuccessfulImport 
NoValidProfile 

Definition at line 93 of file profilemanager.h.

Enumerator:
SuccessfulExport 
DirectoryDoesNotExist 
DirectoryNotWritable 

Definition at line 98 of file profilemanager.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys