summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Editor.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 /kmahjongg/Editor.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 '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:
};