summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncprofile.h
Unidiff
Diffstat (limited to 'libkdepim/ksyncprofile.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncprofile.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h
index 0039a4b..a81a9ad 100644
--- a/libkdepim/ksyncprofile.h
+++ b/libkdepim/ksyncprofile.h
@@ -42,91 +42,107 @@ class KSyncProfile : public QObject {
42 KSyncProfile* clone(); 42 KSyncProfile* clone();
43 void setDefault(); 43 void setDefault();
44 void readConfig(KConfig *); 44 void readConfig(KConfig *);
45 void writeConfig(KConfig *); 45 void writeConfig(KConfig *);
46 void deleteConfig(KConfig *); 46 void deleteConfig(KConfig *);
47 47
48 void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;} 48 void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;}
49 QString getPreSyncCommand( ) { return mPreSyncCommand; } 49 QString getPreSyncCommand( ) { return mPreSyncCommand; }
50 void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;} 50 void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;}
51 QString getPostSyncCommand( ) { return mPostSyncCommand;} 51 QString getPostSyncCommand( ) { return mPostSyncCommand;}
52 void setLocalTempFile( const QString& n ) { mLocalTempFile= n;} 52 void setLocalTempFile( const QString& n ) { mLocalTempFile= n;}
53 QString getLocalTempFile( ) { return mLocalTempFile;} 53 QString getLocalTempFile( ) { return mLocalTempFile;}
54 void setRemoteFileName( const QString& n ) { mRemoteFileName = n;} 54 void setRemoteFileName( const QString& n ) { mRemoteFileName = n;}
55 QString getRemoteFileName( ) { return mRemoteFileName;} 55 QString getRemoteFileName( ) { return mRemoteFileName;}
56 56
57 void setPreSyncCommandAB( const QString& n ) {mPreSyncCommandAB = n;} 57 void setPreSyncCommandAB( const QString& n ) {mPreSyncCommandAB = n;}
58 QString getPreSyncCommandAB( ) { return mPreSyncCommandAB; } 58 QString getPreSyncCommandAB( ) { return mPreSyncCommandAB; }
59 void setPostSyncCommandAB( const QString& n ) {mPostSyncCommandAB = n;} 59 void setPostSyncCommandAB( const QString& n ) {mPostSyncCommandAB = n;}
60 QString getPostSyncCommandAB( ) { return mPostSyncCommandAB;} 60 QString getPostSyncCommandAB( ) { return mPostSyncCommandAB;}
61 void setLocalTempFileAB( const QString& n ) { mLocalTempFileAB= n;} 61 void setLocalTempFileAB( const QString& n ) { mLocalTempFileAB= n;}
62 QString getLocalTempFileAB( ) { return mLocalTempFileAB;} 62 QString getLocalTempFileAB( ) { return mLocalTempFileAB;}
63 void setRemoteFileNameAB( const QString& n ) { mRemoteFileNameAB = n;} 63 void setRemoteFileNameAB( const QString& n ) { mRemoteFileNameAB = n;}
64 QString getRemoteFileNameAB( ) { return mRemoteFileNameAB;} 64 QString getRemoteFileNameAB( ) { return mRemoteFileNameAB;}
65 65
66 void setPreSyncCommandPWM( const QString& n ) {mPreSyncCommandPWM = n;}
67 QString getPreSyncCommandPWM( ) { return mPreSyncCommandPWM; }
68 void setPostSyncCommandPWM( const QString& n ) {mPostSyncCommandPWM = n;}
69 QString getPostSyncCommandPWM( ) { return mPostSyncCommandPWM;}
70 void setLocalTempFilePWM( const QString& n ) { mLocalTempFilePWM= n;}
71 QString getLocalTempFilePWM( ) { return mLocalTempFilePWM;}
72 void setRemoteFileNamePWM( const QString& n ) { mRemoteFileNamePWM = n;}
73 QString getRemoteFileNamePWM( ) { return mRemoteFileNamePWM;}
74
66 void setPhoneDevice( const QString& n ) { mPhoneDevice = n;} 75 void setPhoneDevice( const QString& n ) { mPhoneDevice = n;}
67 QString getPhoneDevice( ) { return mPhoneDevice;} 76 QString getPhoneDevice( ) { return mPhoneDevice;}
68 void setPhoneConnection( const QString& n ) { mPhoneConnection = n;} 77 void setPhoneConnection( const QString& n ) { mPhoneConnection = n;}
69 QString getPhoneConnection( ) { return mPhoneConnection;} 78 QString getPhoneConnection( ) { return mPhoneConnection;}
70 void setPhoneModel( const QString& n ) { mPhoneModel = n;} 79 void setPhoneModel( const QString& n ) { mPhoneModel = n;}
71 QString getPhoneModel( ) { return mPhoneModel;} 80 QString getPhoneModel( ) { return mPhoneModel;}
72 /* 81 /*
73 void set( const QString& n ) { = n;} 82 void set( const QString& n ) { = n;}
74 QString get( ) { return ;} 83 QString get( ) { return ;}
75 */ 84 */
76 85
77 void setName( const QString& n ) {mName = n;} 86 void setName( const QString& n ) {mName = n;}
78 QString getName( ) { return mName;} 87 QString getName( ) { return mName;}
79 void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;} 88 void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;}
80 bool getShowSummaryAfterSync( ) { return mShowSummaryAfterSync ;} 89 bool getShowSummaryAfterSync( ) { return mShowSummaryAfterSync ;}
81 void setAskForPreferences( bool b ) { mAskForPreferences= b;} 90 void setAskForPreferences( bool b ) { mAskForPreferences= b;}
82 bool getAskForPreferences( ) { return mAskForPreferences;} 91 bool getAskForPreferences( ) { return mAskForPreferences;}
83 void setWriteBackExisting( bool b ) { mWriteBackExisting = b;} 92 void setWriteBackExisting( bool b ) { mWriteBackExisting = b;}
84 bool getWriteBackExisting( ) { return mWriteBackExisting;} 93 bool getWriteBackExisting( ) { return mWriteBackExisting;}
85 void setWriteBackFuture( bool b ) { mWriteBackFuture = b;} 94 void setWriteBackFuture( bool b ) { mWriteBackFuture = b;}
86 bool getWriteBackFuture( ) { return mWriteBackFuture;} 95 bool getWriteBackFuture( ) { return mWriteBackFuture;}
87 void setWriteBackFile( bool b ) { mWriteBackFile= b;} 96 void setWriteBackFile( bool b ) { mWriteBackFile= b;}
88 bool getWriteBackFile( ) { return mWriteBackFile;} 97 bool getWriteBackFile( ) { return mWriteBackFile;}
89 void setWriteContactToSIM( bool b ) { mWriteContactToSIM= b;} 98 void setWriteContactToSIM( bool b ) { mWriteContactToSIM= b;}
90 bool getWriteContactToSIM( ) { return mWriteContactToSIM;} 99 bool getWriteContactToSIM( ) { return mWriteContactToSIM;}
91 void setIncludeInRingSync( bool b ) {mIncludeInRingSync = b;} 100 void setIncludeInRingSync( bool b ) {mIncludeInRingSync = b;}
92 bool getIncludeInRingSync( ) { return mIncludeInRingSync;} 101 bool getIncludeInRingSync( ) { return mIncludeInRingSync;}
93 void setIncludeInRingSyncAB( bool b ) {mIncludeInRingSyncAB = b;} 102 void setIncludeInRingSyncAB( bool b ) {mIncludeInRingSyncAB = b;}
94 bool getIncludeInRingSyncAB( ) { return mIncludeInRingSyncAB;} 103 bool getIncludeInRingSyncAB( ) { return mIncludeInRingSyncAB;}
104 void setIncludeInRingSyncPWM( bool b ) {mIncludeInRingSyncPWM = b;}
105 bool getIncludeInRingSyncPWM( ) { return mIncludeInRingSyncPWM;}
95 void setSyncPrefs( int n ) { mSyncPrefs= n;} 106 void setSyncPrefs( int n ) { mSyncPrefs= n;}
96 int getSyncPrefs( ) { return mSyncPrefs;} 107 int getSyncPrefs( ) { return mSyncPrefs;}
97 void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;} 108 void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;}
98 int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;} 109 int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;}
99 void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;} 110 void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;}
100 bool getIsLocalFileSync( ) { return mIsLocalFileSync;} 111 bool getIsLocalFileSync( ) { return mIsLocalFileSync;}
101 void setIsPhoneSync( bool b ) { mIsPhoneSync= b;} 112 void setIsPhoneSync( bool b ) { mIsPhoneSync= b;}
102 bool getIsPhoneSync( ) { return mIsPhoneSync;} 113 bool getIsPhoneSync( ) { return mIsPhoneSync;}
103 private: 114 private:
104 QString mName; 115 QString mName;
105 QString mPreSyncCommand; 116 QString mPreSyncCommand;
106 QString mPostSyncCommand; 117 QString mPostSyncCommand;
107 QString mLocalTempFile; 118 QString mLocalTempFile;
108 QString mRemoteFileName; 119 QString mRemoteFileName;
109 QString mPreSyncCommandAB; 120 QString mPreSyncCommandAB;
110 QString mPostSyncCommandAB; 121 QString mPostSyncCommandAB;
111 QString mLocalTempFileAB; 122 QString mLocalTempFileAB;
112 QString mRemoteFileNameAB; 123 QString mRemoteFileNameAB;
124 QString mPreSyncCommandPWM;
125 QString mPostSyncCommandPWM;
126 QString mLocalTempFilePWM;
127 QString mRemoteFileNamePWM;
113 128
114 QString mPhoneDevice; 129 QString mPhoneDevice;
115 QString mPhoneConnection; 130 QString mPhoneConnection;
116 QString mPhoneModel; 131 QString mPhoneModel;
117 132
118 bool mIncludeInRingSync; 133 bool mIncludeInRingSync;
119 bool mIncludeInRingSyncAB; 134 bool mIncludeInRingSyncAB;
135 bool mIncludeInRingSyncPWM;
120 int mSyncPrefs; 136 int mSyncPrefs;
121 bool mWriteBackFile; 137 bool mWriteBackFile;
122 bool mWriteBackExisting; 138 bool mWriteBackExisting;
123 bool mWriteBackFuture; 139 bool mWriteBackFuture;
124 int mWriteBackFutureWeeks; 140 int mWriteBackFutureWeeks;
125 bool mAskForPreferences; 141 bool mAskForPreferences;
126 bool mShowSummaryAfterSync; 142 bool mShowSummaryAfterSync;
127 bool mIsLocalFileSync; 143 bool mIsLocalFileSync;
128 bool mIsPhoneSync; 144 bool mIsPhoneSync;
129 bool mWriteContactToSIM; 145 bool mWriteContactToSIM;
130}; 146};
131 147
132#endif 148#endif