From 4703dbc14b5d521d63d2fee2a8789143e211db06 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:41:01 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro (cherry picked from commit 5d16343400c5c7024a44e964d8a5b3bdbd553138) --- knights/challenge_graph.cpp | 4 ++-- knights/thinbuttons.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ) { -- cgit v1.2.1