summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/ktabwidgettest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/ktabwidgettest.cpp')
-rw-r--r--tdeui/tests/ktabwidgettest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/tests/ktabwidgettest.cpp b/tdeui/tests/ktabwidgettest.cpp
index 64d2795fc..01bafd192 100644
--- a/tdeui/tests/ktabwidgettest.cpp
+++ b/tdeui/tests/ktabwidgettest.cpp
@@ -21,8 +21,8 @@ Test::Test( TQWidget* parent, const char *name )
mWidget->addTab( new TQLabel( "Testlabel 2", mWidget ), "Two" );
mWidget->addTab( new TQWidget( mWidget), SmallIcon( "konsole" ), "Three" );
mWidget->addTab( new TQWidget( mWidget), "Four" );
- mWidget->setTabColor( mWidget->page(0), Qt::red );
- mWidget->setTabColor( mWidget->page(1), Qt::blue );
+ mWidget->setTabColor( mWidget->page(0), TQt::red );
+ mWidget->setTabColor( mWidget->page(1), TQt::blue );
connect( mWidget, TQT_SIGNAL( currentChanged( TQWidget * ) ), TQT_SLOT( currentChanged( TQWidget * ) ) );
connect( mWidget, TQT_SIGNAL( contextMenu( TQWidget *, const TQPoint & )), TQT_SLOT(contextMenu( TQWidget *, const TQPoint & )));
@@ -89,7 +89,7 @@ Test::Test( TQWidget* parent, const char *name )
void Test::currentChanged(TQWidget* w)
{
- mWidget->setTabColor( w, Qt::black );
+ mWidget->setTabColor( w, TQt::black );
}
void Test::addTab()
@@ -326,7 +326,7 @@ void Test::mouseDoubleClick(TQWidget *w)
mWidget->label( mWidget->indexOf( w ) ), &ok, this );
if ( ok && !text.isEmpty() ) {
mWidget->changeTab( w, text );
- mWidget->setTabColor( w, Qt::green );
+ mWidget->setTabColor( w, TQt::green );
}
}