summaryrefslogtreecommitdiffstats
path: root/ksokoban/LevelCollection.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /ksokoban/LevelCollection.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksokoban/LevelCollection.h')
-rw-r--r--ksokoban/LevelCollection.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksokoban/LevelCollection.h b/ksokoban/LevelCollection.h
index f01d1316..0f0b3b11 100644
--- a/ksokoban/LevelCollection.h
+++ b/ksokoban/LevelCollection.h
@@ -20,19 +20,19 @@
#ifndef LEVELCOLLECTION_H
#define LEVELCOLLECTION_H
-#include <qstring.h>
-#include <qcstring.h>
-#include <qptrvector.h>
+#include <tqstring.h>
+#include <tqcstring.h>
+#include <tqptrvector.h>
class Map;
class LevelCollection {
public:
- LevelCollection(const char *_def, int _len, const QString &_name, int _id=-1);
- LevelCollection(const QString &_path, const QString &_name, int _id=-1);
+ LevelCollection(const char *_def, int _len, const TQString &_name, int _id=-1);
+ LevelCollection(const TQString &_path, const TQString &_name, int _id=-1);
~LevelCollection();
- const QString &name() const { return name_; }
+ const TQString &name() const { return name_; }
int id() const { return id_; }
int level() const { return level_; }
void level(int _level);
@@ -51,15 +51,15 @@ private:
void addData(const char* _data, unsigned _len);
void addSeparator();
- QPtrVector<const char> index_;
- QByteArray data_;
+ TQPtrVector<const char> index_;
+ TQByteArray data_;
//int dataLen_;
int level_;
int completedLevels_;
int noOfLevels_;
- QString name_;
- QString path_;
+ TQString name_;
+ TQString path_;
int id_;
};