diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:04:47 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:07:22 +0900 |
commit | cb5e787fde24bc986f17de4c78b5840f8ed85856 (patch) | |
tree | 3850303789d1016581d3194ea627075c3e0edb5c /ktux | |
parent | 6a9f2bb7d4d98953ac416ceb3c5539ddfa931bb8 (diff) | |
download | tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.tar.gz tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ktux')
-rw-r--r-- | ktux/sprite.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ktux/sprite.cpp b/ktux/sprite.cpp index 292a013..eda20a5 100644 --- a/ktux/sprite.cpp +++ b/ktux/sprite.cpp @@ -66,7 +66,7 @@ KSpriteSetup::KSpriteSetup( TQWidget *parent, const char *name ) TQSlider *sb = new TQSlider(0, 100, 10, speed, TQt::Horizontal, this ); tl11->addWidget(sb); - connect( sb, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotSpeed( int ) ) ); + connect( sb, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotSpeed( int ) ) ); preview = new TQWidget( this ); preview->setFixedSize( 220, 170 ); @@ -77,14 +77,14 @@ KSpriteSetup::KSpriteSetup( TQWidget *parent, const char *name ) KButtonBox *bbox = new KButtonBox(this); TQButton *button = bbox->addButton( i18n("About")); - connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT(slotAbout() ) ); + connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT(slotAbout() ) ); bbox->addStretch(1); button = bbox->addButton( KStdGuiItem::ok()); - connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( slotOkPressed() ) ); + connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( slotOkPressed() ) ); button = bbox->addButton(KStdGuiItem::cancel()); - connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( reject() ) ); + connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( reject() ) ); bbox->layout(); tl->addWidget(bbox); @@ -144,7 +144,7 @@ KSpriteSaver::KSpriteSaver( WId id ) : KScreenSaver( id ) readSettings(); blank(); - connect(&mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout())); + connect(&mTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimeout())); mTimer.start(120-mSpeed, true); } |