summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--malloryclient/mallorybutton.h2
-rw-r--r--malloryclient/malloryclient.cpp16
-rw-r--r--malloryclient/malloryclient.h2
-rw-r--r--malloryclient/malloryhandler.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/malloryclient/mallorybutton.h b/malloryclient/mallorybutton.h
index 351f5aa..69c21d9 100644
--- a/malloryclient/mallorybutton.h
+++ b/malloryclient/mallorybutton.h
@@ -21,7 +21,7 @@ class MalloryClient;
class MalloryButton : public TQButton
{
-Q_OBJECT
+TQ_OBJECT
public:
MalloryButton(MalloryClient *parent = 0, const char *name = 0, const TQString &tip=NULL, ButtonType type = (ButtonType)0);
~MalloryButton();
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;
diff --git a/malloryclient/malloryclient.h b/malloryclient/malloryclient.h
index d952987..22701ea 100644
--- a/malloryclient/malloryclient.h
+++ b/malloryclient/malloryclient.h
@@ -23,7 +23,7 @@ class MalloryButton;
class MalloryClient : public KDecoration
{
-Q_OBJECT
+TQ_OBJECT
public:
MalloryClient(KDecorationBridge* bridge, KDecorationFactory* factory);
~MalloryClient();
diff --git a/malloryclient/malloryhandler.h b/malloryclient/malloryhandler.h
index 5b75f31..5865a09 100644
--- a/malloryclient/malloryhandler.h
+++ b/malloryclient/malloryhandler.h
@@ -23,7 +23,7 @@ const char default_right[] = "HIAX";
class MalloryHandler : public TQObject, public KDecorationFactory
{
-Q_OBJECT
+TQ_OBJECT
public:
MalloryHandler();
~MalloryHandler();