diff options
-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 |