summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 12:59:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-09 10:22:42 +0900
commit94e82d58d169a7657faf5acd81e7e99feddd24cb (patch)
tree66dca9c32bc5006d6724ba22ae8ba664a775d264
parent97d003aad93d44fa1fe8900f695c03c831df2ffb (diff)
downloadtwin-style-fahrenheit-94e82d58d169a7657faf5acd81e7e99feddd24cb.tar.gz
twin-style-fahrenheit-94e82d58d169a7657faf5acd81e7e99feddd24cb.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--client/fahrenheitclient.cpp24
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);