summaryrefslogtreecommitdiffstats
path: root/ktux/spritemisc.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /ktux/spritemisc.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktux/spritemisc.h')
-rw-r--r--ktux/spritemisc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ktux/spritemisc.h b/ktux/spritemisc.h
index 0a0d058..2034907 100644
--- a/ktux/spritemisc.h
+++ b/ktux/spritemisc.h
@@ -8,13 +8,13 @@
#ifndef __SPRITEMISC_H__
#define __SPRITEMISC_H__
-#include <qstring.h>
-#include <qsize.h>
+#include <tqstring.h>
+#include <tqsize.h>
class SpriteRange
{
public:
- SpriteRange(const QString &str);
+ SpriteRange(const TQString &str);
SpriteRange(int l=0, int h=0) : mMin(l), mMax(h) {}
int min() const { return mMin; }
@@ -23,18 +23,18 @@ public:
int random() const;
void set(int l, int h) { mMin=l; mMax=h; }
- void set(const QString &str);
+ void set(const TQString &str);
- static void setFieldSize(const QSize &size);
- static QSize fieldSize() { return mFieldSize; }
+ static void setFieldSize(const TQSize &size);
+ static TQSize fieldSize() { return mFieldSize; }
protected:
- int parse(const QString &str);
+ int parse(const TQString &str);
protected:
int mMin;
int mMax;
- static QSize mFieldSize;
+ static TQSize mFieldSize;
};
#endif