summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kledtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kledtest.cpp')
-rw-r--r--tdeui/tests/kledtest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tests/kledtest.cpp b/tdeui/tests/kledtest.cpp
index d68f1e366..f8d031530 100644
--- a/tdeui/tests/kledtest.cpp
+++ b/tdeui/tests/kledtest.cpp
@@ -50,14 +50,14 @@ KLedTest::KLedTest(TQWidget* parent)
}
else {
y=Grid; index=0;
- for( int shape=0; (int)shape<2; shape=(KLed::Shape)(shape+1)) {
+ for( int tqshape=0; (int)tqshape<2; tqshape=(KLed::Shape)(tqshape+1)) {
x=Grid;
for( int look=0; (int)look<3; look=(KLed::Look)(look+1)) {
for(state=KLed::Off; (int)state<2; state=(KLed::State)(state+1))
{
leds[index]=new KLed(Qt::yellow, state,
(KLed::Look)(look+1),
- (KLed::Shape)(shape+1), this);
+ (KLed::Shape)(tqshape+1), this);
leds[index]->setGeometry(x, y, LedWidth, LedHeight);
++index;
x+=Grid+LedWidth;
@@ -108,7 +108,7 @@ KLedTest::nextLook() {
ledlook = static_cast<KLed::Look>(tmp);
l->setLook(ledlook);
//qDebug("painting look %i", ledlook);
- //l->repaint();
+ //l->tqrepaint();
}