summaryrefslogtreecommitdiffstats
path: root/kjumpingcube
diff options
context:
space:
mode:
Diffstat (limited to 'kjumpingcube')
-rw-r--r--kjumpingcube/kcubeboxwidget.cpp12
-rw-r--r--kjumpingcube/kcubeboxwidget.h6
-rw-r--r--kjumpingcube/kcubewidget.cpp6
-rw-r--r--kjumpingcube/kcubewidget.h2
4 files changed, 13 insertions, 13 deletions
diff --git a/kjumpingcube/kcubeboxwidget.cpp b/kjumpingcube/kcubeboxwidget.cpp
index 57aecd15..815acb6d 100644
--- a/kjumpingcube/kcubeboxwidget.cpp
+++ b/kjumpingcube/kcubeboxwidget.cpp
@@ -30,8 +30,8 @@
#include "prefs.h"
-KCubeBoxWidget::KCubeBoxWidget(const int d,TQWidget *tqparent,const char *name)
- : TQWidget(tqparent,name),
+KCubeBoxWidget::KCubeBoxWidget(const int d,TQWidget *parent,const char *name)
+ : TQWidget(parent,name),
CubeBoxBase<KCubeWidget>(d)
{
init();
@@ -39,8 +39,8 @@ KCubeBoxWidget::KCubeBoxWidget(const int d,TQWidget *tqparent,const char *name)
-KCubeBoxWidget::KCubeBoxWidget(CubeBox& box,TQWidget *tqparent,const char *name)
- :TQWidget(tqparent,name),
+KCubeBoxWidget::KCubeBoxWidget(CubeBox& box,TQWidget *parent,const char *name)
+ :TQWidget(parent,name),
CubeBoxBase<KCubeWidget>(box.dim())
{
init();
@@ -57,8 +57,8 @@ KCubeBoxWidget::KCubeBoxWidget(CubeBox& box,TQWidget *tqparent,const char *name)
-KCubeBoxWidget::KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *tqparent,const char *name)
- :TQWidget(tqparent,name),
+KCubeBoxWidget::KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *parent,const char *name)
+ :TQWidget(parent,name),
CubeBoxBase<KCubeWidget>(box.dim())
{
init();
diff --git a/kjumpingcube/kcubeboxwidget.h b/kjumpingcube/kcubeboxwidget.h
index e8d0553e..d1cc160c 100644
--- a/kjumpingcube/kcubeboxwidget.h
+++ b/kjumpingcube/kcubeboxwidget.h
@@ -53,10 +53,10 @@ class KCubeBoxWidget : public TQWidget , public CubeBoxBase<KCubeWidget>
Q_OBJECT
TQ_OBJECT
public:
- KCubeBoxWidget(const int dim=1,TQWidget *tqparent=0,const char *name=0);
+ KCubeBoxWidget(const int dim=1,TQWidget *parent=0,const char *name=0);
- KCubeBoxWidget(CubeBox& box, TQWidget *tqparent=0,const char *name=0);
- KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *tqparent=0,const char *name=0);
+ KCubeBoxWidget(CubeBox& box, TQWidget *parent=0,const char *name=0);
+ KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *parent=0,const char *name=0);
virtual ~KCubeBoxWidget();
KCubeBoxWidget& operator= (CubeBox& box);
diff --git a/kjumpingcube/kcubewidget.cpp b/kjumpingcube/kcubewidget.cpp
index d4556eac..9757da99 100644
--- a/kjumpingcube/kcubewidget.cpp
+++ b/kjumpingcube/kcubewidget.cpp
@@ -73,9 +73,9 @@ TQPalette KCubeWidget::color(Owner forWhom)
** public functions **
** ****************************************************** */
-KCubeWidget::KCubeWidget(TQWidget* tqparent,const char* name
+KCubeWidget::KCubeWidget(TQWidget* parent,const char* name
,Owner owner,int value,int max)
- : TQFrame(tqparent,name),
+ : TQFrame(parent,name),
Cube(owner,value,max)
{
setFrameStyle(Panel|Raised);
@@ -85,7 +85,7 @@ KCubeWidget::KCubeWidget(TQWidget* tqparent,const char* name
setCoordinates(0,0);
//initialize hintTimer
- // will be automatically destroyed by the tqparent
+ // will be automatically destroyed by the parent
hintTimer = new TQTimer(this);
hintCounter=0;
connect(hintTimer,TQT_SIGNAL(timeout()),TQT_SLOT(hint()));
diff --git a/kjumpingcube/kcubewidget.h b/kjumpingcube/kcubewidget.h
index 3f578c13..2dc333d1 100644
--- a/kjumpingcube/kcubewidget.h
+++ b/kjumpingcube/kcubewidget.h
@@ -39,7 +39,7 @@ class KCubeWidget : public TQFrame , public Cube
public:
/** constructs a new KCubeWidget*/
- KCubeWidget(TQWidget* tqparent=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();