diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 13:00:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 13:00:39 +0900 |
commit | cebd5a1a05e8d50fc5c0d1fa35bd2480dd11e08e (patch) | |
tree | ae4f61cf7b5e33f483092dd09240313b600ba8f8 | |
parent | fe86d1e093be45e1736d502c4fbdcd38b987cfc0 (diff) | |
download | twin-style-machbunt-cebd5a1a05e8d50fc5c0d1fa35bd2480dd11e08e.tar.gz twin-style-machbunt-cebd5a1a05e8d50fc5c0d1fa35bd2480dd11e08e.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/MachBunt.cpp | 18 |
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 |