-rw-r--r-- | libkdepim/ksyncprofile.h | 16 |
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 @@ -39,3 +39,3 @@ class KConfig; @see KPref - + This class represents one preferences setting as used by @ref KPrefs. @@ -48,5 +48,5 @@ class KSyncProfile : public QObject { public: - KSyncProfile( const char * name = 0); + KSyncProfile( const char * identifier = 0); ~KSyncProfile() ; - + KSyncProfile* clone(); @@ -55,4 +55,6 @@ class KSyncProfile : public QObject { 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;} @@ -86,2 +88,4 @@ class KSyncProfile : public QObject { + void setName( const QString& n ) {mName = n;} + QString getName( ) { return mName;} void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;} @@ -108,5 +112,5 @@ class KSyncProfile : public QObject { bool getIsPhoneSync( ) { return mIsPhoneSync;} - private: QString mName; + QString mIdentifier; QString mPreSyncCommand; |