diff --git a/knights/challenge_graph.cpp b/knights/challenge_graph.cpp index 8704046..04dc3c0 100644 --- a/knights/challenge_graph.cpp +++ b/knights/challenge_graph.cpp @@ -61,8 +61,8 @@ Challenge_Graph::Challenge_Graph( TQWidget* parent, const char* name, resource * myStatusBar = new TQLabel( this, "Challenge_Graph_Status_Bar" ); myView = new Challenge_Graph_View( *graph, this, "Challenge_Graph_View", 0, myStatusBar ); - TQT_BASE_OBJECT_NAME::connect(myView, TQT_SIGNAL(leftClick(int)), TQT_SLOT(selectMatch(int))); - TQT_BASE_OBJECT_NAME::connect(myView, TQT_SIGNAL(rightClick(Challenge_Game*, const TQPoint&)), TQT_SLOT(display_menuSeek(Challenge_Game*, const TQPoint&))); + TQObject::connect(myView, TQT_SIGNAL(leftClick(int)), TQT_SLOT(selectMatch(int))); + TQObject::connect(myView, TQT_SIGNAL(rightClick(Challenge_Game*, const TQPoint&)), TQT_SLOT(display_menuSeek(Challenge_Game*, const TQPoint&))); /* Setup Style for myStatusBar */ diff --git a/knights/thinbuttons.cpp b/knights/thinbuttons.cpp index 0bb04a9..4a38dbe 100644 --- a/knights/thinbuttons.cpp +++ b/knights/thinbuttons.cpp @@ -175,7 +175,7 @@ void thinbuttons::buttonClicked( void ) int Clicked; unsigned int tmp; - incomming = TQT_TQOBJECT(const_cast(sender())); + incomming = sender(); for( tmp = 0; tmp < buttons.count(); tmp++ ) if( buttons.at( tmp )->button == ( const TQButton* )incomming ) {