summaryrefslogtreecommitdiffstats
path: root/kjumpingcube/kcubewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjumpingcube/kcubewidget.h')
-rw-r--r--kjumpingcube/kcubewidget.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kjumpingcube/kcubewidget.h b/kjumpingcube/kcubewidget.h
index f0d8d8cd..463a7d89 100644
--- a/kjumpingcube/kcubewidget.h
+++ b/kjumpingcube/kcubewidget.h
@@ -22,7 +22,7 @@
#ifndef KCUBEWIDGET_H
#define KCUBEWIDGET_H
-#include <qframe.h>
+#include <tqframe.h>
#include "cube.h"
class QPalette;
@@ -32,13 +32,13 @@ class QTimer;
/**
*
*/
-class KCubeWidget : public QFrame , public Cube
+class KCubeWidget : public TQFrame , public Cube
{
Q_OBJECT
public:
/** constructs a new KCubeWidget*/
- KCubeWidget(QWidget* parent=0,const char* name=0
+ KCubeWidget(TQWidget* parent=0,const char* name=0
,Owner owner=Cube::Nobody,int value=1,int max=0);
virtual ~KCubeWidget();
@@ -74,8 +74,8 @@ public:
/** enables or disables possibility to click a cube*/
static void enableClicks(bool flag);
- static void setColor(Owner forWhom, QPalette newPalette);
- static QPalette color(Owner forWhom);
+ static void setColor(Owner forWhom, TQPalette newPalette);
+ static TQPalette color(Owner forWhom);
public slots:
/** resets the Cube to default values */
@@ -88,10 +88,10 @@ signals:
protected:
/** checks, if mouseclick was inside this cube*/
- virtual void mouseReleaseEvent(QMouseEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent*);
/** refreshs the contents of the Cube */
- virtual void drawContents(QPainter*);
+ virtual void drawContents(TQPainter*);
@@ -108,11 +108,11 @@ private:
int _row;
int _column;
- QTimer *hintTimer;
+ TQTimer *hintTimer;
static bool _clicksAllowed;
- static QPalette color1;
- static QPalette color2;
+ static TQPalette color1;
+ static TQPalette color2;
};