summaryrefslogtreecommitdiffstats
path: root/kmines/status.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 /kmines/status.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 'kmines/status.h')
-rw-r--r--kmines/status.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmines/status.h b/kmines/status.h
index 6fd06a76..4249fe82 100644
--- a/kmines/status.h
+++ b/kmines/status.h
@@ -19,7 +19,7 @@
#ifndef STATUS_H
#define STATUS_H
-#include <qdom.h>
+#include <tqdom.h>
#include "field.h"
@@ -30,11 +30,11 @@ class Solver;
class QWidgetStack;
class QTimer;
-class Status : public QWidget, public KMines
+class Status : public TQWidget, public KMines
{
Q_OBJECT
public :
- Status(QWidget *parent);
+ Status(TQWidget *parent);
const Level &currentLevel() const { return _field->level(); }
bool isPlaying() const { return _field->gameState()==Playing; }
@@ -84,28 +84,28 @@ class Status : public QWidget, public KMines
private:
Field *_field;
- QWidget *_fieldContainer, *_resumeContainer;
- QWidgetStack *_stack;
+ TQWidget *_fieldContainer, *_resumeContainer;
+ TQWidgetStack *_stack;
Smiley *smiley;
KGameLCD *left;
DigitalClock *dg;
Solver *_solver;
- QDomDocument _log;
- QDomElement _logRoot, _logList;
- QDomNodeList _actions;
+ TQDomDocument _log;
+ TQDomElement _logRoot, _logList;
+ TQDomNodeList _actions;
uint _index;
bool _completeReveal;
Level _oldLevel;
- QTimer *_timer;
+ TQTimer *_timer;
void setGameOver(bool won);
void setStopped();
void setPlaying();
void newGame(const Level &);
void gameStateChanged(GameState, bool won);
- static bool checkLog(const QDomDocument &);
+ static bool checkLog(const TQDomDocument &);
};
#endif // STATUS_H