kitchensync
KSync::Profile Class Reference
#include <profile.h>
List of all members.
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.
Constructor & Destructor Documentation
Profile::Profile |
( |
const Profile & |
|
) |
|
Member Function Documentation
- Returns:
- the ActionParts to be loaded for the profile
Definition at line 88 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.
bool Profile::confirmSync |
( |
|
) |
const |
- Returns:
- if the write back should be confirmed by the user
Definition at line 63 of file profile.cpp.
QString Profile::name |
( |
|
) |
const |
- Returns:
- the user given name of the profile
Definition at line 43 of file profile.cpp.
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.
QMap< QString, QString > Profile::paths |
( |
|
) |
const |
QString Profile::pixmap |
( |
|
) |
const |
- Returns:
- a name of a Pixmap the use chose to associate
Definition at line 53 of file profile.cpp.
set which parts to be loaded
- Parameters:
-
| lst | The list of ActionPartServices |
Definition at line 83 of file profile.cpp.
void Profile::setConfirmDelete |
( |
bool |
|
) |
|
set if the user wants to confirm deletions
Definition at line 113 of file profile.cpp.
void Profile::setConfirmSync |
( |
bool |
|
) |
|
set if the user wants to confirm sync
Definition at line 108 of file profile.cpp.
void Profile::setName |
( |
const QString & |
name |
) |
|
set the name
- Parameters:
-
Definition at line 68 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 & |
|
) |
|
void Profile::setPixmap |
( |
const QString & |
pix |
) |
|
set the Pixmap name
- Parameters:
-
Definition at line 73 of file profile.cpp.
void Profile::setUid |
( |
const QString & |
id |
) |
|
set the uid
- Parameters:
-
Definition at line 78 of file profile.cpp.
QString Profile::uid |
( |
|
) |
const |
The documentation for this class was generated from the following files: