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
Constructor & Destructor Documentation
|
Constructs an Empty ProfileManager.
|
|
Constructs a profile manager from a Profile List.
|
|
Destructs a profile manager.
|
Member Function Documentation
|
returns the current active Profile
|
|
sets the current Profile
|
|
returns a list of all active profiles
|
|
set the Manager to use a list of Profiles
|
|
is finding a Profile by name
|
|
returns a profile list of of Profiles matching name
|
|
the count of elements
|
|
loads a Profile List
|
|
saves current list including current Profile
|
|
add a Profile
|
|
replaces a profile
|
|
removes a Profile
|
The documentation for this class was generated from the following files:
- profilemanager.h
- profilemanager.cpp