// This file is generated by tdeconfig_compiler from preferences.kcfg. // All changes you do to this file will be lost. #ifndef PREFERENCES_H #define PREFERENCES_H #include #include class Preferences : public TDEConfigSkeleton { public: static Preferences *self(); ~Preferences(); /** Set program to adjust lcd brightness */ static void setProgram( const TQString & v ) { if (!self()->isImmutable( TQString::fromLatin1( "Program" ) )) self()->mProgram = v; } /** Get program to adjust lcd brightness */ static TQString program() { return self()->mProgram; } /** Set argument to set the brighness */ static void setSetArgument( const TQString & v ) { if (!self()->isImmutable( TQString::fromLatin1( "SetArgument" ) )) self()->mSetArgument = v; } /** Get argument to set the brighness */ static TQString setArgument() { return self()->mSetArgument; } /** Set argument to get the brighness */ static void setGetArgument( const TQString & v ) { if (!self()->isImmutable( TQString::fromLatin1( "GetArgument" ) )) self()->mGetArgument = v; } /** Get argument to get the brighness */ static TQString getArgument() { return self()->mGetArgument; } /** Set minimum value for brightness */ static void setMinValue( const TQString & v ) { if (!self()->isImmutable( TQString::fromLatin1( "MinValue" ) )) self()->mMinValue = v; } /** Get minimum value for brightness */ static TQString minValue() { return self()->mMinValue; } /** Set maximum value for brightness */ static void setMaxValue( const TQString & v ) { if (!self()->isImmutable( TQString::fromLatin1( "MaxValue" ) )) self()->mMaxValue = v; } /** Get maximum value for brightness */ static TQString maxValue() { return self()->mMaxValue; } /** Set step to increment */ static void setStep( const TQString & v ) { if (!self()->isImmutable( TQString::fromLatin1( "Step" ) )) self()->mStep = v; } /** Get step to increment */ static TQString step() { return self()->mStep; } /** Set save the current value */ static void setSaveCurrent( bool v ) { if (!self()->isImmutable( TQString::fromLatin1( "SaveCurrent" ) )) self()->mSaveCurrent = v; } /** Get save the current value */ static bool saveCurrent() { return self()->mSaveCurrent; } /** Set the current brightness value */ static void setCurrentValue( const TQString & v ) { if (!self()->isImmutable( TQString::fromLatin1( "CurrentValue" ) )) self()->mCurrentValue = v; } /** Get the current brightness value */ static TQString currentValue() { return self()->mCurrentValue; } static void writeConfig() { static_cast(self())->writeConfig(); } protected: Preferences(); static Preferences *mSelf; // general TQString mProgram; TQString mSetArgument; TQString mGetArgument; TQString mMinValue; TQString mMaxValue; TQString mStep; bool mSaveCurrent; TQString mCurrentValue; private: }; #endif