summaryrefslogtreecommitdiffstats
path: root/kolf/objects
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 /kolf/objects
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 'kolf/objects')
-rw-r--r--kolf/objects/poolball/poolball.cpp8
-rw-r--r--kolf/objects/poolball/poolball.h4
-rw-r--r--kolf/objects/test/test.cpp10
-rw-r--r--kolf/objects/test/test.h4
4 files changed, 13 insertions, 13 deletions
diff --git a/kolf/objects/poolball/poolball.cpp b/kolf/objects/poolball/poolball.cpp
index 18d3ca5b..10a26b9c 100644
--- a/kolf/objects/poolball/poolball.cpp
+++ b/kolf/objects/poolball/poolball.cpp
@@ -54,8 +54,8 @@ void PoolBall::draw(TQPainter &p)
Ball::draw(p);
}
-PoolBallConfig::PoolBallConfig(PoolBall *poolBall, TQWidget *tqparent)
- : Config(tqparent), m_poolBall(poolBall)
+PoolBallConfig::PoolBallConfig(PoolBall *poolBall, TQWidget *parent)
+ : Config(parent), m_poolBall(poolBall)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this, marginHint(), spacingHint());
@@ -78,9 +78,9 @@ void PoolBallConfig::numberChanged(int newNumber)
changed();
}
-Config *PoolBall::config(TQWidget *tqparent)
+Config *PoolBall::config(TQWidget *parent)
{
- return new PoolBallConfig(this, tqparent);
+ return new PoolBallConfig(this, parent);
}
#include "poolball.moc"
diff --git a/kolf/objects/poolball/poolball.h b/kolf/objects/poolball/poolball.h
index fac2ef11..db09f7bd 100644
--- a/kolf/objects/poolball/poolball.h
+++ b/kolf/objects/poolball/poolball.h
@@ -30,7 +30,7 @@ public:
virtual bool deleteable() const { return true; }
- virtual Config *config(TQWidget *tqparent);
+ virtual Config *config(TQWidget *parent);
virtual void saveState(StateDB *);
virtual void save(KConfig *cfg);
virtual void loadState(StateDB *);
@@ -51,7 +51,7 @@ class PoolBallConfig : public Config
TQ_OBJECT
public:
- PoolBallConfig(PoolBall *poolBall, TQWidget *tqparent);
+ PoolBallConfig(PoolBall *poolBall, TQWidget *parent);
private slots:
void numberChanged(int);
diff --git a/kolf/objects/test/test.cpp b/kolf/objects/test/test.cpp
index 38a40f22..bb3af320 100644
--- a/kolf/objects/test/test.cpp
+++ b/kolf/objects/test/test.cpp
@@ -14,7 +14,7 @@
#include "test.h"
K_EXPORT_COMPONENT_FACTORY(libkolftest, TestFactory)
-TQObject *TestFactory::createObject (TQObject * /*tqparent*/, const char * /*name*/, const char * /*classname*/, const TQStringList & /*args*/)
+TQObject *TestFactory::createObject (TQObject * /*parent*/, const char * /*name*/, const char * /*classname*/, const TQStringList & /*args*/)
{ return new TestObj; }
Test::Test(TQCanvas *canvas)
@@ -65,8 +65,8 @@ void Test::load(KConfig *cfg)
setSwitchEvery(cfg->readNumEntry("switchEvery", 50));
}
-TestConfig::TestConfig(Test *test, TQWidget *tqparent)
- : Config(tqparent), m_test(test)
+TestConfig::TestConfig(Test *test, TQWidget *parent)
+ : Config(parent), m_test(test)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this, marginHint(), spacingHint());
@@ -96,9 +96,9 @@ void TestConfig::switchEveryChanged(int news)
changed();
}
-Config *Test::config(TQWidget *tqparent)
+Config *Test::config(TQWidget *parent)
{
- return new TestConfig(this, tqparent);
+ return new TestConfig(this, parent);
}
#include "test.moc"
diff --git a/kolf/objects/test/test.h b/kolf/objects/test/test.h
index c8fa6838..d4f00f41 100644
--- a/kolf/objects/test/test.h
+++ b/kolf/objects/test/test.h
@@ -24,7 +24,7 @@ class Test : public TQCanvasEllipse, public CanvasItem
public:
Test(TQCanvas *canvas);
- virtual Config *config(TQWidget *tqparent);
+ virtual Config *config(TQWidget *parent);
virtual void save(KConfig *cfg);
virtual void load(KConfig *cfg);
@@ -44,7 +44,7 @@ class TestConfig : public Config
TQ_OBJECT
public:
- TestConfig(Test *test, TQWidget *tqparent);
+ TestConfig(Test *test, TQWidget *parent);
private slots:
void switchEveryChanged(int news);