You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

70 lines
1.2 KiB

// This file is generated by kconfig_compiler_kf5 from test13.kcfg.
// All changes you do to this file will be lost.
#ifndef TEST13_H
#define TEST13_H
#include <qglobal.h>
#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>
class Test13 : public KConfigSkeleton
{
Q_OBJECT
public:
Test13( );
~Test13();
Q_PROPERTY(QUrl picturesDir READ picturesDir CONSTANT)
/**
Get picturesDir
*/
QUrl picturesDir() const
{
return mPicturesDir;
}
/**
Set brightness
*/
void setBrightness( double v )
{
if (v != mBrightness && !isImmutable( QStringLiteral( "brightness" ) )) {
mBrightness = v;
Q_EMIT brightnessChanged();
}
}
Q_PROPERTY(double brightness READ brightness WRITE setBrightness NOTIFY brightnessChanged)
/**
Get brightness
*/
double brightness() const
{
return mBrightness;
}
enum {
signalBrightnessChanged = 0x1
};
Q_SIGNALS:
void brightnessChanged();
private:
void itemChanged(quint64 flags);
protected:
// kamoso
QUrl mPicturesDir;
double mBrightness;
private:
};
#endif