summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-07 15:58:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-08 20:54:06 +0900
commitb8335a4a3527cea739097fb2b9c014b0b8b1d6fa (patch)
treea2fb4a428bd97c9592cbfb95528b2626d48f8f75
parenta39b2b83e261d57058a72e6a9d11df90bb7d1dfe (diff)
downloadknights-b8335a4a3527cea739097fb2b9c014b0b8b1d6fa.tar.gz
knights-b8335a4a3527cea739097fb2b9c014b0b8b1d6fa.zip
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 67931fdc7eef3648d88a34b9b01376ca8f6a70d7)
-rw-r--r--knights/io_internet.cpp2
-rw-r--r--knights/list_pgn.cpp2
-rw-r--r--knights/pgn.cpp2
-rw-r--r--knights/tabmanager.cpp2
-rw-r--r--knights/thinbuttons.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/knights/io_internet.cpp b/knights/io_internet.cpp
index b5cbaa6..4e0631a 100644
--- a/knights/io_internet.cpp
+++ b/knights/io_internet.cpp
@@ -105,7 +105,7 @@ io_internet::~io_internet()
{
if(myResource->tabManager->isTab(*i))
{
- myResource->tabManager->removeTab(TQT_TQOBJECT(*i));
+ myResource->tabManager->removeTab(*i);
}
}
}
diff --git a/knights/list_pgn.cpp b/knights/list_pgn.cpp
index f1dfc22..24da179 100644
--- a/knights/list_pgn.cpp
+++ b/knights/list_pgn.cpp
@@ -126,7 +126,7 @@ void list_pgn::timerEvent( TQTimerEvent* )
{
emit selected( myURL, 0 );
}
- TQT_TQOBJECT(this)->killTimers();
+ this->killTimers();
listView->show();
dummyView->hide();
}
diff --git a/knights/pgn.cpp b/knights/pgn.cpp
index b0355c7..b228f2c 100644
--- a/knights/pgn.cpp
+++ b/knights/pgn.cpp
@@ -45,7 +45,7 @@ pgn::~pgn()
{
if( Resource->tabManager->isTab( pgnView ) )
{
- Resource->tabManager->removeTab( TQT_TQOBJECT(pgnView) );
+ Resource->tabManager->removeTab( pgnView );
}
}
}
diff --git a/knights/tabmanager.cpp b/knights/tabmanager.cpp
index e3cb076..3b6ab66 100644
--- a/knights/tabmanager.cpp
+++ b/knights/tabmanager.cpp
@@ -162,7 +162,7 @@ void TabManager::childEvent( TQChildEvent *event )
if( event->inserted() )
{
/* New Child */
- if( TQString( TQT_TQOBJECT(event->child())->className() ) == "TabBox" )
+ if( TQString( event->child()->className() ) == "TabBox" )
{
manageNewBox( ((TabBox*)event->child()) );
return;
diff --git a/knights/thinbuttons.cpp b/knights/thinbuttons.cpp
index c2d475a..c9c4e43 100644
--- a/knights/thinbuttons.cpp
+++ b/knights/thinbuttons.cpp
@@ -51,7 +51,7 @@ thinbuttons::~thinbuttons()
void thinbuttons::childEvent( TQChildEvent * cev )
{
/* Make sure this method only effects child buttons */
- if( TQString( TQT_TQOBJECT(cev->child())->name() ) != TQString( "MatchSelector" ) )
+ if( TQString( cev->child()->name() ) != TQString( "MatchSelector" ) )
return;
if( cev->removed() )
remove( (TQButton*)cev->child() );