summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:41:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-13 22:55:17 +0900
commit4703dbc14b5d521d63d2fee2a8789143e211db06 (patch)
treeebffd6a0d7bfdb19245bf80fe5d2ae09e08e4cc7
parent4ebbef6418420301319b51dcf347c84c29a8ce43 (diff)
downloadknights-4703dbc14b5d521d63d2fee2a8789143e211db06.tar.gz
knights-4703dbc14b5d521d63d2fee2a8789143e211db06.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5d16343400c5c7024a44e964d8a5b3bdbd553138)
-rw-r--r--knights/challenge_graph.cpp4
-rw-r--r--knights/thinbuttons.cpp2
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<TQT_BASE_OBJECT_NAME*>(sender()));
+ incomming = sender();
for( tmp = 0; tmp < buttons.count(); tmp++ )
if( buttons.at( tmp )->button == ( const TQButton* )incomming )
{