KSync::ProfileManager Class Reference
ProfileManager keeps track of the Profiles It allows you to retrieve and set the current. More...
#include <profilemanager.h>
Public Member Functions | |
ProfileManager () | |
ProfileManager (const Profile::List &list) | |
~ProfileManager () | |
Profile | currentProfile () const |
void | setCurrentProfile (const Profile &profile) |
Profile::List | profiles () const |
void | setProfiles (const Profile::List &list) |
Profile | byName (const QString &name) |
Profile::List | byName2 (const QString &name) |
Profile | profile (int index) const |
int | count () const |
void | load () |
void | save () |
void | addProfile (const Profile &) |
void | replaceProfile (const Profile &) |
void | removeProfile (const Profile &) |
Detailed Description
ProfileManager keeps track of the Profiles It allows you to retrieve and set the current.remove and add new/old Profiles Load and Save from KConfig
Definition at line 38 of file profilemanager.h.
Constructor & Destructor Documentation
|
Constructs an Empty ProfileManager. Definition at line 26 of file profilemanager.cpp. |
|
Constructs a profile manager from a Profile List. Definition at line 30 of file profilemanager.cpp. |
|
Destructs a profile manager. Definition at line 35 of file profilemanager.cpp. |
Member Function Documentation
|
returns the current active Profile Definition at line 39 of file profilemanager.cpp. |
|
sets the current Profile Definition at line 44 of file profilemanager.cpp. |
|
returns a list of all active profiles Definition at line 49 of file profilemanager.cpp. |
|
set the Manager to use a list of Profiles Definition at line 54 of file profilemanager.cpp. |
|
is finding a Profile by name Definition at line 60 of file profilemanager.cpp. |
|
returns a profile list of of Profiles matching name Definition at line 74 of file profilemanager.cpp. |
|
the count of elements Definition at line 122 of file profilemanager.cpp. |
|
loads a Profile List Definition at line 91 of file profilemanager.cpp. |
|
saves current list including current Profile Definition at line 96 of file profilemanager.cpp. |
|
add a Profile Definition at line 101 of file profilemanager.cpp. |
|
replaces a profile Definition at line 106 of file profilemanager.cpp. |
|
removes a Profile Definition at line 112 of file profilemanager.cpp. |
The documentation for this class was generated from the following files: