From a13e26c2f1eb3c5be81acf4f571dd4bafac10199 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kolf/objects/test/test.cpp | 10 +++++----- kolf/objects/test/test.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kolf/objects/test') 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); -- cgit v1.2.1