From 773c73d27492ada253b9e81752bd735ee3dc3ac1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:38:18 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/replaygainscanner.cpp | 52 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'src/replaygainscanner.cpp') diff --git a/src/replaygainscanner.cpp b/src/replaygainscanner.cpp index f3171a4..b2d07d1 100644 --- a/src/replaygainscanner.cpp +++ b/src/replaygainscanner.cpp @@ -43,8 +43,8 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo cAdd->insertItem( iconLoader->loadIcon("folder",TDEIcon::Small),i18n("Add Folder ...") ); cAdd->insertItem( iconLoader->loadIcon("audio-x-generic",TDEIcon::Small),i18n("Add Files ...") ); filterBox->addWidget( cAdd ); - connect( cAdd, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(addClicked(int)) + connect( cAdd, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(addClicked(int)) ); filterBox->addStretch(); @@ -65,29 +65,29 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo lList = new ReplayGainFileList( tagEngine, config, logger, this, "lList" ); grid->addWidget( lList, 1, 0 ); - connect( this, TQT_SIGNAL(addFile(const TQString&)), - lList, TQT_SLOT(addFile(const TQString&)) + connect( this, TQ_SIGNAL(addFile(const TQString&)), + lList, TQ_SLOT(addFile(const TQString&)) ); - connect( this, TQT_SIGNAL(addDir(const TQString&,const TQStringList&,bool)), - lList, TQT_SLOT(addDir(const TQString&,const TQStringList&,bool)) + connect( this, TQ_SIGNAL(addDir(const TQString&,const TQStringList&,bool)), + lList, TQ_SLOT(addDir(const TQString&,const TQStringList&,bool)) ); - connect( this, TQT_SIGNAL(calcAllReplayGain(bool)), - lList, TQT_SLOT(calcAllReplayGain(bool)) + connect( this, TQ_SIGNAL(calcAllReplayGain(bool)), + lList, TQ_SLOT(calcAllReplayGain(bool)) ); - connect( this, TQT_SIGNAL(removeAllReplayGain()), - lList, TQT_SLOT(removeAllReplayGain()) + connect( this, TQ_SIGNAL(removeAllReplayGain()), + lList, TQ_SLOT(removeAllReplayGain()) ); - connect( this, TQT_SIGNAL(cancelProcess()), - lList, TQT_SLOT(cancelProcess()) + connect( this, TQ_SIGNAL(cancelProcess()), + lList, TQ_SLOT(cancelProcess()) ); - connect( lList, TQT_SIGNAL(processStarted()), - this, TQT_SLOT(processStarted()) + connect( lList, TQ_SIGNAL(processStarted()), + this, TQ_SLOT(processStarted()) ); - connect( lList, TQT_SIGNAL(processStopped()), - this, TQT_SLOT(processStopped()) + connect( lList, TQ_SIGNAL(processStopped()), + this, TQ_SLOT(processStopped()) ); - connect( lList, TQT_SIGNAL(updateProgress(int,int)), - this, TQT_SLOT(updateProgress(int,int)) + connect( lList, TQ_SIGNAL(updateProgress(int,int)), + this, TQ_SLOT(updateProgress(int,int)) ); TQHBoxLayout* progressBox = new TQHBoxLayout(); @@ -102,22 +102,22 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo pTagVisible = new KPushButton( iconLoader->loadIcon("apply",TDEIcon::Small), i18n("Tag untagged"), this, "pTagVisible" ); TQToolTip::add( pTagVisible, i18n("Calculate Replay Gain tag for all files in the file list without Replay Gain tag.") ); buttonBox->addWidget( pTagVisible ); - connect( pTagVisible, TQT_SIGNAL(clicked()), - this, TQT_SLOT(calcReplayGainClicked()) + connect( pTagVisible, TQ_SIGNAL(clicked()), + this, TQ_SLOT(calcReplayGainClicked()) ); pRemoveTag = new KPushButton( iconLoader->loadIcon("cancel",TDEIcon::Small), i18n("Untag tagged"), this, "pRemoveTag" ); TQToolTip::add( pRemoveTag, i18n("Remove the Replay Gain tag from all files in the file list.") ); buttonBox->addWidget( pRemoveTag ); - connect( pRemoveTag, TQT_SIGNAL(clicked()), - this, TQT_SLOT(removeReplayGainClicked()) + connect( pRemoveTag, TQ_SIGNAL(clicked()), + this, TQ_SLOT(removeReplayGainClicked()) ); pCancel = new KPushButton( iconLoader->loadIcon("cancel",TDEIcon::Small),i18n("Cancel"), this, "pCancel" ); pCancel->hide(); buttonBox->addWidget( pCancel ); - connect( pCancel, TQT_SIGNAL(clicked()), - this, TQT_SLOT(cancelClicked()) + connect( pCancel, TQ_SIGNAL(clicked()), + this, TQ_SLOT(cancelClicked()) ); buttonBox->addStretch(); @@ -125,8 +125,8 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo pOk = new KPushButton( iconLoader->loadIcon("system-log-out",TDEIcon::Small), i18n("Close"), this, "pOk" ); pOk->setFocus(); buttonBox->addWidget( pOk ); - connect( pOk, TQT_SIGNAL(clicked()), - this, TQT_SLOT(accept()) + connect( pOk, TQ_SIGNAL(clicked()), + this, TQ_SLOT(accept()) ); // delete the icon loader object -- cgit v1.2.1