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>
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 &) |
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 39 of file profile.h.
Constructor & Destructor Documentation
|
constructs an empty Profile and generates a uid Definition at line 28 of file profile.cpp. |
|
copy c'tor Definition at line 34 of file profile.cpp. |
|
destructs a Profile Definition at line 39 of file profile.cpp. |
Member Function Documentation
|
|
|
|
|
|
|
Referenced by KSync::ActionPart::confirmBeforeWriting(). |
|
|
|
set the name
|
|
set the uid
|
|
set the Pixmap name
|
|
|
|
set which parts to be loaded
|
|
Parts can save the file location inside a Profile path returns the PATH for a part. Definition at line 118 of file profile.cpp. References path(). Referenced by path(). |
|
sets the path for a partName to path The part name the path Definition at line 103 of file profile.cpp. |
|
sets the path map
|
|
returns the PathMap Definition at line 93 of file profile.cpp. |
|
set if the user wants to confirm sync Definition at line 108 of file profile.cpp. |
|
set if the user wants to confirm deletions Definition at line 113 of file profile.cpp. |
|
copy operator; Definition at line 129 of file profile.cpp. References m_actionPartServices, m_confirmDelete, m_confirmSync, m_map, m_name, m_pixmap, and m_uid. |
The documentation for this class was generated from the following files: