summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kxsconfig/kxsitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
commitb5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch)
tree7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /kscreensaver/kxsconfig/kxsitem.h
parent019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff)
downloadtdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.tar.gz
tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1157637 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/kxsconfig/kxsitem.h')
-rw-r--r--kscreensaver/kxsconfig/kxsitem.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/kscreensaver/kxsconfig/kxsitem.h b/kscreensaver/kxsconfig/kxsitem.h
index fdffb8fe..8a614bb1 100644
--- a/kscreensaver/kxsconfig/kxsitem.h
+++ b/kscreensaver/kxsconfig/kxsitem.h
@@ -29,31 +29,31 @@ class QXmlAttributes;
class KXSConfigItem
{
public:
- KXSConfigItem(const QString &name, KConfig &config);
- KXSConfigItem(const QString &name, const QXmlAttributes &attr);
+ KXSConfigItem(const TQString &name, KConfig &config);
+ KXSConfigItem(const TQString &name, const TQXmlAttributes &attr);
virtual ~KXSConfigItem() {}
- virtual QString command() = 0;
+ virtual TQString command() = 0;
virtual void save(KConfig &config) = 0;
virtual void read(KConfig &config) = 0;
protected:
- QString mName;
- QString mLabel;
+ TQString mName;
+ TQString mLabel;
};
class KXSRangeItem : public KXSConfigItem
{
public:
- KXSRangeItem(const QString &name, KConfig &config);
- KXSRangeItem(const QString &name, const QXmlAttributes &attr);
+ KXSRangeItem(const TQString &name, KConfig &config);
+ KXSRangeItem(const TQString &name, const TQXmlAttributes &attr);
- virtual QString command();
+ virtual TQString command();
virtual void save(KConfig &config);
virtual void read(KConfig &config);
protected:
- QString mSwitch;
+ TQString mSwitch;
int mMinimum;
int mMaximum;
int mValue;
@@ -63,15 +63,15 @@ protected:
class KXSDoubleRangeItem : public KXSConfigItem
{
public:
- KXSDoubleRangeItem(const QString &name, KConfig &config);
- KXSDoubleRangeItem(const QString &name, const QXmlAttributes &attr);
+ KXSDoubleRangeItem(const TQString &name, KConfig &config);
+ KXSDoubleRangeItem(const TQString &name, const TQXmlAttributes &attr);
- virtual QString command();
+ virtual TQString command();
virtual void read(KConfig &config);
virtual void save(KConfig &config);
protected:
- QString mSwitch;
+ TQString mSwitch;
double mMinimum;
double mMaximum;
double mValue;
@@ -81,51 +81,51 @@ protected:
class KXSBoolItem : public KXSConfigItem
{
public:
- KXSBoolItem(const QString &name, KConfig &config);
- KXSBoolItem(const QString &name, const QXmlAttributes &attr);
+ KXSBoolItem(const TQString &name, KConfig &config);
+ KXSBoolItem(const TQString &name, const TQXmlAttributes &attr);
- virtual QString command();
+ virtual TQString command();
virtual void read(KConfig &config);
virtual void save(KConfig &config);
protected:
- QString mSwitchOn;
- QString mSwitchOff;
+ TQString mSwitchOn;
+ TQString mSwitchOff;
bool mValue;
};
class KXSSelectItem : public KXSConfigItem
{
public:
- KXSSelectItem(const QString &name, KConfig &config);
- KXSSelectItem(const QString &name, const QXmlAttributes &attr);
+ KXSSelectItem(const TQString &name, KConfig &config);
+ KXSSelectItem(const TQString &name, const TQXmlAttributes &attr);
- virtual void addOption(const QXmlAttributes &attr);
+ virtual void addOption(const TQXmlAttributes &attr);
- virtual QString command();
+ virtual TQString command();
virtual void read(KConfig &config);
virtual void save(KConfig &config);
protected:
- QStringList mOptions;
- QStringList mSwitches;
+ TQStringList mOptions;
+ TQStringList mSwitches;
int mValue;
};
class KXSStringItem : public KXSConfigItem
{
public:
- KXSStringItem(const QString &name, KConfig &config);
- KXSStringItem(const QString &name, const QXmlAttributes &attr);
+ KXSStringItem(const TQString &name, KConfig &config);
+ KXSStringItem(const TQString &name, const TQXmlAttributes &attr);
- virtual QString command();
+ virtual TQString command();
virtual void save(KConfig &config);
virtual void read(KConfig &config);
protected:
- QString mSwitch;
- QString mValue;
+ TQString mSwitch;
+ TQString mValue;
};
#endif