diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kpresenter/KPrEffectDia.cpp | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kpresenter/KPrEffectDia.cpp')
-rw-r--r-- | kpresenter/KPrEffectDia.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kpresenter/KPrEffectDia.cpp b/kpresenter/KPrEffectDia.cpp index ec1579dd..9ef5020c 100644 --- a/kpresenter/KPrEffectDia.cpp +++ b/kpresenter/KPrEffectDia.cpp @@ -98,7 +98,7 @@ KPrEffectDia::KPrEffectDia( TQWidget* parent, const char* name, const TQPtrList< cEffect->setCurrentItem( static_cast<int>( obj->getEffect() ) ); upperRow->addWidget(cEffect, 1, 1); - connect( cEffect, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( appearEffectChanged( int ) ) ); + connect( cEffect, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( appearEffectChanged( int ) ) ); lAppearSpeed = new TQLabel( i18n( "Speed:" ), grp1 ); lAppearSpeed->setAlignment( AlignVCenter ); @@ -160,7 +160,7 @@ KPrEffectDia::KPrEffectDia( TQWidget* parent, const char* name, const TQPtrList< appearSoundEffect->setChecked( obj->getAppearSoundEffect() ); upperRow->addWidget( appearSoundEffect, 5, 0 ); - connect( appearSoundEffect, TQT_SIGNAL( clicked() ), this, TQT_SLOT( appearSoundEffectChanged() ) ); + connect( appearSoundEffect, TQ_SIGNAL( clicked() ), this, TQ_SLOT( appearSoundEffectChanged() ) ); lSoundEffect1 = new TQLabel( i18n( "File name:" ), grp1 ); lSoundEffect1->setAlignment( AlignVCenter ); @@ -170,25 +170,25 @@ KPrEffectDia::KPrEffectDia( TQWidget* parent, const char* name, const TQPtrList< requester1->setURL( obj->getAppearSoundEffectFileName() ); upperRow->addWidget( requester1, 6, 1 ); - connect( requester1, TQT_SIGNAL( openFileDialog( KURLRequester * ) ), - this, TQT_SLOT( slotRequesterClicked( KURLRequester * ) ) ); + connect( requester1, TQ_SIGNAL( openFileDialog( KURLRequester * ) ), + this, TQ_SLOT( slotRequesterClicked( KURLRequester * ) ) ); - connect( requester1, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotAppearFileChanged( const TQString& ) ) ); + connect( requester1, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotAppearFileChanged( const TQString& ) ) ); buttonTestPlaySoundEffect1 = new TQPushButton( grp1 ); buttonTestPlaySoundEffect1->setIconSet( SmallIconSet("1rightarrow") ); TQToolTip::add( buttonTestPlaySoundEffect1, i18n("Play") ); upperRow->addWidget( buttonTestPlaySoundEffect1, 6, 2 ); - connect( buttonTestPlaySoundEffect1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( playSound1() ) ); + connect( buttonTestPlaySoundEffect1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( playSound1() ) ); buttonTestStopSoundEffect1 = new TQPushButton( grp1 ); buttonTestStopSoundEffect1->setIconSet( SmallIconSet("media-playback-stop") ); TQToolTip::add( buttonTestStopSoundEffect1, i18n("Stop") ); upperRow->addWidget( buttonTestStopSoundEffect1, 6, 3 ); - connect( buttonTestStopSoundEffect1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( stopSound1() ) ); + connect( buttonTestStopSoundEffect1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( stopSound1() ) ); disappear = new TQCheckBox( i18n( "Disappear" ), page ); @@ -230,7 +230,7 @@ KPrEffectDia::KPrEffectDia( TQWidget* parent, const char* name, const TQPtrList< cDisappear->setCurrentItem( static_cast<int>( obj->getEffect3() ) ); lowerRow->addWidget(cDisappear, 1, 1); - connect( cDisappear, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( disappearEffectChanged( int ) ) ); + connect( cDisappear, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( disappearEffectChanged( int ) ) ); lDisappearSpeed = new TQLabel( i18n( "Speed:" ), grp2 ); lDisappearSpeed->setAlignment( AlignVCenter ); @@ -264,7 +264,7 @@ KPrEffectDia::KPrEffectDia( TQWidget* parent, const char* name, const TQPtrList< lowerRow->addWidget( disappearSoundEffect, 4, 0 ); disappearSoundEffect->setEnabled( disappear->isChecked() ); - connect( disappearSoundEffect, TQT_SIGNAL( clicked() ), this, TQT_SLOT( disappearSoundEffectChanged() ) ); + connect( disappearSoundEffect, TQ_SIGNAL( clicked() ), this, TQ_SLOT( disappearSoundEffectChanged() ) ); lSoundEffect2 = new TQLabel( i18n( "File name:" ), grp2 ); lSoundEffect2->setAlignment( AlignVCenter ); @@ -274,32 +274,32 @@ KPrEffectDia::KPrEffectDia( TQWidget* parent, const char* name, const TQPtrList< requester2->setURL( obj->getDisappearSoundEffectFileName() ); lowerRow->addWidget( requester2, 5, 1 ); - connect( requester2, TQT_SIGNAL( openFileDialog( KURLRequester * ) ), - this, TQT_SLOT( slotRequesterClicked( KURLRequester * ) ) ); + connect( requester2, TQ_SIGNAL( openFileDialog( KURLRequester * ) ), + this, TQ_SLOT( slotRequesterClicked( KURLRequester * ) ) ); - connect( requester2, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotDisappearFileChanged( const TQString& ) ) ); + connect( requester2, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotDisappearFileChanged( const TQString& ) ) ); buttonTestPlaySoundEffect2 = new TQPushButton( grp2 ); buttonTestPlaySoundEffect2->setIconSet( SmallIconSet("1rightarrow") ); TQToolTip::add( buttonTestPlaySoundEffect2, i18n("Play") ); lowerRow->addWidget( buttonTestPlaySoundEffect2, 5, 2 ); - connect( buttonTestPlaySoundEffect2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( playSound2() ) ); + connect( buttonTestPlaySoundEffect2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( playSound2() ) ); buttonTestStopSoundEffect2 = new TQPushButton( grp2 ); buttonTestStopSoundEffect2->setIconSet( SmallIconSet("media-playback-stop") ); TQToolTip::add( buttonTestStopSoundEffect2, i18n("Stop") ); lowerRow->addWidget( buttonTestStopSoundEffect2, 5, 3 ); - connect( buttonTestStopSoundEffect2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( stopSound2() ) ); + connect( buttonTestStopSoundEffect2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( stopSound2() ) ); topLayout->activate(); - connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotEffectDiaOk() ) ); - connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( accept() ) ); - connect( disappear, TQT_SIGNAL( clicked() ), this, TQT_SLOT( disappearChanged() ) ); + connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotEffectDiaOk() ) ); + connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( accept() ) ); + connect( disappear, TQ_SIGNAL( clicked() ), this, TQ_SLOT( disappearChanged() ) ); disappearChanged(); appearSoundEffectChanged(); } |