diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-15 23:44:25 +0900 |
commit | c8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch) | |
tree | bae3d3c70886ceeffd914cac031dfeab532a607a /tdeui/tests/ktabwidgettest.cpp | |
parent | 419c185be746df8bba59fe5de991b4a2b3977897 (diff) | |
download | tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/tests/ktabwidgettest.cpp')
-rw-r--r-- | tdeui/tests/ktabwidgettest.cpp | 8 |
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 ); } } |