cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
79 lines
1.2 KiB
Plaintext
79 lines
1.2 KiB
Plaintext
// This file is generated by kconfig_compiler_kf6 from test8a.kcfg.
|
|
// All changes you do to this file will be lost.
|
|
#ifndef TEST8A_H
|
|
#define TEST8A_H
|
|
|
|
#include <qglobal.h>
|
|
#include <kconfigskeleton.h>
|
|
#include <QCoreApplication>
|
|
#include <QDebug>
|
|
|
|
class Test8a : public KConfigSkeleton
|
|
{
|
|
public:
|
|
|
|
Test8a( KSharedConfig::Ptr config = KSharedConfig::openConfig(), QObject *parent = nullptr );
|
|
~Test8a() override;
|
|
|
|
/**
|
|
Set Font
|
|
*/
|
|
void setFont( const QFont & v )
|
|
{
|
|
if (!isFontImmutable())
|
|
mFont = v;
|
|
}
|
|
|
|
/**
|
|
Get Font
|
|
*/
|
|
QFont font() const
|
|
{
|
|
return mFont;
|
|
}
|
|
|
|
/**
|
|
Is Font Immutable
|
|
*/
|
|
bool isFontImmutable() const
|
|
{
|
|
return isImmutable( QStringLiteral( "Font" ) );
|
|
}
|
|
|
|
/**
|
|
Set TitleFont
|
|
*/
|
|
void setTitleFont( const QFont & v )
|
|
{
|
|
if (!isTitleFontImmutable())
|
|
mTitleFont = v;
|
|
}
|
|
|
|
/**
|
|
Get TitleFont
|
|
*/
|
|
QFont titleFont() const
|
|
{
|
|
return mTitleFont;
|
|
}
|
|
|
|
/**
|
|
Is TitleFont Immutable
|
|
*/
|
|
bool isTitleFontImmutable() const
|
|
{
|
|
return isImmutable( QStringLiteral( "TitleFont" ) );
|
|
}
|
|
|
|
protected:
|
|
|
|
// Group
|
|
QFont mFont;
|
|
QFont mTitleFont;
|
|
|
|
private:
|
|
};
|
|
|
|
#endif
|
|
|