kpilot/kpilot
kpilotConfigWizard_vcal.h
00001 // This file is generated by kconfig_compiler from vcalconduitbase.kcfg. 00002 // All changes you do to this file will be lost. 00003 #ifndef KPILOTWIZARD_VCALCONFIG_H 00004 #define KPILOTWIZARD_VCALCONFIG_H 00005 00006 #include <kconfigskeleton.h> 00007 #include <kdebug.h> 00008 00009 class KPilotWizard_vcalConfig : public KConfigSkeleton 00010 { 00011 public: 00012 enum { eCalendarResource, eCalendarLocal }; 00013 00014 KPilotWizard_vcalConfig( const QString & conduit ); 00015 ~KPilotWizard_vcalConfig(); 00016 00020 void setConduitVersion( uint v ) 00021 { 00022 if (!isImmutable( QString::fromLatin1( "ConduitVersion" ) )) 00023 mConduitVersion = v; 00024 } 00025 00029 uint conduitVersion() const 00030 { 00031 return mConduitVersion; 00032 } 00033 00037 ItemUInt *conduitVersionItem() 00038 { 00039 return mConduitVersionItem; 00040 } 00041 00045 void setCalendarType( int v ) 00046 { 00047 if (!isImmutable( QString::fromLatin1( "CalendarType" ) )) 00048 mCalendarType = v; 00049 } 00050 00054 int calendarType() const 00055 { 00056 return mCalendarType; 00057 } 00058 00062 ItemEnum *calendarTypeItem() 00063 { 00064 return mCalendarTypeItem; 00065 } 00066 00070 void setCalendarFile( const QString & v ) 00071 { 00072 if (!isImmutable( QString::fromLatin1( "CalendarFile" ) )) 00073 mCalendarFile = v; 00074 } 00075 00079 QString calendarFile() const 00080 { 00081 return mCalendarFile; 00082 } 00083 00087 ItemPath *calendarFileItem() 00088 { 00089 return mCalendarFileItem; 00090 } 00091 00095 void setSyncArchived( bool v ) 00096 { 00097 if (!isImmutable( QString::fromLatin1( "SyncArchived" ) )) 00098 mSyncArchived = v; 00099 } 00100 00104 bool syncArchived() const 00105 { 00106 return mSyncArchived; 00107 } 00108 00112 ItemBool *syncArchivedItem() 00113 { 00114 return mSyncArchivedItem; 00115 } 00116 00120 void setConflictResolution( int v ) 00121 { 00122 if (!isImmutable( QString::fromLatin1( "ConflictResolution" ) )) 00123 mConflictResolution = v; 00124 } 00125 00129 int conflictResolution() const 00130 { 00131 return mConflictResolution; 00132 } 00133 00137 ItemInt *conflictResolutionItem() 00138 { 00139 return mConflictResolutionItem; 00140 } 00141 00142 protected: 00143 QString mParamconduit; 00144 00145 // $(conduit)-Conduit 00146 uint mConduitVersion; 00147 int mCalendarType; 00148 QString mCalendarFile; 00149 bool mSyncArchived; 00150 int mConflictResolution; 00151 00152 private: 00153 ItemUInt *mConduitVersionItem; 00154 ItemEnum *mCalendarTypeItem; 00155 ItemPath *mCalendarFileItem; 00156 ItemBool *mSyncArchivedItem; 00157 ItemInt *mConflictResolutionItem; 00158 }; 00159 00160 #endif 00161