summaryrefslogtreecommitdiffstats
path: root/kolf/objects/test/test.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:20:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:20:47 -0600
commit36770452958a79a095f9d9e605e79f66cfa79a2b (patch)
tree8c5656dfa9510a332be71bc62e896540eaf76b52 /kolf/objects/test/test.cpp
parentc0f375feba0103bed2bac1b1f05e76e9ae28fa89 (diff)
downloadtdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.tar.gz
tdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kolf/objects/test/test.cpp')
-rw-r--r--kolf/objects/test/test.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kolf/objects/test/test.cpp b/kolf/objects/test/test.cpp
index 9a959694..eabc2e7e 100644
--- a/kolf/objects/test/test.cpp
+++ b/kolf/objects/test/test.cpp
@@ -68,21 +68,21 @@ void Test::load(KConfig *cfg)
TestConfig::TestConfig(Test *test, TQWidget *parent)
: Config(parent), m_test(test)
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this, marginHint(), spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(this, marginHint(), spacingHint());
- tqlayout->addStretch();
+ layout->addStretch();
- tqlayout->addWidget(new TQLabel(i18n("Flash speed"), this));
+ layout->addWidget(new TQLabel(i18n("Flash speed"), this));
- TQHBoxLayout *htqlayout = new TQHBoxLayout(tqlayout, spacingHint());
+ TQHBoxLayout *hlayout = new TQHBoxLayout(layout, spacingHint());
TQLabel *slow = new TQLabel(i18n("Slow"), this);
- htqlayout->addWidget(slow);
+ hlayout->addWidget(slow);
TQSlider *slider = new TQSlider(1, 100, 5, 101 - m_test->switchEvery(), Qt::Horizontal, this);
- htqlayout->addWidget(slider);
+ hlayout->addWidget(slider);
TQLabel *fast = new TQLabel(i18n("Fast"), this);
- htqlayout->addWidget(fast);
+ hlayout->addWidget(fast);
- tqlayout->addStretch();
+ layout->addStretch();
connect(slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(switchEveryChanged(int)));
}