From 4befffcc6e2aec78a8b425aa402a68b8f927ae35 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 6 Jan 2024 12:59:57 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 94e82d58d169a7657faf5acd81e7e99feddd24cb) --- client/fahrenheitclient.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/client/fahrenheitclient.cpp b/client/fahrenheitclient.cpp index 1f298b3..d5484d7 100644 --- a/client/fahrenheitclient.cpp +++ b/client/fahrenheitclient.cpp @@ -398,8 +398,8 @@ void FahrenheitClient::addButtons(TQBoxLayout *layout, const TQString& s) button[ButtonMenu] = new FahrenheitButton(this, "menu", i18n("Menu"), ButtonMenu, 0); - connect(button[ButtonMenu], SIGNAL(pressed()), - this, SLOT(menuButtonPressed())); + connect(button[ButtonMenu], TQ_SIGNAL(pressed()), + this, TQ_SLOT(menuButtonPressed())); button[ButtonMenu]->setFixedHeight(19); menuLayout_->insertWidget(-1, button[ButtonMenu], 0, TQt::AlignTop); @@ -419,8 +419,8 @@ void FahrenheitClient::addButtons(TQBoxLayout *layout, const TQString& s) button[ButtonSticky] = new FahrenheitButton(this, "sticky", tip, ButtonSticky, pixmap); - connect(button[ButtonSticky], SIGNAL(clicked()), - this, SLOT(toggleOnAllDesktops())); + connect(button[ButtonSticky], TQ_SIGNAL(clicked()), + this, TQ_SLOT(toggleOnAllDesktops())); button[ButtonSticky]->setFixedHeight(11); layout->insertWidget(-1, button[ButtonSticky], 0, TQt::AlignBottom); @@ -432,8 +432,8 @@ void FahrenheitClient::addButtons(TQBoxLayout *layout, const TQString& s) button[ButtonHelp] = new FahrenheitButton(this, "help", i18n("Help"), ButtonHelp, "help"); - connect(button[ButtonHelp], SIGNAL(clicked()), - this, SLOT(showContextHelp())); + connect(button[ButtonHelp], TQ_SIGNAL(clicked()), + this, TQ_SLOT(showContextHelp())); button[ButtonHelp]->setFixedHeight(11); layout->insertWidget(-1, button[ButtonHelp], 0, TQt::AlignBottom); @@ -446,8 +446,8 @@ void FahrenheitClient::addButtons(TQBoxLayout *layout, const TQString& s) new FahrenheitButton(this, "iconify", i18n("Minimize"), ButtonMin, "minimize"); - connect(button[ButtonMin], SIGNAL(clicked()), - this, SLOT(minimize())); + connect(button[ButtonMin], TQ_SIGNAL(clicked()), + this, TQ_SLOT(minimize())); button[ButtonMin]->setFixedHeight(11); layout->insertWidget(-1, button[ButtonMin], 0, TQt::AlignBottom); @@ -466,8 +466,8 @@ void FahrenheitClient::addButtons(TQBoxLayout *layout, const TQString& s) button[ButtonMax] = new FahrenheitButton(this, "maximize", tip, ButtonMax, pixmap); - connect(button[ButtonMax], SIGNAL(clicked()), - this, SLOT(maxButtonPressed())); + connect(button[ButtonMax], TQ_SIGNAL(clicked()), + this, TQ_SLOT(maxButtonPressed())); button[ButtonMax]->setFixedHeight(11); layout->insertWidget(-1, button[ButtonMax], 0, TQt::AlignBottom); @@ -479,8 +479,8 @@ void FahrenheitClient::addButtons(TQBoxLayout *layout, const TQString& s) button[ButtonClose] = new FahrenheitButton(this, "close", i18n("Close"), ButtonClose, "close"); - connect(button[ButtonClose], SIGNAL(clicked()), - this, SLOT(closeWindow())); + connect(button[ButtonClose], TQ_SIGNAL(clicked()), + this, TQ_SLOT(closeWindow())); button[ButtonClose]->setFixedHeight(11); layout->insertWidget(-1, button[ButtonClose], 0, TQt::AlignBottom); -- cgit v1.2.1