summaryrefslogtreecommitdiffstats
path: root/kblackbox/kbbgfx.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 /kblackbox/kbbgfx.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 'kblackbox/kbbgfx.h')
-rw-r--r--kblackbox/kbbgfx.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kblackbox/kbbgfx.h b/kblackbox/kbbgfx.h
index ae4d207c..16d97298 100644
--- a/kblackbox/kbbgfx.h
+++ b/kblackbox/kbbgfx.h
@@ -12,8 +12,8 @@
#ifndef KBBGFX_H
#define KBBGFX_H
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
#include "util.h"
@@ -54,7 +54,7 @@ class KBBGraphic : public QWidget
{
Q_OBJECT
public:
- KBBGraphic( QPixmap** p=0, QWidget* parent=0, const char* name=0 );
+ KBBGraphic( TQPixmap** p=0, TQWidget* parent=0, const char* name=0 );
~KBBGraphic();
friend class KBBGame;
@@ -87,20 +87,20 @@ signals:
void endMouseClicked();
protected:
- virtual QSize sizeHint() const;
- void paintEvent( QPaintEvent* );
- void mousePressEvent( QMouseEvent* );
- void mouseMoveEvent( QMouseEvent* );
- void focusInEvent( QFocusEvent* );
- void focusOutEvent( QFocusEvent* );
- void resizeEvent( QResizeEvent* e );
+ virtual TQSize sizeHint() const;
+ void paintEvent( TQPaintEvent* );
+ void mousePressEvent( TQMouseEvent* );
+ void mouseMoveEvent( TQMouseEvent* );
+ void focusInEvent( TQFocusEvent* );
+ void focusOutEvent( TQFocusEvent* );
+ void resizeEvent( TQResizeEvent* e );
void moveSelection(int drow, int dcol);
private:
- void paintCell( QPainter* p, int row, int col );
- void paintCellDefault( QPainter*, int row, int col );
- void paintCellPixmap( QPainter*, int row, int col );
+ void paintCell( TQPainter* p, int row, int col );
+ void paintCellDefault( TQPainter*, int row, int col );
+ void paintCellPixmap( TQPainter*, int row, int col );
void scalePixmaps( int w, int h );
RectOnArray *graphicBoard;
int curRow;
@@ -112,9 +112,9 @@ private:
int cellH;
int numCols;
int numRows;
- QPixmap **pix;
- QPixmap **pixScaled;
- QPixmap *drawBuffer;
+ TQPixmap **pix;
+ TQPixmap **pixScaled;
+ TQPixmap *drawBuffer;
};
#endif // KBBGFX_H