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