summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncprofile.h
authorulf69 <ulf69>2004-08-02 17:47:20 (UTC)
committer ulf69 <ulf69>2004-08-02 17:47:20 (UTC)
commitd8b187d8760766416a9527f3e12789198b30840a (patch) (side-by-side diff)
tree20a6c1ea46568761e05c9bad7ea7afda503dc092 /libkdepim/ksyncprofile.h
parentf6a823824e6a8be3d842e99b43dacd495bb02ba4 (diff)
downloadkdepimpi-d8b187d8760766416a9527f3e12789198b30840a.zip
kdepimpi-d8b187d8760766416a9527f3e12789198b30840a.tar.gz
kdepimpi-d8b187d8760766416a9527f3e12789198b30840a.tar.bz2
added changes to support Ka/Pi resources in combination of
syncprofiles. Attention: The old format is not compatible with the new.
Diffstat (limited to 'libkdepim/ksyncprofile.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncprofile.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h
index 300f70f..8995def 100644
--- a/libkdepim/ksyncprofile.h
+++ b/libkdepim/ksyncprofile.h
@@ -38,5 +38,5 @@ class KConfig;
@author Cornelius Schumacher
@see KPref
-
+
This class represents one preferences setting as used by @ref KPrefs.
Subclasses of KPrefsItem implement storage functions for a certain type of
@@ -47,13 +47,15 @@ class KConfig;
class KSyncProfile : public QObject {
public:
- KSyncProfile( const char * name = 0);
+ KSyncProfile( const char * identifier = 0);
~KSyncProfile() ;
-
+
KSyncProfile* clone();
void setDefault();
void readConfig(KConfig *);
void writeConfig(KConfig *);
- void setName( const QString& n ) {mName = n;}
- QString getName( ) { return mName;}
+ void deleteConfig(KConfig *);
+
+ void setIdentifier( const QString& i ) {mIdentifier = i;}
+ QString getIdentifier( ) { return mIdentifier;}
void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;}
QString getPreSyncCommand( ) { return mPreSyncCommand; }
@@ -85,4 +87,6 @@ class KSyncProfile : public QObject {
*/
+ void setName( const QString& n ) {mName = n;}
+ QString getName( ) { return mName;}
void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;}
bool getShowSummaryAfterSync( ) { return mShowSummaryAfterSync ;}
@@ -107,7 +111,7 @@ class KSyncProfile : public QObject {
void setIsPhoneSync( bool b ) { mIsPhoneSync= b;}
bool getIsPhoneSync( ) { return mIsPhoneSync;}
-
private:
QString mName;
+ QString mIdentifier;
QString mPreSyncCommand;
QString mPostSyncCommand;