diff options
Diffstat (limited to 'kscreensaver/kxsconfig/kxsitem.h')
-rw-r--r-- | kscreensaver/kxsconfig/kxsitem.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kscreensaver/kxsconfig/kxsitem.h b/kscreensaver/kxsconfig/kxsitem.h index 74bdff24..9e4bed3e 100644 --- a/kscreensaver/kxsconfig/kxsitem.h +++ b/kscreensaver/kxsconfig/kxsitem.h @@ -29,13 +29,13 @@ class TQXmlAttributes; class KXSConfigItem { public: - KXSConfigItem(const TQString &name, KConfig &config); + KXSConfigItem(const TQString &name, TDEConfig &config); KXSConfigItem(const TQString &name, const TQXmlAttributes &attr); virtual ~KXSConfigItem() {} virtual TQString command() = 0; - virtual void save(KConfig &config) = 0; - virtual void read(KConfig &config) = 0; + virtual void save(TDEConfig &config) = 0; + virtual void read(TDEConfig &config) = 0; protected: TQString mName; @@ -45,12 +45,12 @@ protected: class KXSRangeItem : public KXSConfigItem { public: - KXSRangeItem(const TQString &name, KConfig &config); + KXSRangeItem(const TQString &name, TDEConfig &config); KXSRangeItem(const TQString &name, const TQXmlAttributes &attr); virtual TQString command(); - virtual void save(KConfig &config); - virtual void read(KConfig &config); + virtual void save(TDEConfig &config); + virtual void read(TDEConfig &config); protected: TQString mSwitch; @@ -63,12 +63,12 @@ protected: class KXSDoubleRangeItem : public KXSConfigItem { public: - KXSDoubleRangeItem(const TQString &name, KConfig &config); + KXSDoubleRangeItem(const TQString &name, TDEConfig &config); KXSDoubleRangeItem(const TQString &name, const TQXmlAttributes &attr); virtual TQString command(); - virtual void read(KConfig &config); - virtual void save(KConfig &config); + virtual void read(TDEConfig &config); + virtual void save(TDEConfig &config); protected: TQString mSwitch; @@ -81,12 +81,12 @@ protected: class KXSBoolItem : public KXSConfigItem { public: - KXSBoolItem(const TQString &name, KConfig &config); + KXSBoolItem(const TQString &name, TDEConfig &config); KXSBoolItem(const TQString &name, const TQXmlAttributes &attr); virtual TQString command(); - virtual void read(KConfig &config); - virtual void save(KConfig &config); + virtual void read(TDEConfig &config); + virtual void save(TDEConfig &config); protected: TQString mSwitchOn; @@ -97,15 +97,15 @@ protected: class KXSSelectItem : public KXSConfigItem { public: - KXSSelectItem(const TQString &name, KConfig &config); + KXSSelectItem(const TQString &name, TDEConfig &config); KXSSelectItem(const TQString &name, const TQXmlAttributes &attr); virtual void addOption(const TQXmlAttributes &attr); virtual TQString command(); - virtual void read(KConfig &config); - virtual void save(KConfig &config); + virtual void read(TDEConfig &config); + virtual void save(TDEConfig &config); protected: TQStringList mOptions; @@ -116,12 +116,12 @@ protected: class KXSStringItem : public KXSConfigItem { public: - KXSStringItem(const TQString &name, KConfig &config); + KXSStringItem(const TQString &name, TDEConfig &config); KXSStringItem(const TQString &name, const TQXmlAttributes &attr); virtual TQString command(); - virtual void save(KConfig &config); - virtual void read(KConfig &config); + virtual void save(TDEConfig &config); + virtual void read(TDEConfig &config); protected: TQString mSwitch; |