kitchensync
KSync::Profile Class Reference
#include <profile.h>
Detailed Description
A Profile keeps user settings like a name, the list of plugins to be loaded on activation, a list of where to read data from....
Definition at line 38 of file profile.h.
Public Types | |
| typedef QMap< QString, QString > | PathMap |
| typedef QValueList< Profile > | List |
Public Member Functions | |
| bool | operator== (const Profile &) |
| Profile () | |
| Profile (const Profile &) | |
| ~Profile () | |
| QString | name () const |
| QString | uid () const |
| QString | pixmap () const |
| bool | confirmSync () const |
| bool | confirmDelete () const |
| void | setName (const QString &name) |
| void | setUid (const QString &id) |
| void | setPixmap (const QString &pix) |
| ActionPartService::List | actionParts () const |
| void | setActionParts (const ActionPartService::List &lst) |
| QString | path (const QString &partName) const |
| void | setPath (const QString &partName, const QString &path) |
| void | setPaths (const PathMap &) |
| PathMap | paths () const |
| void | setConfirmSync (bool) |
| void | setConfirmDelete (bool) |
| Profile & | operator= (const Profile &) |
Constructor & Destructor Documentation
| Profile::Profile | ( | ) |
| Profile::Profile | ( | const Profile & | ) |
| Profile::~Profile | ( | ) |
Member Function Documentation
| QString Profile::name | ( | ) | const |
| QString Profile::uid | ( | ) | const |
| QString Profile::pixmap | ( | ) | const |
| bool Profile::confirmSync | ( | ) | const |
- Returns:
- if the write back should be confirmed by the user
Definition at line 63 of file profile.cpp.
| bool Profile::confirmDelete | ( | ) | const |
- Returns:
- if the deletion of Entries should be confirmed by the user
Definition at line 58 of file profile.cpp.
| void Profile::setName | ( | const QString & | name | ) |
| void Profile::setUid | ( | const QString & | id | ) |
| void Profile::setPixmap | ( | const QString & | pix | ) |
| ActionPartService::List Profile::actionParts | ( | ) | const |
| void KSync::Profile::setActionParts | ( | const ActionPartService::List & | lst | ) |
set which parts to be loaded
- Parameters:
-
lst The list of ActionPartServices
| QString Profile::path | ( | const QString & | partName | ) | const |
Parts can save the file location inside a Profile path returns the PATH for a part.
Definition at line 118 of file profile.cpp.
| void Profile::setPath | ( | const QString & | partName, | |
| const QString & | path | |||
| ) |
sets the path for a partName to path
- Parameters:
-
partName The part name path the path
Definition at line 103 of file profile.cpp.
| void Profile::setPaths | ( | const PathMap & | ) |
| QMap< QString, QString > Profile::paths | ( | ) | const |
| void Profile::setConfirmSync | ( | bool | ) |
| void Profile::setConfirmDelete | ( | bool | ) |
The documentation for this class was generated from the following files:

