summaryrefslogtreecommitdiffstats
path: root/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:29:52 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:29:52 -0600
commitef5831dd5c8811c94c9b1bc1377a90174d17c82c (patch)
tree32b4c7307b74026be725950a33d6ec56d0561b3f /plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp
parentdb733144770616f45d2d6e89bd3c424538a9fd92 (diff)
downloadk3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.tar.gz
k3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp')
-rw-r--r--plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp10
1 files changed, 5 insertions, 5 deletions
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 <tqwhatsthis.h>
#include <tqpair.h>
#include <tqvaluelist.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqptrdict.h>
@@ -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<K3bDataItem> it( dir->tqchildren() ); it.current(); ++it ) {
+ for( TQPtrListIterator<K3bDataItem> 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