aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test11.h.ref
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfig_compiler/test11.h.ref')
-rw-r--r--autotests/kconfig_compiler/test11.h.ref150
1 files changed, 135 insertions, 15 deletions
diff --git a/autotests/kconfig_compiler/test11.h.ref b/autotests/kconfig_compiler/test11.h.ref
index 2acbe9e5..786858dc 100644
--- a/autotests/kconfig_compiler/test11.h.ref
+++ b/autotests/kconfig_compiler/test11.h.ref
@@ -30,7 +30,7 @@ class Test11 : public MyPrefs
*/
void setAutoSave( bool v )
{
- if (!isImmutable( QStringLiteral( "AutoSave" ) ))
+ if (!isAutoSaveImmutable())
mAutoSave = v;
}
@@ -43,6 +43,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Enable automatic saving of calendar Immutable
+ */
+ bool isAutoSaveImmutable() const
+ {
+ return isImmutable( QStringLiteral( "AutoSave" ) );
+ }
+
+ /**
Get Enable automatic saving of calendar default value
*/
bool defaultAutoSaveValue() const
@@ -63,7 +71,7 @@ class Test11 : public MyPrefs
*/
void setAutoSaveInterval( int v )
{
- if (!isImmutable( QStringLiteral( "AutoSaveInterval" ) ))
+ if (!isAutoSaveIntervalImmutable())
mAutoSaveInterval = v;
}
@@ -76,6 +84,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Auto Save Interval Immutable
+ */
+ bool isAutoSaveIntervalImmutable() const
+ {
+ return isImmutable( QStringLiteral( "AutoSaveInterval" ) );
+ }
+
+ /**
Get Auto Save Interval default value
*/
int defaultAutoSaveIntervalValue() const
@@ -96,7 +112,7 @@ class Test11 : public MyPrefs
*/
void setConfirm( bool v )
{
- if (!isImmutable( QStringLiteral( "Confirm" ) ))
+ if (!isConfirmImmutable())
mConfirm = v;
}
@@ -109,6 +125,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Confirm deletes Immutable
+ */
+ bool isConfirmImmutable() const
+ {
+ return isImmutable( QStringLiteral( "Confirm" ) );
+ }
+
+ /**
Get Confirm deletes default value
*/
bool defaultConfirmValue() const
@@ -129,7 +153,7 @@ class Test11 : public MyPrefs
*/
void setArchiveFile( const QString & v )
{
- if (!isImmutable( QStringLiteral( "ArchiveFile" ) ))
+ if (!isArchiveFileImmutable())
mArchiveFile = v;
}
@@ -142,6 +166,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Archive File Immutable
+ */
+ bool isArchiveFileImmutable() const
+ {
+ return isImmutable( QStringLiteral( "ArchiveFile" ) );
+ }
+
+ /**
Get Item object corresponding to ArchiveFile()
*/
ItemString *archiveFileItem()
@@ -154,7 +186,7 @@ class Test11 : public MyPrefs
*/
void setDestination( EnumDestination::type v )
{
- if (!isImmutable( QStringLiteral( "Destination" ) ))
+ if (!isDestinationImmutable())
mDestination = v;
}
@@ -167,6 +199,14 @@ class Test11 : public MyPrefs
}
/**
+ Is New Events/Todos Should Immutable
+ */
+ bool isDestinationImmutable() const
+ {
+ return isImmutable( QStringLiteral( "Destination" ) );
+ }
+
+ /**
Get New Events/Todos Should default value
*/
EnumDestination::type defaultDestinationValue() const
@@ -187,7 +227,7 @@ class Test11 : public MyPrefs
*/
void setHourSize( int v )
{
- if (!isImmutable( QStringLiteral( "HourSize" ) ))
+ if (!isHourSizeImmutable())
mHourSize = v;
}
@@ -200,6 +240,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Hour Size Immutable
+ */
+ bool isHourSizeImmutable() const
+ {
+ return isImmutable( QStringLiteral( "HourSize" ) );
+ }
+
+ /**
Get Hour Size default value
*/
int defaultHourSizeValue() const
@@ -220,7 +268,7 @@ class Test11 : public MyPrefs
*/
void setSelectionStartsEditor( bool v )
{
- if (!isImmutable( QStringLiteral( "SelectionStartsEditor" ) ))
+ if (!isSelectionStartsEditorImmutable())
mSelectionStartsEditor = v;
}
@@ -233,6 +281,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Time range selection in agenda view starts event editor Immutable
+ */
+ bool isSelectionStartsEditorImmutable() const
+ {
+ return isImmutable( QStringLiteral( "SelectionStartsEditor" ) );
+ }
+
+ /**
Get Time range selection in agenda view starts event editor default value
*/
bool defaultSelectionStartsEditorValue() const
@@ -253,7 +309,7 @@ class Test11 : public MyPrefs
*/
void setSelectedPlugins( const QStringList & v )
{
- if (!isImmutable( QStringLiteral( "SelectedPlugins" ) ))
+ if (!isSelectedPluginsImmutable())
mSelectedPlugins = v;
}
@@ -266,6 +322,14 @@ class Test11 : public MyPrefs
}
/**
+ Is SelectedPlugins Immutable
+ */
+ bool isSelectedPluginsImmutable() const
+ {
+ return isImmutable( QStringLiteral( "SelectedPlugins" ) );
+ }
+
+ /**
Get SelectedPlugins default value
*/
QStringList defaultSelectedPluginsValue() const
@@ -286,7 +350,7 @@ class Test11 : public MyPrefs
*/
void setHighlightColor( const QColor & v )
{
- if (!isImmutable( QStringLiteral( "HighlightColor" ) ))
+ if (!isHighlightColorImmutable())
mHighlightColor = v;
}
@@ -299,6 +363,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Highlight color Immutable
+ */
+ bool isHighlightColorImmutable() const
+ {
+ return isImmutable( QStringLiteral( "HighlightColor" ) );
+ }
+
+ /**
Get Highlight color default value
*/
QColor defaultHighlightColorValue() const
@@ -319,7 +391,7 @@ class Test11 : public MyPrefs
*/
void setAgendaBgColor( const QColor & v )
{
- if (!isImmutable( QStringLiteral( "AgendaBgColor" ) ))
+ if (!isAgendaBgColorImmutable())
mAgendaBgColor = v;
}
@@ -332,6 +404,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Agenda view background color Immutable
+ */
+ bool isAgendaBgColorImmutable() const
+ {
+ return isImmutable( QStringLiteral( "AgendaBgColor" ) );
+ }
+
+ /**
Get Agenda view background color default value
*/
QColor defaultAgendaBgColorValue() const
@@ -352,7 +432,7 @@ class Test11 : public MyPrefs
*/
void setTimeBarFont( const QFont & v )
{
- if (!isImmutable( QStringLiteral( "TimeBarFont" ) ))
+ if (!isTimeBarFontImmutable())
mTimeBarFont = v;
}
@@ -365,6 +445,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Time bar Immutable
+ */
+ bool isTimeBarFontImmutable() const
+ {
+ return isImmutable( QStringLiteral( "TimeBarFont" ) );
+ }
+
+ /**
Get Item object corresponding to TimeBarFont()
*/
ItemFont *timeBarFontItem()
@@ -377,7 +465,7 @@ class Test11 : public MyPrefs
*/
void setEmailClient( MailClient v )
{
- if (!isImmutable( QStringLiteral( "EmailClient" ) ))
+ if (!isEmailClientImmutable())
mEmailClient = v;
}
@@ -390,6 +478,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Email client Immutable
+ */
+ bool isEmailClientImmutable() const
+ {
+ return isImmutable( QStringLiteral( "EmailClient" ) );
+ }
+
+ /**
Get Email client default value
*/
MailClient defaultEmailClientValue() const
@@ -410,7 +506,7 @@ class Test11 : public MyPrefs
*/
void setDefaultReminderUnits( TimePeriod::Units v )
{
- if (!isImmutable( QStringLiteral( "DefaultReminderUnits" ) ))
+ if (!isDefaultReminderUnitsImmutable())
mDefaultReminderUnits = v;
}
@@ -423,6 +519,14 @@ class Test11 : public MyPrefs
}
/**
+ Is Reminder units Immutable
+ */
+ bool isDefaultReminderUnitsImmutable() const
+ {
+ return isImmutable( QStringLiteral( "DefaultReminderUnits" ) );
+ }
+
+ /**
Get Reminder units default value
*/
TimePeriod::Units defaultDefaultReminderUnitsValue() const
@@ -443,7 +547,7 @@ class Test11 : public MyPrefs
*/
void setQueueRate( int i, const QList<int> & v )
{
- if (!isImmutable( QStringLiteral( "queueRate%1" ).arg( i ) ))
+ if (!isQueueRateImmutable( i ))
mQueueRate[i] = v;
}
@@ -456,6 +560,14 @@ class Test11 : public MyPrefs
}
/**
+ Is EmptyingRate $(QueueIndex) Immutable
+ */
+ bool isQueueRateImmutable( int i ) const
+ {
+ return isImmutable( QStringLiteral( "queueRate%1" ).arg( i ) );
+ }
+
+ /**
Get EmptyingRate $(QueueIndex) default value
*/
QList<int> defaultQueueRateValue( int i ) const
@@ -476,7 +588,7 @@ class Test11 : public MyPrefs
*/
void setShowQueueTuner( bool v )
{
- if (!isImmutable( QStringLiteral( "ShowQueueTuner" ) ))
+ if (!isShowQueueTunerImmutable())
mShowQueueTuner = v;
}
@@ -489,6 +601,14 @@ class Test11 : public MyPrefs
}
/**
+ Is ShowQueueTuner Immutable
+ */
+ bool isShowQueueTunerImmutable() const
+ {
+ return isImmutable( QStringLiteral( "ShowQueueTuner" ) );
+ }
+
+ /**
Get ShowQueueTuner default value
*/
bool defaultShowQueueTunerValue() const