summaryrefslogtreecommitdiffstats
path: root/kdeui/tests
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests')
-rw-r--r--kdeui/tests/kdesattest.cpp2
-rw-r--r--kdeui/tests/kdockwidgetdemo.cpp2
-rw-r--r--kdeui/tests/kledtest.cpp6
-rw-r--r--kdeui/tests/kledtest.h2
-rw-r--r--kdeui/tests/ktabwidgettest.cpp6
-rw-r--r--kdeui/tests/kunbalancedgrdtest.cpp2
6 files changed, 10 insertions, 10 deletions
diff --git a/kdeui/tests/kdesattest.cpp b/kdeui/tests/kdesattest.cpp
index e75b320a7..28f7d4cf2 100644
--- a/kdeui/tests/kdesattest.cpp
+++ b/kdeui/tests/kdesattest.cpp
@@ -23,7 +23,7 @@ KDesatWidget::KDesatWidget(TQWidget *parent, const char *name)
void KDesatWidget::change(double) {
desat_value = slide->value();
- tqrepaint(false);
+ repaint(false);
}
void KDesatWidget::paintEvent(TQPaintEvent */*ev*/)
diff --git a/kdeui/tests/kdockwidgetdemo.cpp b/kdeui/tests/kdockwidgetdemo.cpp
index b4d1bd30b..15b83d14e 100644
--- a/kdeui/tests/kdockwidgetdemo.cpp
+++ b/kdeui/tests/kdockwidgetdemo.cpp
@@ -242,7 +242,7 @@ void PixmapView::setPixmap( const TQPixmap &pix )
{
pixmap = pix;
resizeContents( pixmap.size().width(), pixmap.size().height() );
- viewport()->tqrepaint( true );
+ viewport()->repaint( true );
}
void PixmapView::drawContents( TQPainter *p, int, int, int, int )
diff --git a/kdeui/tests/kledtest.cpp b/kdeui/tests/kledtest.cpp
index f8d031530..d68f1e366 100644
--- a/kdeui/tests/kledtest.cpp
+++ b/kdeui/tests/kledtest.cpp
@@ -50,14 +50,14 @@ KLedTest::KLedTest(TQWidget* parent)
}
else {
y=Grid; index=0;
- for( int tqshape=0; (int)tqshape<2; tqshape=(KLed::Shape)(tqshape+1)) {
+ for( int shape=0; (int)shape<2; shape=(KLed::Shape)(shape+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)(tqshape+1), this);
+ (KLed::Shape)(shape+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->tqrepaint();
+ //l->repaint();
}
diff --git a/kdeui/tests/kledtest.h b/kdeui/tests/kledtest.h
index 5d660f5a3..5652e306e 100644
--- a/kdeui/tests/kledtest.h
+++ b/kdeui/tests/kledtest.h
@@ -15,7 +15,7 @@ protected:
const int LedWidth;
const int LedHeight;
const int Grid;
- KLed::Shape tqshape;
+ KLed::Shape shape;
KLed::Look look;
KLed::State state;
int x, y, index;
diff --git a/kdeui/tests/ktabwidgettest.cpp b/kdeui/tests/ktabwidgettest.cpp
index 5f9fb3dcc..32ed5c89f 100644
--- a/kdeui/tests/ktabwidgettest.cpp
+++ b/kdeui/tests/ktabwidgettest.cpp
@@ -73,9 +73,9 @@ Test::Test( TQWidget* parent, const char *name )
gridlayout->addWidget( mTabsBottom, 3, 0 );
connect( mTabsBottom, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleTabPosition(bool) ) );
- TQCheckBox * tabtqshape = new TQCheckBox( "Triangular tab tqshape", grid );
- gridlayout->addWidget( tabtqshape, 3, 1 );
- connect( tabtqshape, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleTabShape(bool) ) );
+ TQCheckBox * tabshape = new TQCheckBox( "Triangular tab shape", grid );
+ gridlayout->addWidget( tabshape, 3, 1 );
+ connect( tabshape, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleTabShape(bool) ) );
TQCheckBox *tabClose = new TQCheckBox( "Close button on icon hover", grid );
gridlayout->addWidget( tabClose, 4, 0 );
diff --git a/kdeui/tests/kunbalancedgrdtest.cpp b/kdeui/tests/kunbalancedgrdtest.cpp
index 9f616496d..7f5b2cc78 100644
--- a/kdeui/tests/kunbalancedgrdtest.cpp
+++ b/kdeui/tests/kunbalancedgrdtest.cpp
@@ -159,7 +159,7 @@ void myTopWidget::rebalance()
if ((otime - itime )> 500)
{
- grds->tqrepaint(false);
+ grds->repaint(false);
itime = time.elapsed();
}
}