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.
 
 
 
 

88 lines
1.4 KiB

// This file is generated by kconfig_compiler_kf5 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();
/**
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