summaryrefslogtreecommitdiffstats
path: root/klines
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /klines
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klines')
-rw-r--r--klines/field.cpp4
-rw-r--r--klines/field.h2
-rw-r--r--klines/linesboard.cpp4
-rw-r--r--klines/linesboard.h2
-rw-r--r--klines/mwidget.cpp6
-rw-r--r--klines/mwidget.h2
-rw-r--r--klines/prompt.cpp4
-rw-r--r--klines/prompt.h2
8 files changed, 13 insertions, 13 deletions
diff --git a/klines/field.cpp b/klines/field.cpp
index 22211b76..088febc2 100644
--- a/klines/field.cpp
+++ b/klines/field.cpp
@@ -19,8 +19,8 @@
#include "cfg.h"
#include "field.moc"
-Field::Field(TQWidget* tqparent, const char* name)
- : TQWidget( tqparent, name )
+Field::Field(TQWidget* parent, const char* name)
+ : TQWidget( parent, name )
{
clearField();
}
diff --git a/klines/field.h b/klines/field.h
index c93bac4b..c662d788 100644
--- a/klines/field.h
+++ b/klines/field.h
@@ -36,7 +36,7 @@ public:
void saveUndo();
protected:
- Field(TQWidget* tqparent, const char* name);
+ Field(TQWidget* parent, const char* name);
~Field();
void putBall(int x, int y, int color);
diff --git a/klines/linesboard.cpp b/klines/linesboard.cpp
index fe7faee1..4de4f474 100644
--- a/klines/linesboard.cpp
+++ b/klines/linesboard.cpp
@@ -34,8 +34,8 @@
Constructs a LinesBoard widget.
*/
-LinesBoard::LinesBoard( BallPainter * abPainter, TQWidget* tqparent, const char* name )
- : Field( tqparent, name )
+LinesBoard::LinesBoard( BallPainter * abPainter, TQWidget* parent, const char* name )
+ : Field( parent, name )
{
demoLabel = 0;
bGameOver = false;
diff --git a/klines/linesboard.h b/klines/linesboard.h
index 4a6b3979..b340ea86 100644
--- a/klines/linesboard.h
+++ b/klines/linesboard.h
@@ -34,7 +34,7 @@ class LinesBoard : public Field
Q_OBJECT
TQ_OBJECT
public:
- LinesBoard( BallPainter * abPainter, TQWidget* tqparent=0, const char* name=0 );
+ LinesBoard( BallPainter * abPainter, TQWidget* parent=0, const char* name=0 );
~LinesBoard();
int width();
diff --git a/klines/mwidget.cpp b/klines/mwidget.cpp
index 9f66345d..1492d390 100644
--- a/klines/mwidget.cpp
+++ b/klines/mwidget.cpp
@@ -24,8 +24,8 @@
#include "ballpainter.h"
-MainWidget::MainWidget( TQWidget* tqparent, const char* name )
- : TQFrame( tqparent, name )
+MainWidget::MainWidget( TQWidget* parent, const char* name )
+ : TQFrame( parent, name )
{
TQBoxLayout *grid = new TQHBoxLayout( this, 5 ); //(rows,col)
bPainter = new BallPainter();
@@ -36,7 +36,7 @@ MainWidget::MainWidget( TQWidget* tqparent, const char* name )
TQBoxLayout *right = new TQVBoxLayout(grid, 2);
TQLabel *label = new TQLabel(i18n("Next balls:"), this);
lPrompt = new LinesPrompt(bPainter, this);
- connect(lPrompt, TQT_SIGNAL(PromptPressed()), tqparent, TQT_SLOT(switchPrompt()));
+ connect(lPrompt, TQT_SIGNAL(PromptPressed()), parent, TQT_SLOT(switchPrompt()));
right->addWidget( label, 0, TQt::AlignBottom | TQt::AlignHCenter );
right->addWidget( lPrompt, 0, TQt::AlignTop | TQt::AlignHCenter );
diff --git a/klines/mwidget.h b/klines/mwidget.h
index 11133a2f..174ff10e 100644
--- a/klines/mwidget.h
+++ b/klines/mwidget.h
@@ -36,7 +36,7 @@ class MainWidget : public TQFrame
BallPainter *bPainter;
public:
- MainWidget( TQWidget* tqparent=0, const char* name=0 );
+ MainWidget( TQWidget* parent=0, const char* name=0 );
~MainWidget();
LinesBoard * GetLsb();
LinesPrompt * GetPrompt();
diff --git a/klines/prompt.cpp b/klines/prompt.cpp
index 1233abf5..7424b35d 100644
--- a/klines/prompt.cpp
+++ b/klines/prompt.cpp
@@ -19,8 +19,8 @@
#include "prompt.h"
#include "prompt.moc"
-LinesPrompt::LinesPrompt( BallPainter * abPainter, TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name )
+LinesPrompt::LinesPrompt( BallPainter * abPainter, TQWidget* parent, const char* name )
+ : TQWidget( parent, name )
{
bPainter = abPainter;
diff --git a/klines/prompt.h b/klines/prompt.h
index e1decfd5..ce76bdce 100644
--- a/klines/prompt.h
+++ b/klines/prompt.h
@@ -34,7 +34,7 @@ class LinesPrompt : public TQWidget
void mousePressEvent( TQMouseEvent* );
public:
- LinesPrompt( BallPainter * abPainter, TQWidget * tqparent=0, const char * name=0 );
+ LinesPrompt( BallPainter * abPainter, TQWidget * parent=0, const char * name=0 );
~LinesPrompt();
void setPrompt(bool enabled);