diff options
Diffstat (limited to 'tier1/kconfig/autotests/kconfig_compiler/test_signal.h.ref')
-rw-r--r-- | tier1/kconfig/autotests/kconfig_compiler/test_signal.h.ref | 153 |
1 files changed, 0 insertions, 153 deletions
diff --git a/tier1/kconfig/autotests/kconfig_compiler/test_signal.h.ref b/tier1/kconfig/autotests/kconfig_compiler/test_signal.h.ref deleted file mode 100644 index 801ff926..00000000 --- a/tier1/kconfig/autotests/kconfig_compiler/test_signal.h.ref +++ /dev/null @@ -1,153 +0,0 @@ -// This file is generated by kconfig_compiler from test_signal.kcfg. -// All changes you do to this file will be lost. -#ifndef TESTSIGNAL_H -#define TESTSIGNAL_H - -#include <kconfigskeleton.h> -#include <QCoreApplication> -#include <QDebug> - -class TestSignal : public KConfigSkeleton -{ - Q_OBJECT - public: - - enum { - signalEmoticonSettingsChanged = 0x1, - signalStyleChanged = 0x2 - }; - - static TestSignal *self(); - ~TestSignal(); - - /** - Set Current emoticon theme. - */ - static - void setEmoticonTheme( const QString & v ) - { - if (!self()->isImmutable( QString::fromLatin1( "emoticonTheme" ) )) { - self()->mEmoticonTheme = v; - self()->mSettingsChanged |= signalEmoticonSettingsChanged; - } - } - - /** - Get Current emoticon theme. - */ - static - QString emoticonTheme() - { - return self()->mEmoticonTheme; - } - - /** - Set Enable emoticon support in Kopete. - */ - static - void setUseEmoticon( bool v ) - { - if (!self()->isImmutable( QString::fromLatin1( "useEmoticon" ) )) { - self()->mUseEmoticon = v; - self()->mSettingsChanged |= signalEmoticonSettingsChanged; - } - } - - /** - Get Enable emoticon support in Kopete. - */ - static - bool useEmoticon() - { - return self()->mUseEmoticon; - } - - /** - Set Use strict mode in emoticon parsing. - */ - static - void setEmoticonRequireSpace( bool v ) - { - if (!self()->isImmutable( QString::fromLatin1( "emoticonRequireSpace" ) )) { - self()->mEmoticonRequireSpace = v; - self()->mSettingsChanged |= signalEmoticonSettingsChanged; - } - } - - /** - Get Use strict mode in emoticon parsing. - */ - static - bool emoticonRequireSpace() - { - return self()->mEmoticonRequireSpace; - } - - /** - Set Absolute path to a directory containing a Adium/Kopete chat window style. - */ - static - void setStylePath( const QString & v ) - { - if (!self()->isImmutable( QString::fromLatin1( "stylePath" ) )) { - self()->mStylePath = v; - self()->mSettingsChanged |= signalStyleChanged; - } - } - - /** - Get Absolute path to a directory containing a Adium/Kopete chat window style. - */ - static - QString stylePath() - { - return self()->mStylePath; - } - - /** - Set Relative path to a CSS variant for the current style. - */ - static - void setStyleCSSVariant( const QString & v ) - { - if (!self()->isImmutable( QString::fromLatin1( "StyleCSSVariant" ) )) - self()->mStyleCSSVariant = v; - } - - /** - Get Relative path to a CSS variant for the current style. - */ - static - QString styleCSSVariant() - { - return self()->mStyleCSSVariant; - } - - - Q_SIGNALS: - void emoticonSettingsChanged(); - - /** - Tell when a complete style change. - */ - void styleChanged(const QString & stylePath, const QString & StyleCSSVariant); - - protected: - TestSignal(); - friend class TestSignalHelper; - - virtual bool usrWriteConfig(); - - // Appearance - QString mEmoticonTheme; - bool mUseEmoticon; - bool mEmoticonRequireSpace; - QString mStylePath; - QString mStyleCSSVariant; - - private: - uint mSettingsChanged; -}; - -#endif - |