summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-06 13:00:39 +0900
committerMichele Calgaro <[email protected]>2024-01-09 10:21:41 +0900
commit368ed30c9361b840a112fad8ad732abe46f4958b (patch)
tree24d94402e445f30fa42e7d77b10b9675cca5487e
parent8cf5d24898599c0e874e55825423ca4656874346 (diff)
downloadtwin-style-machbunt-368ed30c9361b840a112fad8ad732abe46f4958b.tar.gz
twin-style-machbunt-368ed30c9361b840a112fad8ad732abe46f4958b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit cebd5a1a05e8d50fc5c0d1fa35bd2480dd11e08e)
-rw-r--r--src/MachBunt.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/MachBunt.cpp b/src/MachBunt.cpp
index ea292aa..fffb613 100644
--- a/src/MachBunt.cpp
+++ b/src/MachBunt.cpp
@@ -271,19 +271,19 @@ void MachBunt::createButtons()
button[BtnClose] = new MachBuntButton(this, "close", BtnClose, middle_img[0][smallButtons], middle_img[1][smallButtons], smallButtons, i18n("Close"));
// Connect required stuff together
- connect( button[BtnMenu], SIGNAL(pressed()), this, SLOT( menuButtonPressed() ));
- connect( button[BtnClose], SIGNAL( clicked() ), this, SLOT( closeWindow() ));
- connect( button[BtnIconify], SIGNAL( clicked() ), this, SLOT( minimize() ));
- connect( button[BtnMax], SIGNAL( clicked() ), this, SLOT( slotMaximize() ));
+ connect( button[BtnMenu], TQ_SIGNAL(pressed()), this, TQ_SLOT( menuButtonPressed() ));
+ connect( button[BtnClose], TQ_SIGNAL( clicked() ), this, TQ_SLOT( closeWindow() ));
+ connect( button[BtnIconify], TQ_SIGNAL( clicked() ), this, TQ_SLOT( minimize() ));
+ connect( button[BtnMax], TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotMaximize() ));
for ( int i=0; i < BtnCount; i++ )
if ( button[i] ){
- connect( button[i], SIGNAL(shapeMe(int)),this, SLOT(doShape(int)));
- connect( button[i], SIGNAL(pressed()),this, SLOT(buttonPressed()));
- connect( button[i], SIGNAL(released()),this, SLOT(buttonReleased()));
- connect( button[i], SIGNAL(mousePressedMove(TQMouseEvent*)),this, SLOT(mouseMoveOnButtonPressed(TQMouseEvent*)));
+ connect( button[i], TQ_SIGNAL(shapeMe(int)),this, TQ_SLOT(doShape(int)));
+ connect( button[i], TQ_SIGNAL(pressed()),this, TQ_SLOT(buttonPressed()));
+ connect( button[i], TQ_SIGNAL(released()),this, TQ_SLOT(buttonReleased()));
+ connect( button[i], TQ_SIGNAL(mousePressedMove(TQMouseEvent*)),this, TQ_SLOT(mouseMoveOnButtonPressed(TQMouseEvent*)));
}
- connect( button[BtnHelp], SIGNAL( clicked() ), this, SLOT( showContextHelp() ));
+ connect( button[BtnHelp], TQ_SIGNAL( clicked() ), this, TQ_SLOT( showContextHelp() ));
// Hide buttons which are not required
// We can un-hide them if required later