diff options
Diffstat (limited to 'kolf/objects')
-rw-r--r-- | kolf/objects/poolball/poolball.cpp | 10 | ||||
-rw-r--r-- | kolf/objects/test/test.cpp | 16 |
2 files changed, 13 insertions, 13 deletions
diff --git a/kolf/objects/poolball/poolball.cpp b/kolf/objects/poolball/poolball.cpp index 10a26b9c..c2fe0718 100644 --- a/kolf/objects/poolball/poolball.cpp +++ b/kolf/objects/poolball/poolball.cpp @@ -57,17 +57,17 @@ void PoolBall::draw(TQPainter &p) PoolBallConfig::PoolBallConfig(PoolBall *poolBall, TQWidget *parent) : Config(parent), m_poolBall(poolBall) { - TQVBoxLayout *tqlayout = new TQVBoxLayout(this, marginHint(), spacingHint()); + TQVBoxLayout *layout = new TQVBoxLayout(this, marginHint(), spacingHint()); - tqlayout->addStretch(); + layout->addStretch(); TQLabel *num = new TQLabel(i18n("Number:"), this); - tqlayout->addWidget(num); + layout->addWidget(num); KIntNumInput *slider = new KIntNumInput(m_poolBall->number(), this); slider->setRange(1, 15); - tqlayout->addWidget(slider); + layout->addWidget(slider); - tqlayout->addStretch(); + layout->addStretch(); connect(slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(numberChanged(int))); } 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))); } |