diff options
author | Michele Calgaro <[email protected]> | 2023-12-07 15:58:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-07 15:58:33 +0900 |
commit | 67931fdc7eef3648d88a34b9b01376ca8f6a70d7 (patch) | |
tree | a2fb4a428bd97c9592cbfb95528b2626d48f8f75 | |
parent | dd25da6a2bbb2e936cdbf3e472fa9cac4ac42821 (diff) | |
download | knights-67931fdc7eef3648d88a34b9b01376ca8f6a70d7.tar.gz knights-67931fdc7eef3648d88a34b9b01376ca8f6a70d7.zip |
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | knights/io_internet.cpp | 2 | ||||
-rw-r--r-- | knights/list_pgn.cpp | 2 | ||||
-rw-r--r-- | knights/pgn.cpp | 2 | ||||
-rw-r--r-- | knights/tabmanager.cpp | 2 | ||||
-rw-r--r-- | knights/thinbuttons.cpp | 2 |
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() ); |