summaryrefslogtreecommitdiffstats
path: root/src/replaygainfilelist.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:15:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:15:02 -0600
commit546e1d89596af9c0bd0176fb8812bf0faa00d9de (patch)
tree74fc0f8f1440160dd28fc70cae5b5f4f73960bee /src/replaygainfilelist.cpp
parentef9e895fa20a6118dacbd997a1ed7486e14b8ec6 (diff)
downloadsoundkonverter-546e1d89596af9c0bd0176fb8812bf0faa00d9de.tar.gz
soundkonverter-546e1d89596af9c0bd0176fb8812bf0faa00d9de.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/replaygainfilelist.cpp')
-rwxr-xr-xsrc/replaygainfilelist.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/replaygainfilelist.cpp b/src/replaygainfilelist.cpp
index c260d17..8c8e70d 100755
--- a/src/replaygainfilelist.cpp
+++ b/src/replaygainfilelist.cpp
@@ -195,11 +195,11 @@ ReplayGainFileList::ReplayGainFileList( TagEngine* _tagEngine, Config* _config,
grid->setRowStretch( 2, 1 );
grid->setColStretch( 0, 1 );
grid->setColStretch( 2, 1 );
- pScantqStatus = new KProgress( this, "pScanStatus" );
- pScantqStatus->setMinimumHeight( pScantqStatus->height() );
- pScantqStatus->setFormat( "%v / %m" );
- pScantqStatus->hide();
- grid->addWidget( pScantqStatus, 1, 1 );
+ pScanStatus = new KProgress( this, "pScanStatus" );
+ pScanStatus->setMinimumHeight( pScanStatus->height() );
+ pScanStatus->setFormat( "%v / %m" );
+ pScanStatus->hide();
+ grid->addWidget( pScanStatus, 1, 1 );
grid->setColStretch( 1, 2 );
contextMenu = new KPopupMenu( this );
@@ -279,9 +279,9 @@ void ReplayGainFileList::viewportPaintEvent( TQPaintEvent* e )
const uint w = bubble->width() + 20;
const uint h = bubble->height() + 20;
- p.setBrush( tqcolorGroup().background() );
+ p.setBrush( colorGroup().background() );
p.drawRoundRect( 15, 15, w, h, (8*200)/w, (8*200)/h );
- bubble->draw( &p, 20, 20, TQRect(), tqcolorGroup() );
+ bubble->draw( &p, 20, 20, TQRect(), colorGroup() );
}
}
@@ -512,15 +512,15 @@ int ReplayGainFileList::listDir( const TQString& directory, TQStringList filter,
else if( !fileInfo.isDir() || !recursive ) { // NOTE checking for isFile may not work with all file names
// NOTE filter feature
for( TQStringList::Iterator jt = filter.begin(); jt != filter.end(); ++jt ) {
- if( (*it).tqendsWith("."+(*jt),false) ) {
+ if( (*it).endsWith("."+(*jt),false) ) {
count++;
- pScantqStatus->setTotalSteps( count );
+ pScanStatus->setTotalSteps( count );
break;
}
}
if( filter.first() == "" ) {
count++;
- pScantqStatus->setTotalSteps( count );
+ pScanStatus->setTotalSteps( count );
}
}
}
@@ -531,17 +531,17 @@ int ReplayGainFileList::listDir( const TQString& directory, TQStringList filter,
else if( !fileInfo.isDir() || !recursive ) { // NOTE checking for isFile may not work with all file names
// NOTE filter feature
for( TQStringList::Iterator jt = filter.begin(); jt != filter.end(); ++jt ) {
- if( (*it).tqendsWith("."+(*jt),false) ) {
+ if( (*it).endsWith("."+(*jt),false) ) {
addFile( KURL::encode_string(directory + "/" + *it) );
count++;
- pScantqStatus->setProgress( count );
+ pScanStatus->setProgress( count );
break;
}
}
if( filter.first() == "" ) {
addFile( KURL::encode_string(directory + "/" + *it) );
count++;
- pScantqStatus->setProgress( count );
+ pScanStatus->setProgress( count );
}
}
}
@@ -742,15 +742,15 @@ void ReplayGainFileList::addFile( const TQString& file )
void ReplayGainFileList::addDir( const TQString& directory, const TQStringList& filter, bool recursive )
{
- pScantqStatus->setProgress( 0 );
- pScantqStatus->setTotalSteps( 0 );
- pScantqStatus->show(); // show the status while scanning the directories
+ pScanStatus->setProgress( 0 );
+ pScanStatus->setTotalSteps( 0 );
+ pScanStatus->show(); // show the status while scanning the directories
kapp->processEvents();
int count = listDir( directory, filter, recursive, true );
listDir( directory, filter, recursive );
- pScantqStatus->hide(); // hide the status bar, when the scan is done
+ pScanStatus->hide(); // hide the status bar, when the scan is done
}
void ReplayGainFileList::openAlbums()