summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmahjongg/Editor.h')
-rw-r--r--kmahjongg/Editor.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmahjongg/Editor.h b/kmahjongg/Editor.h
index 5ced0daf..edc8f912 100644
--- a/kmahjongg/Editor.h
+++ b/kmahjongg/Editor.h
@@ -1,8 +1,8 @@
#ifndef _EditorLoadBase_H
#define _EditorLoadBase_H
-#include <qdialog.h>
-#include <qframe.h>
+#include <tqdialog.h>
+#include <tqframe.h>
#include <ktoolbar.h>
#include <kstatusbar.h>
#include <kfiledialog.h>
@@ -22,7 +22,7 @@ public:
Editor
(
- QWidget* parent = NULL,
+ TQWidget* parent = NULL,
const char* name = NULL
);
@@ -32,25 +32,25 @@ public:
protected slots:
void topToolbarOption(int w);
- void drawFrameMousePressEvent ( QMouseEvent* );
- void drawFrameMouseMovedEvent ( QMouseEvent *);
+ void drawFrameMousePressEvent ( TQMouseEvent* );
+ void drawFrameMouseMovedEvent ( TQMouseEvent *);
protected:
enum {remove=98, insert=99, move=100};
- void paintEvent( QPaintEvent* pa );
+ void paintEvent( TQPaintEvent* pa );
void setupToolbar();
void loadBoard();
bool saveBoard();
void newBoard();
- void drawBackground(QPixmap *to);
- void drawTiles(QPixmap *to);
+ void drawBackground(TQPixmap *to);
+ void drawTiles(TQPixmap *to);
bool testSave();
- void transformPointToPosition(const QPoint &, POSITION &, bool align);
+ void transformPointToPosition(const TQPoint &, POSITION &, bool align);
void drawCursor(POSITION &p, bool visible);
bool canInsert(POSITION &p);
void statusChanged();
- QString statusText();
+ TQString statusText();
private:
int mode;
int numTiles;
@@ -60,7 +60,7 @@ private:
BoardLayout theBoard;
bool clean;
POSITION currPos;
- QLabel *theLabel;
+ TQLabel *theLabel;
private:
};