summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-06 13:00:53 +0900
committerMichele Calgaro <[email protected]>2024-01-09 10:22:08 +0900
commita0ecb910ebfd5bc6ac97bfa25dbc7898191e8525 (patch)
tree4fc042e85eade656746ca5349508f63dc5a31596
parent3193200c970d7e5d69c0aa33fe9657163bb72aec (diff)
downloadtwin-style-suse2-a0ecb910ebfd5bc6ac97bfa25dbc7898191e8525.tar.gz
twin-style-suse2-a0ecb910ebfd5bc6ac97bfa25dbc7898191e8525.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0c5fa47fb33bd800c42f9565fcd727b357ce1559)
-rw-r--r--src/SUSE2button.cpp2
-rw-r--r--src/config/config.cpp50
2 files changed, 26 insertions, 26 deletions
diff --git a/src/SUSE2button.cpp b/src/SUSE2button.cpp
index 9f68f03..e06c8cf 100644
--- a/src/SUSE2button.cpp
+++ b/src/SUSE2button.cpp
@@ -64,7 +64,7 @@ SUSE2Button::SUSE2Button(ButtonType type, SUSE2Client *parent, const char *name)
setBackgroundMode(NoBackground);
animTmr = new TQTimer(this);
- connect(animTmr, SIGNAL(timeout() ), this, SLOT(animate() ) );
+ connect(animTmr, TQ_SIGNAL(timeout() ), this, TQ_SLOT(animate() ) );
animProgress = 0;
}
diff --git a/src/config/config.cpp b/src/config/config.cpp
index edbacde..7372eb7 100644
--- a/src/config/config.cpp
+++ b/src/config/config.cpp
@@ -69,31 +69,31 @@ SUSE2Config::SUSE2Config(TDEConfig *config, TQWidget *parent)
toggleIconSettings(m_dialog->useTitleProps->isChecked());
// setup the connections
- connect(m_dialog->titleAlign, SIGNAL(clicked(int)), SIGNAL(changed()));
- connect(m_dialog->roundCorners, SIGNAL(clicked(int)), SIGNAL(changed()));
- connect(m_dialog->menuClose, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->titleShadow, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->addSpace, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(m_dialog->titlebarStyle, SIGNAL(activated(int)), SIGNAL(changed()));
-
- connect(m_dialog->buttonType, SIGNAL(activated(int)), SIGNAL(changed()));
- connect(m_dialog->customColors, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->useTitleProps, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->animateButtons, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->redCloseButton, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->iconSize, SIGNAL(valueChanged(int)), SIGNAL(changed()));
- connect(m_dialog->customIconColors, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->activeFgColor, SIGNAL(changed(const TQColor &)), SIGNAL(changed()));
- connect(m_dialog->activeBgColor, SIGNAL(changed(const TQColor &)), SIGNAL(changed()));
- connect(m_dialog->inactiveFgColor, SIGNAL(changed(const TQColor &)), SIGNAL(changed()));
- connect(m_dialog->inactiveBgColor, SIGNAL(changed(const TQColor &)), SIGNAL(changed()));
- connect(m_dialog->iconShadow, SIGNAL(toggled(bool)), SIGNAL(changed()));
-
- connect(m_dialog->titleBarLogo, SIGNAL(toggled(bool)), SIGNAL(changed()));
- connect(m_dialog->titleBarLogoOffset, SIGNAL(valueChanged(int)), SIGNAL(changed()));
-
- connect(m_dialog->useTitleProps, SIGNAL(toggled(bool)), SLOT(toggleIconSettings(bool)));
- connect(m_dialog->selectButton, SIGNAL(clicked()), SLOT(selectImage()));
+ connect(m_dialog->titleAlign, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed()));
+ connect(m_dialog->roundCorners, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed()));
+ connect(m_dialog->menuClose, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->titleShadow, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->addSpace, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_dialog->titlebarStyle, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+
+ connect(m_dialog->buttonType, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed()));
+ connect(m_dialog->customColors, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->useTitleProps, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->animateButtons, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->redCloseButton, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->iconSize, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+ connect(m_dialog->customIconColors, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->activeFgColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SIGNAL(changed()));
+ connect(m_dialog->activeBgColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SIGNAL(changed()));
+ connect(m_dialog->inactiveFgColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SIGNAL(changed()));
+ connect(m_dialog->inactiveBgColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SIGNAL(changed()));
+ connect(m_dialog->iconShadow, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+
+ connect(m_dialog->titleBarLogo, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()));
+ connect(m_dialog->titleBarLogoOffset, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()));
+
+ connect(m_dialog->useTitleProps, TQ_SIGNAL(toggled(bool)), TQ_SLOT(toggleIconSettings(bool)));
+ connect(m_dialog->selectButton, TQ_SIGNAL(clicked()), TQ_SLOT(selectImage()));
}
SUSE2Config::~SUSE2Config()