summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() );