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