summaryrefslogtreecommitdiffstats
path: root/ktux/spritemisc.h
diff options
context:
space:
mode:
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