// 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 #include #include 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