diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 12:59:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-09 10:23:31 +0900 |
commit | 4befffcc6e2aec78a8b425aa402a68b8f927ae35 (patch) | |
tree | 668c1db2fb5f9dd4acbe748b69dc05496a346de8 | |
parent | e7cc96a0b1f26e59b06243cc5145afded982ca64 (diff) | |
download | twin-style-fahrenheit-4befffcc6e2aec78a8b425aa402a68b8f927ae35.tar.gz twin-style-fahrenheit-4befffcc6e2aec78a8b425aa402a68b8f927ae35.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 94e82d58d169a7657faf5acd81e7e99feddd24cb)
-rw-r--r-- | client/fahrenheitclient.cpp | 24 |
1 files 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); |