summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/kdesavers/kclock.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-11 10:46:02 +0900
committerMichele Calgaro <[email protected]>2024-01-12 18:41:00 +0900
commitd0fc8a81142abedca766138edbd033dd4107daa7 (patch)
tree2a0de93a97438c432780b69c0a029e009c6db4eb /tdescreensaver/kdesavers/kclock.cpp
parent060a647e209ab79f84514a0edb4e04fd51a47b19 (diff)
downloadtdeartwork-d0fc8a81142abedca766138edbd033dd4107daa7.tar.gz
tdeartwork-d0fc8a81142abedca766138edbd033dd4107daa7.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 64efc076184547c5d23863fb027dd3a01d552f19)
Diffstat (limited to 'tdescreensaver/kdesavers/kclock.cpp')
-rw-r--r--tdescreensaver/kdesavers/kclock.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/tdescreensaver/kdesavers/kclock.cpp b/tdescreensaver/kdesavers/kclock.cpp
index c3983bff..7322cddb 100644
--- a/tdescreensaver/kdesavers/kclock.cpp
+++ b/tdescreensaver/kdesavers/kclock.cpp
@@ -92,8 +92,8 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name)
KColorButton *colorButton = new KColorButton(m_hourColor, colgroup);
colorButton->setFixedWidth(COLOR_BUTTON_WIDTH);
label->setBuddy(colorButton);
- connect(colorButton, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(slotHourColor(const TQColor &)));
+ connect(colorButton, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(slotHourColor(const TQColor &)));
grid->addWidget( label, 1, 1 );
grid->addWidget( colorButton, 1, 2 );
@@ -101,8 +101,8 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name)
colorButton = new KColorButton(m_minColor, colgroup);
colorButton->setFixedWidth(COLOR_BUTTON_WIDTH);
label->setBuddy(colorButton);
- connect(colorButton, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(slotMinColor(const TQColor &)));
+ connect(colorButton, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(slotMinColor(const TQColor &)));
grid->addWidget( label, 2, 1 );
grid->addWidget( colorButton, 2, 2 );
@@ -110,8 +110,8 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name)
colorButton = new KColorButton(m_secColor, colgroup);
colorButton->setFixedWidth(COLOR_BUTTON_WIDTH);
label->setBuddy(colorButton);
- connect(colorButton, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(slotSecColor(const TQColor &)));
+ connect(colorButton, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(slotSecColor(const TQColor &)));
grid->addWidget( label, 3, 1 );
grid->addWidget( colorButton, 3, 2 );
@@ -119,8 +119,8 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name)
colorButton = new KColorButton(m_scaleColor, colgroup);
colorButton->setFixedWidth(COLOR_BUTTON_WIDTH);
label->setBuddy(colorButton);
- connect(colorButton, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(slotScaleColor(const TQColor &)));
+ connect(colorButton, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(slotScaleColor(const TQColor &)));
grid->addWidget( label, 4, 1 );
grid->addWidget( colorButton, 4, 2 );
@@ -128,8 +128,8 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name)
colorButton = new KColorButton(m_bgndColor, colgroup);
colorButton->setFixedWidth(COLOR_BUTTON_WIDTH);
label->setBuddy(colorButton);
- connect(colorButton, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(slotBgndColor(const TQColor &)));
+ connect(colorButton, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(slotBgndColor(const TQColor &)));
grid->addWidget( label, 5, 1 );
grid->addWidget( colorButton, 5, 2 );
@@ -147,7 +147,7 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name)
label->setBuddy( qs );
qs->setTickInterval(1);
qs->setTickmarks(TQSlider::Below);
- connect(qs, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSliderMoved(int)));
+ connect(qs, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSliderMoved(int)));
top->addWidget( qs );
bool rtl = kapp->reverseLayout();
@@ -162,7 +162,7 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name)
TQCheckBox *keepCentered = new TQCheckBox(i18n("&Keep clock centered"), main);
keepCentered->setChecked(m_keepCentered);
- connect(keepCentered, TQT_SIGNAL(stateChanged(int)), TQT_SLOT(slotKeepCenteredChanged(int)));
+ connect(keepCentered, TQ_SIGNAL(stateChanged(int)), TQ_SLOT(slotKeepCenteredChanged(int)));
top->addWidget(keepCentered);
top->addStretch();
}
@@ -426,7 +426,7 @@ KClockSaver::KClockSaver(WId id)
{
readSettings();
setBackgroundColor(m_bgndColor);
- connect(&m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout()));
+ connect(&m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimeout()));
start(m_size);
m_timer.start(TIMER_INTERVALL);
}