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.1 KiB
70 lines
1.1 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()->isImmutable( QStringLiteral( "Font" ) )) |
|
self()->mFont = v; |
|
} |
|
|
|
/** |
|
Get Font |
|
*/ |
|
static |
|
QFont font() |
|
{ |
|
return self()->mFont; |
|
} |
|
|
|
/** |
|
Set TitleFont |
|
*/ |
|
static |
|
void setTitleFont( const QFont & v ) |
|
{ |
|
if (!self()->isImmutable( QStringLiteral( "TitleFont" ) )) |
|
self()->mTitleFont = v; |
|
} |
|
|
|
/** |
|
Get TitleFont |
|
*/ |
|
static |
|
QFont titleFont() |
|
{ |
|
return self()->mTitleFont; |
|
} |
|
|
|
protected: |
|
Test8c(KSharedConfig::Ptr config); |
|
friend class Test8cHelper; |
|
|
|
|
|
// Group |
|
QFont mFont; |
|
QFont mTitleFont; |
|
|
|
private: |
|
}; |
|
|
|
#endif |
|
|
|
|