Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 11 months ago
parent 97d003aad9
commit 94e82d58d1
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

Loading…
Cancel
Save