Files
RedBear-OS/local/recipes/kde/kf6-kconfig/source/autotests/kconfig_compiler/test8c.h.ref
T
2026-04-14 10:51:06 +01:00

89 lines
1.5 KiB
Plaintext

// This file is generated by kconfig_compiler_kf6 from test8c.kcfg.
// All changes you do to this file will be lost.
#ifndef TEST8C_H
#define TEST8C_H
#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>
class Test8c : public KConfigSkeleton
{
public:
static Test8c *self();
static void instance(const QString& cfgfilename);
static void instance(KSharedConfig::Ptr config);
~Test8c() override;
/**
Set Font
*/
static
void setFont( const QFont & v )
{
if (!self()->isFontImmutable())
self()->mFont = v;
}
/**
Get Font
*/
static
QFont font()
{
return self()->mFont;
}
/**
Is Font Immutable
*/
static
bool isFontImmutable()
{
return self()->isImmutable( QStringLiteral( "Font" ) );
}
/**
Set TitleFont
*/
static
void setTitleFont( const QFont & v )
{
if (!self()->isTitleFontImmutable())
self()->mTitleFont = v;
}
/**
Get TitleFont
*/
static
QFont titleFont()
{
return self()->mTitleFont;
}
/**
Is TitleFont Immutable
*/
static
bool isTitleFontImmutable()
{
return self()->isImmutable( QStringLiteral( "TitleFont" ) );
}
protected:
Test8c(KSharedConfig::Ptr config, QObject *parent = nullptr);
friend class Test8cHelper;
// Group
QFont mFont;
QFont mTitleFont;
private:
};
#endif