summaryrefslogtreecommitdiffstats
path: root/knights/challenge_graph_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'knights/challenge_graph_view.h')
-rw-r--r--knights/challenge_graph_view.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/knights/challenge_graph_view.h b/knights/challenge_graph_view.h
index f1e89ba..0162f20 100644
--- a/knights/challenge_graph_view.h
+++ b/knights/challenge_graph_view.h
@@ -18,33 +18,34 @@
#ifndef CHALLENGE_GRAPH_VIEW_H
#define CHALLENGE_GRAPH_VIEW_H
-#include <qevent.h>
-#include <qcanvas.h>
-#include <qlabel.h>
+#include <tqevent.h>
+#include <tqcanvas.h>
+#include <tqlabel.h>
#include "challenge_game.h"
-class Challenge_Graph_View : public QCanvasView
+class Challenge_Graph_View : public TQCanvasView
{
Q_OBJECT
+ TQ_OBJECT
public:
- Challenge_Graph_View(QCanvas&, QWidget* parent=0, const char* name=0, WFlags f=0, QLabel *qsb=0);
+ Challenge_Graph_View(TQCanvas&, TQWidget* tqparent=0, const char* name=0, WFlags f=0, TQLabel *qsb=0);
~Challenge_Graph_View();
void reset();
signals:
void leftClick(int);
- void rightClick(Challenge_Game*, const QPoint&);
+ void rightClick(Challenge_Game*, const TQPoint&);
protected:
- void contentsMousePressEvent(QMouseEvent*);
- void contentsMouseMoveEvent(QMouseEvent*);
- void updateStatusBar(QString msg);
+ void contentsMousePressEvent(TQMouseEvent*);
+ void contentsMouseMoveEvent(TQMouseEvent*);
+ void updateStatusBar(TQString msg);
private:
- QCanvas &canvas;
- QLabel *statusbar;
+ TQCanvas &canvas;
+ TQLabel *statusbar;
};
#endif