Warning, /frameworks/kconfig/autotests/kconfig_compiler/test_dpointer.h.ref is written in an unsupported language. File is not indexed.
0001 // This file is generated by kconfig_compiler_kf6 from test_dpointer.kcfg. 0002 // All changes you do to this file will be lost. 0003 #ifndef TESTDPOINTER_H 0004 #define TESTDPOINTER_H 0005 0006 #include <kconfigskeleton.h> 0007 #include <QCoreApplication> 0008 #include <QDebug> 0009 0010 class TestDPointerPrivate; 0011 0012 class TestDPointer : public KConfigSkeleton 0013 { 0014 public: 0015 class EnumDestination 0016 { 0017 public: 0018 enum type { standardDestination, askDestination, argl1, argl2, argl3, COUNT }; 0019 }; 0020 0021 static TestDPointer *self(); 0022 ~TestDPointer() override; 0023 0024 /** 0025 Set Enable automatic saving of calendar 0026 */ 0027 static 0028 void setAutoSave( bool v ); 0029 0030 /** 0031 Get Enable automatic saving of calendar 0032 */ 0033 static 0034 bool autoSave(); 0035 0036 /** 0037 Is Enable automatic saving of calendar Immutable 0038 */ 0039 static 0040 bool isAutoSaveImmutable(); 0041 0042 /** 0043 Get Item object corresponding to AutoSave() 0044 */ 0045 ItemBool *autoSaveItem(); 0046 0047 /** 0048 Set Auto Save Interval 0049 */ 0050 static 0051 void setAutoSaveInterval( int v ); 0052 0053 /** 0054 Get Auto Save Interval 0055 */ 0056 static 0057 int autoSaveInterval(); 0058 0059 /** 0060 Is Auto Save Interval Immutable 0061 */ 0062 static 0063 bool isAutoSaveIntervalImmutable(); 0064 0065 /** 0066 Get Item object corresponding to AutoSaveInterval() 0067 */ 0068 ItemInt *autoSaveIntervalItem(); 0069 0070 /** 0071 Set Confirm deletes 0072 */ 0073 static 0074 void setConfirm( bool v ); 0075 0076 /** 0077 Get Confirm deletes 0078 */ 0079 static 0080 bool confirm(); 0081 0082 /** 0083 Is Confirm deletes Immutable 0084 */ 0085 static 0086 bool isConfirmImmutable(); 0087 0088 /** 0089 Get Item object corresponding to Confirm() 0090 */ 0091 ItemBool *confirmItem(); 0092 0093 /** 0094 Set Archive File 0095 */ 0096 static 0097 void setArchiveFile( const QString & v ); 0098 0099 /** 0100 Get Archive File 0101 */ 0102 static 0103 QString archiveFile(); 0104 0105 /** 0106 Is Archive File Immutable 0107 */ 0108 static 0109 bool isArchiveFileImmutable(); 0110 0111 /** 0112 Get Item object corresponding to ArchiveFile() 0113 */ 0114 ItemString *archiveFileItem(); 0115 0116 /** 0117 Set New Events/Todos Should 0118 */ 0119 static 0120 void setDestination( int v ); 0121 0122 /** 0123 Get New Events/Todos Should 0124 */ 0125 static 0126 int destination(); 0127 0128 /** 0129 Is New Events/Todos Should Immutable 0130 */ 0131 static 0132 bool isDestinationImmutable(); 0133 0134 /** 0135 Get Item object corresponding to Destination() 0136 */ 0137 ItemEnum *destinationItem(); 0138 0139 /** 0140 Set Hour Size 0141 */ 0142 static 0143 void setHourSize( int v ); 0144 0145 /** 0146 Get Hour Size 0147 */ 0148 static 0149 int hourSize(); 0150 0151 /** 0152 Is Hour Size Immutable 0153 */ 0154 static 0155 bool isHourSizeImmutable(); 0156 0157 /** 0158 Get Item object corresponding to HourSize() 0159 */ 0160 ItemInt *hourSizeItem(); 0161 0162 /** 0163 Set Time range selection in agenda view starts event editor 0164 */ 0165 static 0166 void setSelectionStartsEditor( bool v ); 0167 0168 /** 0169 Get Time range selection in agenda view starts event editor 0170 */ 0171 static 0172 bool selectionStartsEditor(); 0173 0174 /** 0175 Is Time range selection in agenda view starts event editor Immutable 0176 */ 0177 static 0178 bool isSelectionStartsEditorImmutable(); 0179 0180 /** 0181 Get Item object corresponding to SelectionStartsEditor() 0182 */ 0183 ItemBool *selectionStartsEditorItem(); 0184 0185 /** 0186 Set SelectedPlugins 0187 */ 0188 static 0189 void setSelectedPlugins( const QStringList & v ); 0190 0191 /** 0192 Get SelectedPlugins 0193 */ 0194 static 0195 QStringList selectedPlugins(); 0196 0197 /** 0198 Is SelectedPlugins Immutable 0199 */ 0200 static 0201 bool isSelectedPluginsImmutable(); 0202 0203 /** 0204 Get Item object corresponding to SelectedPlugins() 0205 */ 0206 ItemStringList *selectedPluginsItem(); 0207 0208 /** 0209 Set Highlight color 0210 */ 0211 static 0212 void setHighlightColor( const QColor & v ); 0213 0214 /** 0215 Get Highlight color 0216 */ 0217 static 0218 QColor highlightColor(); 0219 0220 /** 0221 Is Highlight color Immutable 0222 */ 0223 static 0224 bool isHighlightColorImmutable(); 0225 0226 /** 0227 Get Item object corresponding to HighlightColor() 0228 */ 0229 ItemColor *highlightColorItem(); 0230 0231 /** 0232 Set Agenda view background color 0233 */ 0234 static 0235 void setAgendaBgColor( const QColor & v ); 0236 0237 /** 0238 Get Agenda view background color 0239 */ 0240 static 0241 QColor agendaBgColor(); 0242 0243 /** 0244 Is Agenda view background color Immutable 0245 */ 0246 static 0247 bool isAgendaBgColorImmutable(); 0248 0249 /** 0250 Get Item object corresponding to AgendaBgColor() 0251 */ 0252 ItemColor *agendaBgColorItem(); 0253 0254 /** 0255 Set Time bar 0256 */ 0257 static 0258 void setTimeBarFont( const QFont & v ); 0259 0260 /** 0261 Get Time bar 0262 */ 0263 static 0264 QFont timeBarFont(); 0265 0266 /** 0267 Is Time bar Immutable 0268 */ 0269 static 0270 bool isTimeBarFontImmutable(); 0271 0272 /** 0273 Get Item object corresponding to TimeBarFont() 0274 */ 0275 ItemFont *timeBarFontItem(); 0276 0277 protected: 0278 TestDPointer(); 0279 friend class TestDPointerHelper; 0280 0281 private: 0282 TestDPointerPrivate *d; 0283 }; 0284 0285 #endif 0286