summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 13:00:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 13:00:53 +0900
commit0c5fa47fb33bd800c42f9565fcd727b357ce1559 (patch)
tree0cbe8b58d832c1b2defe827606f58e0fce32ae31
parent0517ecf88f2d593fef3555c1f840574e3cfbf84e (diff)
downloadtwin-style-suse2-0c5fa47fb33bd800c42f9565fcd727b357ce1559.tar.gz
twin-style-suse2-0c5fa47fb33bd800c42f9565fcd727b357ce1559.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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()