Replaced various '#define' with actual strings - part 6

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/13/head
Michele Calgaro 5 months ago
parent dd25da6a2b
commit 67931fdc7e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -105,7 +105,7 @@ io_internet::~io_internet()
{ {
if(myResource->tabManager->isTab(*i)) if(myResource->tabManager->isTab(*i))
{ {
myResource->tabManager->removeTab(TQT_TQOBJECT(*i)); myResource->tabManager->removeTab(*i);
} }
} }
} }

@ -126,7 +126,7 @@ void list_pgn::timerEvent( TQTimerEvent* )
{ {
emit selected( myURL, 0 ); emit selected( myURL, 0 );
} }
TQT_TQOBJECT(this)->killTimers(); this->killTimers();
listView->show(); listView->show();
dummyView->hide(); dummyView->hide();
} }

@ -45,7 +45,7 @@ pgn::~pgn()
{ {
if( Resource->tabManager->isTab( pgnView ) ) if( Resource->tabManager->isTab( pgnView ) )
{ {
Resource->tabManager->removeTab( TQT_TQOBJECT(pgnView) ); Resource->tabManager->removeTab( pgnView );
} }
} }
} }

@ -162,7 +162,7 @@ void TabManager::childEvent( TQChildEvent *event )
if( event->inserted() ) if( event->inserted() )
{ {
/* New Child */ /* New Child */
if( TQString( TQT_TQOBJECT(event->child())->className() ) == "TabBox" ) if( TQString( event->child()->className() ) == "TabBox" )
{ {
manageNewBox( ((TabBox*)event->child()) ); manageNewBox( ((TabBox*)event->child()) );
return; return;

@ -51,7 +51,7 @@ thinbuttons::~thinbuttons()
void thinbuttons::childEvent( TQChildEvent * cev ) void thinbuttons::childEvent( TQChildEvent * cev )
{ {
/* Make sure this method only effects child buttons */ /* 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; return;
if( cev->removed() ) if( cev->removed() )
remove( (TQButton*)cev->child() ); remove( (TQButton*)cev->child() );

Loading…
Cancel
Save