summaryrefslogtreecommitdiffstats
path: root/malloryclient/malloryclient.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-10-03 20:45:16 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-10-03 20:45:16 +0300
commit0c35ccad36b9f8b8763787c48138710fdf539977 (patch)
tree5fbf4f84094f478ba6379741b5c68893cf1cab0d /malloryclient/malloryclient.cpp
parente8fc33e1df63c45fec236b65fd0d0c77dbbb8720 (diff)
downloadtwin-style-mallory-0c35ccad36b9f8b8763787c48138710fdf539977.tar.gz
twin-style-mallory-0c35ccad36b9f8b8763787c48138710fdf539977.zip
Fix to include latest TQt API changes
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'malloryclient/malloryclient.cpp')
-rw-r--r--malloryclient/malloryclient.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/malloryclient/malloryclient.cpp b/malloryclient/malloryclient.cpp
index 9c2f2d6..722fec2 100644
--- a/malloryclient/malloryclient.cpp
+++ b/malloryclient/malloryclient.cpp
@@ -149,7 +149,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
if (!m_button[ButtonMenu])
{
m_button[ButtonMenu] = new MalloryButton(this, "menu", i18n("Menu"), ButtonMenu);
- connect(m_button[ButtonMenu], SIGNAL(pressed()), this, SLOT(menuButtonPressed()));
+ connect(m_button[ButtonMenu], TQ_SIGNAL(pressed()), this, TQ_SLOT(menuButtonPressed()));
layout->addWidget(m_button[ButtonMenu], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;
@@ -157,7 +157,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
if (!m_button[ButtonHelp] && providesContextHelp())
{
m_button[ButtonHelp] = new MalloryButton(this, "help", i18n("Help"), ButtonHelp);
- connect(m_button[ButtonHelp], SIGNAL(clicked()), this, SLOT(showContextHelp()));
+ connect(m_button[ButtonHelp], TQ_SIGNAL(clicked()), this, TQ_SLOT(showContextHelp()));
layout->addWidget(m_button[ButtonHelp], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;
@@ -165,7 +165,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
if ((!m_button[ButtonMin]) && isMinimizable())
{
m_button[ButtonMin] = new MalloryButton(this, "minimize", i18n("Minimize"), ButtonMin);
- connect(m_button[ButtonMin], SIGNAL(clicked()), this, SLOT(minimize()));
+ connect(m_button[ButtonMin], TQ_SIGNAL(clicked()), this, TQ_SLOT(minimize()));
layout->addWidget(m_button[ButtonMin], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;
@@ -173,7 +173,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
if ((!m_button[ButtonMax]) && isMaximizable())
{
m_button[ButtonMax] = new MalloryButton(this, "maximize", (maximizeMode()!=MaximizeRestore)?i18n("Minimize"):i18n("Maximize"), ButtonMax);
- connect(m_button[ButtonMax], SIGNAL(clicked()), this, SLOT(maxButtonPressed()));
+ connect(m_button[ButtonMax], TQ_SIGNAL(clicked()), this, TQ_SLOT(maxButtonPressed()));
layout->addWidget(m_button[ButtonMax], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;
@@ -181,7 +181,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
if ((!m_button[ButtonClose]) && isCloseable())
{
m_button[ButtonClose] = new MalloryButton(this, "close", i18n("Close"), ButtonClose);
- connect(m_button[ButtonClose], SIGNAL(clicked()), this, SLOT(closeWindow()));
+ connect(m_button[ButtonClose], TQ_SIGNAL(clicked()), this, TQ_SLOT(closeWindow()));
layout->addWidget(m_button[ButtonClose], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;
@@ -190,7 +190,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
{
m_button[ButtonOnAllDesktops] = new MalloryButton(this, "onAllDesktops", isOnAllDesktops() ? i18n("Not On All Desktops") : i18n("On All Desktops"), ButtonOnAllDesktops);
m_button[ButtonOnAllDesktops]->setOnAllDesktops(isOnAllDesktops());
- connect(m_button[ButtonOnAllDesktops], SIGNAL(clicked()), this, SLOT(toggleOnAllDesktops()));
+ connect(m_button[ButtonOnAllDesktops], TQ_SIGNAL(clicked()), this, TQ_SLOT(toggleOnAllDesktops()));
layout->addWidget(m_button[ButtonOnAllDesktops], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;
@@ -198,7 +198,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
if (!m_button[ButtonAbove])
{
m_button[ButtonAbove] = new MalloryButton(this, "above", i18n("Keep Above Others"), ButtonAbove);
- connect(m_button[ButtonAbove], SIGNAL(clicked()), this, SLOT(slotKeepAbove()));
+ connect(m_button[ButtonAbove], TQ_SIGNAL(clicked()), this, TQ_SLOT(slotKeepAbove()));
layout->addWidget(m_button[ButtonAbove], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;
@@ -206,7 +206,7 @@ void MalloryClient::addButtons(TQBoxLayout *layout, const TQString &s)
if (!m_button[ButtonBelow])
{
m_button[ButtonBelow] = new MalloryButton(this, "below", i18n("Keep Below Others"), ButtonBelow);
- connect(m_button[ButtonBelow], SIGNAL(clicked()), this, SLOT(slotKeepBelow()));
+ connect(m_button[ButtonBelow], TQ_SIGNAL(clicked()), this, TQ_SLOT(slotKeepBelow()));
layout->addWidget(m_button[ButtonBelow], 0, TQt::AlignHCenter | TQt::AlignTop);
}
break;