summaryrefslogtreecommitdiffstats
path: root/kolf/objects/test
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/test
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/test')
-rw-r--r--kolf/objects/test/test.cpp10
-rw-r--r--kolf/objects/test/test.h4
2 files changed, 7 insertions, 7 deletions
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);