kpilot/kpilot
kpilotConfigWizard_notes.h
00001 // This file is generated by kconfig_compiler from knotesconduit.kcfg. 00002 // All changes you do to this file will be lost. 00003 #ifndef KPILOTWIZARD_NOTESCONFIG_H 00004 #define KPILOTWIZARD_NOTESCONFIG_H 00005 00006 #include <kconfigskeleton.h> 00007 #include <kdebug.h> 00008 00009 class KPilotWizard_notesConfig : public KConfigSkeleton 00010 { 00011 public: 00012 00013 KPilotWizard_notesConfig( ); 00014 ~KPilotWizard_notesConfig(); 00015 00019 void setDeleteNoteForMemo( bool v ) 00020 { 00021 if (!isImmutable( QString::fromLatin1( "DeleteNoteForMemo" ) )) 00022 mDeleteNoteForMemo = v; 00023 } 00024 00028 bool deleteNoteForMemo() const 00029 { 00030 return mDeleteNoteForMemo; 00031 } 00032 00036 ItemBool *deleteNoteForMemoItem() 00037 { 00038 return mDeleteNoteForMemoItem; 00039 } 00040 00044 void setSuppressKNotesConfirm( bool v ) 00045 { 00046 if (!isImmutable( QString::fromLatin1( "SuppressKNotesConfirm" ) )) 00047 mSuppressKNotesConfirm = v; 00048 } 00049 00053 bool suppressKNotesConfirm() const 00054 { 00055 return mSuppressKNotesConfirm; 00056 } 00057 00061 ItemBool *suppressKNotesConfirmItem() 00062 { 00063 return mSuppressKNotesConfirmItem; 00064 } 00065 00069 void setMemoIds( const QValueList<int> & v ) 00070 { 00071 if (!isImmutable( QString::fromLatin1( "MemoIds" ) )) 00072 mMemoIds = v; 00073 } 00074 00078 QValueList<int> memoIds() const 00079 { 00080 return mMemoIds; 00081 } 00082 00086 ItemIntList *memoIdsItem() 00087 { 00088 return mMemoIdsItem; 00089 } 00090 00094 void setNoteIds( const QStringList & v ) 00095 { 00096 if (!isImmutable( QString::fromLatin1( "NoteIds" ) )) 00097 mNoteIds = v; 00098 } 00099 00103 QStringList noteIds() const 00104 { 00105 return mNoteIds; 00106 } 00107 00111 ItemStringList *noteIdsItem() 00112 { 00113 return mNoteIdsItem; 00114 } 00115 00116 protected: 00117 00118 // General 00119 bool mDeleteNoteForMemo; 00120 bool mSuppressKNotesConfirm; 00121 QValueList<int> mMemoIds; 00122 QStringList mNoteIds; 00123 00124 private: 00125 ItemBool *mDeleteNoteForMemoItem; 00126 ItemBool *mSuppressKNotesConfirmItem; 00127 ItemIntList *mMemoIdsItem; 00128 ItemStringList *mNoteIdsItem; 00129 }; 00130 00131 #endif 00132