cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
// This file is generated by kconfig_compiler_kf6 from test14.kcfg.
|
|
// All changes you do to this file will be lost.
|
|
|
|
#include "test14.h"
|
|
|
|
Test14::Test14( )
|
|
: KConfigSkeleton( QStringLiteral( "muondatasourcesrc" ) )
|
|
{
|
|
KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&Test14::itemChanged);
|
|
|
|
setCurrentGroup( QStringLiteral( "kamoso" ) );
|
|
|
|
KConfigSkeleton::ItemUrl *itemPicturesDir;
|
|
itemPicturesDir = new KConfigSkeleton::ItemUrl( currentGroup(), QStringLiteral( "picturesDir" ), mPicturesDir );
|
|
addItem( itemPicturesDir, QStringLiteral( "picturesDir" ) );
|
|
KConfigCompilerSignallingItem *itemBrightness;
|
|
KConfigSkeleton::ItemDouble *innerItemBrightness;
|
|
innerItemBrightness = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "brightness" ), mBrightness );
|
|
itemBrightness = new KConfigCompilerSignallingItem(innerItemBrightness, this, notifyFunction, signalBrightnessChanged);
|
|
addItem( itemBrightness, QStringLiteral( "brightness" ) );
|
|
}
|
|
|
|
Test14::~Test14()
|
|
{
|
|
}
|
|
|
|
|
|
void Test14::itemChanged(quint64 signalFlag) {
|
|
|
|
switch (signalFlag) {
|
|
case signalBrightnessChanged:
|
|
Q_EMIT brightnessChanged();
|
|
break;
|
|
}
|
|
}
|