KSync::Profile Class Reference
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.
More...
#include <profile.h>
List of all members.
Public Types
-
typedef QMap< QString, QString > PathMap
-
typedef QValueList< Profile > List
Public Member Functions
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.
...
Constructor & Destructor Documentation
|
constructs an empty Profile and generates a uid
|
Profile::Profile |
( |
const Profile & |
|
) |
|
|
Member Function Documentation
QString Profile::name |
( |
|
) |
const |
|
|
- Returns:
- the user given name of the profile
|
QString Profile::uid |
( |
|
) |
const |
|
QString Profile::pixmap |
( |
|
) |
const |
|
|
- Returns:
- a name of a Pixmap the use chose to associate
|
bool Profile::confirmSync |
( |
|
) |
const |
|
|
- Returns:
- if the write back should be confirmed by the user
|
bool Profile::confirmDelete |
( |
|
) |
const |
|
|
- Returns:
- if the deletion of Entries should be confirmed by the user
|
void Profile::setName |
( |
const QString & |
name |
) |
|
|
void Profile::setUid |
( |
const QString & |
id |
) |
|
|
void Profile::setPixmap |
( |
const QString & |
pix |
) |
|
|
|
set the Pixmap name
- Parameters:
-
|
ActionPartService::List Profile::actionParts |
( |
|
) |
const |
|
|
- Returns:
- the ActionParts to be loaded for the profile
|
void 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.
|
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 |
|
void Profile::setPaths |
( |
const PathMap & |
|
) |
|
|
QMap< QString, QString > Profile::paths |
( |
|
) |
const |
|
void Profile::setConfirmSync |
( |
bool |
|
) |
|
|
|
set if the user wants to confirm sync
|
void Profile::setConfirmDelete |
( |
bool |
|
) |
|
|
|
set if the user wants to confirm deletions
|
The documentation for this class was generated from the following files: