KDE PIM / Developers / API Docs / kitchensync

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

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

Profile::Profile  ) 
 

constructs an empty Profile and generates a uid

Profile::Profile const Profile  ) 
 

copy c'tor

Profile::~Profile  ) 
 

destructs a Profile


Member Function Documentation

QString Profile::name  )  const
 

Returns:
the user given name of the profile

QString Profile::uid  )  const
 

Returns:
the uid of the Profile

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  ) 
 

set the name

Parameters:
name the name of the Profile

void Profile::setUid const QString &  id  ) 
 

set the uid

Parameters:
id the id of the Profile

void Profile::setPixmap const QString &  pix  ) 
 

set the Pixmap name

Parameters:
pix The pixmap

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 &   ) 
 

sets the path map

QMap< QString, QString > Profile::paths  )  const
 

returns the PathMap

void Profile::setConfirmSync bool   ) 
 

set if the user wants to confirm sync

void Profile::setConfirmDelete bool   ) 
 

set if the user wants to confirm deletions

Profile & Profile::operator= const Profile  ) 
 

copy operator;


The documentation for this class was generated from the following files: