diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:46:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 18:41:00 +0900 |
commit | d0fc8a81142abedca766138edbd033dd4107daa7 (patch) | |
tree | 2a0de93a97438c432780b69c0a029e009c6db4eb /tdescreensaver/kdesavers/lines.cpp | |
parent | 060a647e209ab79f84514a0edb4e04fd51a47b19 (diff) | |
download | tdeartwork-d0fc8a81142abedca766138edbd033dd4107daa7.tar.gz tdeartwork-d0fc8a81142abedca766138edbd033dd4107daa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 64efc076184547c5d23863fb027dd3a01d552f19)
Diffstat (limited to 'tdescreensaver/kdesavers/lines.cpp')
-rw-r--r-- | tdescreensaver/kdesavers/lines.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tdescreensaver/kdesavers/lines.cpp b/tdescreensaver/kdesavers/lines.cpp index e80d85c6..07123934 100644 --- a/tdescreensaver/kdesavers/lines.cpp +++ b/tdescreensaver/kdesavers/lines.cpp @@ -133,7 +133,7 @@ kLinesSetup::kLinesSetup(TQWidget *parent, const char *name) sb->setMinimumSize(120, 20); sb->setTickmarks(TQSlider::Below); sb->setTickInterval(32); - connect(sb, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotLength(int))); + connect(sb, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotLength(int))); tl1->addWidget(sb); label=new TQLabel(i18n("Speed:"), main); @@ -143,31 +143,31 @@ kLinesSetup::kLinesSetup(TQWidget *parent, const char *name) sb->setMinimumSize(120, 20); sb->setTickmarks(TQSlider::Below); sb->setTickInterval(10); - connect( sb, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotSpeed( int ) ) ); + connect( sb, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotSpeed( int ) ) ); tl1->addWidget(sb); label=new TQLabel(i18n("Beginning:"), main); tl1->addWidget(label); colorPush0=new KColorButton(colstart, main); - connect(colorPush0, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(slotColstart(const TQColor &))); + connect(colorPush0, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(slotColstart(const TQColor &))); tl1->addWidget(colorPush0); label=new TQLabel(i18n("Middle:"), main); tl1->addWidget(label); colorPush1=new KColorButton(colmid, main); - connect(colorPush1, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(slotColmid(const TQColor &))); + connect(colorPush1, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(slotColmid(const TQColor &))); tl1->addWidget(colorPush1); label=new TQLabel(i18n("End:"), main); tl1->addWidget(label); colorPush2=new KColorButton(colend, main); - connect(colorPush2, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(slotColend(const TQColor &))); + connect(colorPush2, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(slotColend(const TQColor &))); tl1->addWidget(colorPush2); tl1->addStretch(); @@ -283,7 +283,7 @@ kLinesSaver::kLinesSaver( WId id ) : KScreenSaver( id ){ initialiseColor(); initialiseLines(); timer.start(speed); - connect(&timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout())); + connect(&timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimeout())); } kLinesSaver::~kLinesSaver(){ |