summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-06 12:58:45 +0900
committerMichele Calgaro <[email protected]>2024-01-06 12:58:45 +0900
commitbfa2c2aaa71232a905bc60a77407dab1423d0959 (patch)
treeb5797a7bae2f1b1c7f16a52614d1be80a2665c05 /client
parent86065aeae28674129d1cfbef82112345cf8cb6ed (diff)
downloadtde-style-domino-bfa2c2aaa71232a905bc60a77407dab1423d0959.tar.gz
tde-style-domino-bfa2c2aaa71232a905bc60a77407dab1423d0959.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'client')
-rw-r--r--client/config/config.cpp44
-rw-r--r--client/dominoclient.cpp6
2 files changed, 25 insertions, 25 deletions
diff --git a/client/config/config.cpp b/client/config/config.cpp
index ff6deeb..95b605e 100644
--- a/client/config/config.cpp
+++ b/client/config/config.cpp
@@ -132,35 +132,35 @@ DominoConfig::DominoConfig( TDEConfig* config, TQWidget* parent )
load(config);
// Ensure we track user changes properly
- connect(customGradientColors, SIGNAL(toggled(bool)), topGradientColor, SLOT(setEnabled(bool)));
- connect(customGradientColors, SIGNAL(toggled(bool)), bottomGradientColor, SLOT(setEnabled(bool)));
+ connect(customGradientColors, TQ_SIGNAL(toggled(bool)), topGradientColor, TQ_SLOT(setEnabled(bool)));
+ connect(customGradientColors, TQ_SIGNAL(toggled(bool)), bottomGradientColor, TQ_SLOT(setEnabled(bool)));
- connect(customBorderColor, SIGNAL(toggled(bool)), borderColor, SLOT(setEnabled(bool)));
- connect(customButtonColor, SIGNAL(toggled(bool)), buttonColor, SLOT(setEnabled(bool)));
- connect(customButtonIconColor, SIGNAL(toggled(bool)), buttonIconColor, SLOT(setEnabled(bool)));
+ connect(customBorderColor, TQ_SIGNAL(toggled(bool)), borderColor, TQ_SLOT(setEnabled(bool)));
+ connect(customButtonColor, TQ_SIGNAL(toggled(bool)), buttonColor, TQ_SLOT(setEnabled(bool)));
+ connect(customButtonIconColor, TQ_SIGNAL(toggled(bool)), buttonIconColor, TQ_SLOT(setEnabled(bool)));
- connect(customGradientColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
- connect(topGradientColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
- connect(bottomGradientColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
+ connect(customGradientColors, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(topGradientColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
+ connect(bottomGradientColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
- connect(customBorderColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
- connect(borderColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
+ connect(customBorderColor, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(borderColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
- connect(customButtonColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
- connect(buttonColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
- connect(customButtonIconColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
- connect(buttonIconColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
+ connect(customButtonColor, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(buttonColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
+ connect(customButtonIconColor, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(buttonIconColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
- connect(showInactiveButtons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
- connect(showButtonIcons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
- connect(darkFrame, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
+ connect(showInactiveButtons, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(showButtonIcons, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(darkFrame, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
- connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(loadButtonContourColors()));
- connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
- connect(buttonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
- connect(buttonMouseOverContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
- connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
+ connect(useDominoStyleContourColors, TQ_SIGNAL(clicked()), this, TQ_SLOT(loadButtonContourColors()));
+ connect(useDominoStyleContourColors, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(buttonContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
+ connect(buttonMouseOverContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
+ connect(buttonPressedContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
// Make the widgets visible in twindecoration valueChanged
diff --git a/client/dominoclient.cpp b/client/dominoclient.cpp
index a6162dd..a8c73ed 100644
--- a/client/dominoclient.cpp
+++ b/client/dominoclient.cpp
@@ -740,7 +740,7 @@ KCommonDecorationButton *DominoClient::createButton(ButtonType type)
case MenuButton: {
DominoButton* menu = new DominoButton(MenuButton, this, "menu");
menuButton = menu;
- connect(menu, SIGNAL(destroyed()), this, SLOT(menuButtonDestroyed()));
+ connect(menu, TQ_SIGNAL(destroyed()), this, TQ_SLOT(menuButtonDestroyed()));
return menu;
break;
}
@@ -789,8 +789,8 @@ void DominoClient::init()
KCommonDecoration::reset(SettingButtons);
iconChange();
- connect(this, SIGNAL(keepAboveChanged(bool) ), SLOT(keepAboveChange(bool) ) );
- connect(this, SIGNAL(keepBelowChanged(bool) ), SLOT(keepBelowChange(bool) ) );
+ connect(this, TQ_SIGNAL(keepAboveChanged(bool) ), TQ_SLOT(keepAboveChange(bool) ) );
+ connect(this, TQ_SIGNAL(keepBelowChanged(bool) ), TQ_SLOT(keepBelowChange(bool) ) );
}
void DominoClient::createLayout()