summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:41:01 +0900
committerMichele Calgaro <[email protected]>2023-08-12 20:57:17 +0900
commit5d16343400c5c7024a44e964d8a5b3bdbd553138 (patch)
treeebffd6a0d7bfdb19245bf80fe5d2ae09e08e4cc7
parentc09073f402d7aed600e0441c89330f1185efed52 (diff)
downloadknights-5d16343400c5c7024a44e964d8a5b3bdbd553138.tar.gz
knights-5d16343400c5c7024a44e964d8a5b3bdbd553138.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
-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 )
{