summaryrefslogtreecommitdiffstats
path: root/kolf/objects/test
diff options
context:
space:
mode:
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);