diff options
author | Michele Calgaro <[email protected]> | 2024-01-02 11:38:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-15 10:12:20 +0900 |
commit | 773c73d27492ada253b9e81752bd735ee3dc3ac1 (patch) | |
tree | dc8d0269d4e95c57b29be70c1c2b90545112ef56 /src/cdopener.cpp | |
parent | 07fbaa743408f4302df7b6889347a4a2deadc4de (diff) | |
download | soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.tar.gz soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/cdopener.cpp')
-rw-r--r-- | src/cdopener.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/src/cdopener.cpp b/src/cdopener.cpp index c13c6a0..b13b089 100644 --- a/src/cdopener.cpp +++ b/src/cdopener.cpp @@ -56,8 +56,8 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin cArtist->setMinimumWidth( 200 ); cArtist->insertItem( i18n("Various Artists") ); cArtist->setCurrentText( "" ); - connect( cArtist, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(artistChanged(const TQString&)) + connect( cArtist, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(artistChanged(const TQString&)) ); // add a horizontal box layout for the composer TQHBoxLayout* artistBox = new TQHBoxLayout( -1, "artistBox" ); @@ -71,8 +71,8 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin cComposer->insertItem( i18n("Various Composer") ); cComposer->setCurrentText( "" ); //cComposer->setSizePolicy( TQSizePolicy::Maximum ); - connect( cComposer, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(composerChanged(const TQString&)) + connect( cComposer, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(composerChanged(const TQString&)) ); //artistBox->addStretch(); artistBox->addSpacing( 130 ); @@ -119,11 +119,11 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin trackList->setSelectionMode( TQListView::Extended ); trackList->setAllColumnsShowFocus( true ); trackList->setResizeMode( TQListView::LastColumn ); - connect( trackList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(trackChanged()) + connect( trackList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(trackChanged()) ); - connect( trackList, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), - this, TQT_SLOT(addClicked()) + connect( trackList, TQ_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), + this, TQ_SLOT(addClicked()) ); gridLayout->setRowStretch( 1, 1 ); @@ -139,15 +139,15 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin pTrackUp = new KPushButton( " ", tagGroupBox, "pTrackUp" ); pTrackUp->setPixmap( iconLoader->loadIcon("go-up",TDEIcon::Toolbar) ); pTrackUp->setAutoRepeat( true ); - connect( pTrackUp, TQT_SIGNAL(clicked()), - this, TQT_SLOT(trackUpPressed()) + connect( pTrackUp, TQ_SIGNAL(clicked()), + this, TQ_SLOT(trackUpPressed()) ); tagGridLayout->addWidget( pTrackUp, 0, 0 ); pTrackDown = new KPushButton( " ", tagGroupBox, "pTrackDown" ); pTrackDown->setPixmap( iconLoader->loadIcon("go-down",TDEIcon::Toolbar) ); pTrackDown->setAutoRepeat( true ); - connect( pTrackDown, TQT_SIGNAL(clicked()), - this, TQT_SLOT(trackDownPressed()) + connect( pTrackDown, TQ_SIGNAL(clicked()), + this, TQ_SLOT(trackDownPressed()) ); tagGridLayout->addWidget( pTrackDown, 1, 0 ); @@ -160,16 +160,16 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin tagGridLayout->addWidget( lTrackTitleLabel, 0, 1 ); lTrackTitle = new KLineEdit( tagGroupBox, "lTrackTitle" ); trackTitleBox->addWidget( lTrackTitle ); - connect( lTrackTitle, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(trackTitleChanged(const TQString&)) + connect( lTrackTitle, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(trackTitleChanged(const TQString&)) ); pTrackTitleEdit = new KPushButton( " ", tagGroupBox, "pTrackTitleEdit" ); pTrackTitleEdit->setPixmap( iconLoader->loadIcon("kwrite",TDEIcon::Small) ); pTrackTitleEdit->setFixedSize( lTrackTitle->sizeHint().height(), lTrackTitle->sizeHint().height() ); pTrackTitleEdit->hide(); trackTitleBox->addWidget( pTrackTitleEdit ); - connect( pTrackTitleEdit, TQT_SIGNAL(clicked()), - this, TQT_SLOT(editTrackTitleClicked()) + connect( pTrackTitleEdit, TQ_SIGNAL(clicked()), + this, TQ_SLOT(editTrackTitleClicked()) ); // add a horizontal box layout for the composer TQHBoxLayout* trackArtistBox = new TQHBoxLayout( -1, "trackArtistBox" ); @@ -179,31 +179,31 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin tagGridLayout->addWidget( lTrackArtistLabel, 1, 1 ); lTrackArtist = new KLineEdit( tagGroupBox, "lTrackArtist" ); trackArtistBox->addWidget( lTrackArtist ); - connect( lTrackArtist, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(trackArtistChanged(const TQString&)) + connect( lTrackArtist, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(trackArtistChanged(const TQString&)) ); pTrackArtistEdit = new KPushButton( " ", tagGroupBox, "pTrackArtistEdit" ); pTrackArtistEdit->setPixmap( iconLoader->loadIcon("kwrite",TDEIcon::Small) ); pTrackArtistEdit->setFixedSize( lTrackArtist->sizeHint().height(), lTrackArtist->sizeHint().height() ); pTrackArtistEdit->hide(); trackArtistBox->addWidget( pTrackArtistEdit ); - connect( pTrackArtistEdit, TQT_SIGNAL(clicked()), - this, TQT_SLOT(editTrackArtistClicked()) + connect( pTrackArtistEdit, TQ_SIGNAL(clicked()), + this, TQ_SLOT(editTrackArtistClicked()) ); TQLabel* lTrackComposerLabel = new TQLabel( i18n("Composer:"), tagGroupBox, "lTrackComposerLabel" ); trackArtistBox->addWidget( lTrackComposerLabel ); lTrackComposer = new KLineEdit( tagGroupBox, "lTrackComposer" ); trackArtistBox->addWidget( lTrackComposer ); - connect( lTrackComposer, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(trackComposerChanged(const TQString&)) + connect( lTrackComposer, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(trackComposerChanged(const TQString&)) ); pTrackComposerEdit = new KPushButton( " ", tagGroupBox, "pTrackComposerEdit" ); pTrackComposerEdit->setPixmap( iconLoader->loadIcon("kwrite",TDEIcon::Small) ); pTrackComposerEdit->setFixedSize( lTrackComposer->sizeHint().height(), lTrackComposer->sizeHint().height() ); pTrackComposerEdit->hide(); trackArtistBox->addWidget( pTrackComposerEdit ); - connect( pTrackComposerEdit, TQT_SIGNAL(clicked()), - this, TQT_SLOT(editTrackComposerClicked()) + connect( pTrackComposerEdit, TQ_SIGNAL(clicked()), + this, TQ_SLOT(editTrackComposerClicked()) ); // add a horizontal box layout for the comment TQHBoxLayout* trackCommentBox = new TQHBoxLayout( -1, "trackCommentBox" ); @@ -214,16 +214,16 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin tTrackComment = new KTextEdit( tagGroupBox, "tTrackComment" ); trackCommentBox->addWidget( tTrackComment ); tTrackComment->setFixedHeight( 65 ); - connect( tTrackComment, TQT_SIGNAL(textChanged()), - this, TQT_SLOT(trackCommentChanged()) + connect( tTrackComment, TQ_SIGNAL(textChanged()), + this, TQ_SLOT(trackCommentChanged()) ); pTrackCommentEdit = new KPushButton( " ", tagGroupBox, "pTrackCommentEdit" ); pTrackCommentEdit->setPixmap( iconLoader->loadIcon("kwrite",TDEIcon::Small) ); pTrackCommentEdit->setFixedSize( lTrackTitle->sizeHint().height(), lTrackTitle->sizeHint().height() ); pTrackCommentEdit->hide(); trackCommentBox->addWidget( pTrackCommentEdit ); - connect( pTrackCommentEdit, TQT_SIGNAL(clicked()), - this, TQT_SLOT(editTrackCommentClicked()) + connect( pTrackCommentEdit, TQ_SIGNAL(clicked()), + this, TQ_SLOT(editTrackCommentClicked()) ); // draw a horizontal line @@ -241,8 +241,8 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin // add the control elements pSaveCue = new KPushButton( iconLoader->loadIcon("document-save",TDEIcon::Small), i18n("Save cuesheet ..."), this, "pSaveCue" ); controlBox->addWidget( pSaveCue ); - connect( pSaveCue, TQT_SIGNAL(clicked()), - this, TQT_SLOT(saveCuesheetClicked()) + connect( pSaveCue, TQ_SIGNAL(clicked()), + this, TQ_SLOT(saveCuesheetClicked()) ); controlBox->addStretch(); @@ -253,13 +253,13 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin if( plugin != 0 && plugin->rip.full_disc.enabled ) cAdd->insertItem( iconLoader->loadIcon("media-optical-cdaudio-unmounted",TDEIcon::Small),i18n("Add full CD as one file") ); //cAdd->setSizeMode( ComboButton::Min ); controlBox->addWidget( cAdd ); - connect( cAdd, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(addClicked(int)) + connect( cAdd, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(addClicked(int)) ); pCancel = new KPushButton( iconLoader->loadIcon("cancel",TDEIcon::Small), i18n("Cancel"), this, "pCancel" ); controlBox->addWidget( pCancel ); - connect( pCancel, TQT_SIGNAL(clicked()), - this, TQT_SLOT(reject()) + connect( pCancel, TQ_SIGNAL(clicked()), + this, TQ_SLOT(reject()) ); // delete the icon loader object |