diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 16:38:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:24:54 +0900 |
commit | b4b4994c9863545aa635db0931dc3eefab8c948d (patch) | |
tree | e7b68b2081d7f379ec279b5e99f42769c6d2eca8 /knights/challenge_graph.cpp | |
parent | b8335a4a3527cea739097fb2b9c014b0b8b1d6fa (diff) | |
download | knights-b4b4994c9863545aa635db0931dc3eefab8c948d.tar.gz knights-b4b4994c9863545aa635db0931dc3eefab8c948d.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ff0d52cab681a2154a1462935a5d9e4d6ebfe34e)
Diffstat (limited to 'knights/challenge_graph.cpp')
-rw-r--r-- | knights/challenge_graph.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/knights/challenge_graph.cpp b/knights/challenge_graph.cpp index 04dc3c0..2e70017 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 ); - 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&))); + TQObject::connect(myView, TQ_SIGNAL(leftClick(int)), TQ_SLOT(selectMatch(int))); + TQObject::connect(myView, TQ_SIGNAL(rightClick(Challenge_Game*, const TQPoint&)), TQ_SLOT(display_menuSeek(Challenge_Game*, const TQPoint&))); /* Setup Style for myStatusBar */ @@ -72,17 +72,17 @@ Challenge_Graph::Challenge_Graph( TQWidget* parent, const char* name, resource * menuSeek = new TDEPopupMenu( this ); menuSeek->setCheckable( TRUE ); - menuSeek->insertItem( i18n("Seek Matches"), this, TQT_SLOT( menuFunct(int) ), 0, MENU_SEEK ); + menuSeek->insertItem( i18n("Seek Matches"), this, TQ_SLOT( menuFunct(int) ), 0, MENU_SEEK ); menuSeek->insertSeparator(); - menuSeek->insertItem( i18n("Accept This Match"), this, TQT_SLOT( menuFunct(int) ), 0, MENU_ACCEPT_MATCH ); - menuSeek->insertItem( i18n("Tell..."), this, TQT_SLOT( menuFunct(int) ), 0, MENU_TELL ); - menuSeek->insertItem( i18n("Assess..."), this, TQT_SLOT( menuFunct(int) ), 0, MENU_ASSESS ); - menuSeek->insertItem( i18n("Player Info"), this, TQT_SLOT( menuFunct(int) ), 0, MENU_FINGER ); + menuSeek->insertItem( i18n("Accept This Match"), this, TQ_SLOT( menuFunct(int) ), 0, MENU_ACCEPT_MATCH ); + menuSeek->insertItem( i18n("Tell..."), this, TQ_SLOT( menuFunct(int) ), 0, MENU_TELL ); + menuSeek->insertItem( i18n("Assess..."), this, TQ_SLOT( menuFunct(int) ), 0, MENU_ASSESS ); + menuSeek->insertItem( i18n("Player Info"), this, TQ_SLOT( menuFunct(int) ), 0, MENU_FINGER ); menuSeek->insertItem( TQIconSet( myResource->LoadIcon( TQString("history"), TDEIcon::Small ) ), - i18n("Player History"), this, TQT_SLOT( menuFunct(int) ), 0, MENU_HISTORY ); + i18n("Player History"), this, TQ_SLOT( menuFunct(int) ), 0, MENU_HISTORY ); menuSeek->insertSeparator(); - menuSeek->insertItem( i18n("Add to Friends"), this, TQT_SLOT( menuFunct(int) ), 0, MENU_NOTIFY ); - menuSeek->insertItem( i18n("Ignore This Player"), this, TQT_SLOT( menuFunct(int) ), 0, MENU_CENSOR ); + menuSeek->insertItem( i18n("Add to Friends"), this, TQ_SLOT( menuFunct(int) ), 0, MENU_NOTIFY ); + menuSeek->insertItem( i18n("Ignore This Player"), this, TQ_SLOT( menuFunct(int) ), 0, MENU_CENSOR ); menuSeek->setItemChecked( MENU_SEEK, FALSE ); } /////////////////////////////////////// |