Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user