summaryrefslogtreecommitdiffstats
path: root/kolf/statedb.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 /kolf/statedb.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 'kolf/statedb.h')
-rw-r--r--kolf/statedb.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kolf/statedb.h b/kolf/statedb.h
index 522d147f..397eb588 100644
--- a/kolf/statedb.h
+++ b/kolf/statedb.h
@@ -1,23 +1,23 @@
#ifndef KOLF_STATEDB_H
#define KOLF_STATEDB_H
-#include <qmap.h>
-#include <qstring.h>
-#include <qpoint.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqpoint.h>
// items can save their per-game states here
// most don't have to do anything
class StateDB
{
public:
- void setPoint(const QPoint &point) { points[curName] = point; }
- QPoint point() { return points[curName]; }
- void setName(const QString &name) { curName = name; }
+ void setPoint(const TQPoint &point) { points[curName] = point; }
+ TQPoint point() { return points[curName]; }
+ void setName(const TQString &name) { curName = name; }
void clear() { points.clear(); }
private:
- QMap<QString, QPoint> points;
- QString curName;
+ TQMap<TQString, TQPoint> points;
+ TQString curName;
};
#endif