From ef5831dd5c8811c94c9b1bc1377a90174d17c82c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:52 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- .../audiometainforenamer/k3baudiometainforenamerplugin.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/project') diff --git a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp index 5211b36..bc210a6 100644 --- a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp +++ b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include @@ -104,7 +104,7 @@ K3bAudioMetainfoRenamerPluginWidget::K3bAudioMetainfoRenamerPluginWidget( K3bDoc d->viewFiles->addColumn( i18n("Old Name") ); d->viewFiles->setNoItemText( i18n("Please click the Scan button to search for renameable files.") ); - // tqlayout + // layout TQVBoxLayout* box = new TQVBoxLayout( this ); box->setMargin( 0 ); box->setSpacing( KDialog::spacingHint() ); @@ -203,7 +203,7 @@ void K3bAudioMetainfoRenamerPluginWidget::scanDir( K3bDirItem* dir, TQListViewIt d->dirItemDict.insert( dir, viewRoot ); - for( TQPtrListIterator it( dir->tqchildren() ); it.current(); ++it ) { + for( TQPtrListIterator it( dir->children() ); it.current(); ++it ) { K3bDataItem* item = it.current(); if( item->isFile() ) { @@ -334,9 +334,9 @@ TQString K3bAudioMetainfoRenamerPluginWidget::createNewName( K3bFileItem* item ) kdDebug() << "(K3bAudioMetainfoRenamerPluginWidget) file with name " << newName << extension << " already exists" << endl; int i = 1; - while( existsOtherItemWithSameName( item, newName + TQString( " (%1)").tqarg(i) + extension ) ) + while( existsOtherItemWithSameName( item, newName + TQString( " (%1)").arg(i) + extension ) ) i++; - newName.append( TQString( " (%1)").tqarg(i) ); + newName.append( TQString( " (%1)").arg(i) ); } // append extension -- cgit v1.2.3