summaryrefslogtreecommitdiffstats
path: root/src/logviewer.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit3a2300ed7cee06b5b49c4bc71f38d5cee72171b5 (patch)
treeebc2fc901d7584145d9c40de18d9e4931283360a /src/logviewer.cpp
parent633d093981e9e04c06921459694cd095cdf85c23 (diff)
downloadsoundkonverter-3a2300ed7cee06b5b49c4bc71f38d5cee72171b5.tar.gz
soundkonverter-3a2300ed7cee06b5b49c4bc71f38d5cee72171b5.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/logviewer.cpp')
-rwxr-xr-xsrc/logviewer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logviewer.cpp b/src/logviewer.cpp
index 0cd0d73..97720d9 100755
--- a/src/logviewer.cpp
+++ b/src/logviewer.cpp
@@ -130,7 +130,7 @@ void LogViewer::refillLogs()
lLogs->clear();
TQValueList<LoggerItem*> logs = logger->getLogs();
for( TQValueList<LoggerItem*>::Iterator a = logs.begin(); a != logs.end(); ++a ) {
- tqparent = new LogViewerItem( lLogs, tqparent, KURL::decode_string((*a)->filename).tqreplace("%2f","/").tqreplace("%%","%") + " - " + TQString::number((*a)->id) );
+ tqparent = new LogViewerItem( lLogs, tqparent, KURL::decode_string((*a)->filename).replace("%2f","/").replace("%%","%") + " - " + TQString::number((*a)->id) );
tqparent->converting = !(*a)->completed;
//tqparent->setOpen( true );
last = 0;
@@ -150,7 +150,7 @@ void LogViewer::processRemoved( int id )
TQListViewItem* it = lLogs->firstChild();
while( it != 0 ) {
- if( it->text(0) == KURL::decode_string(item->filename).tqreplace("%2f","/").tqreplace("%%","%") + " - " + TQString::number(item->id) ) {
+ if( it->text(0) == KURL::decode_string(item->filename).replace("%2f","/").replace("%%","%") + " - " + TQString::number(item->id) ) {
delete it;
return;
}
@@ -167,7 +167,7 @@ void LogViewer::updateProcess( int id )
LogViewerItem *lastItem = 0, *oldItem = 0;
while( it != 0 ) {
- if( it->text(0) == KURL::decode_string(item->filename).tqreplace("%2f","/").tqreplace("%%","%") + " - " + TQString::number(item->id) ) {
+ if( it->text(0) == KURL::decode_string(item->filename).replace("%2f","/").replace("%%","%") + " - " + TQString::number(item->id) ) {
LogViewerItem *a = it->firstChild(), *b;
while( a != 0 ) {
b = a->nextSibling();
@@ -192,7 +192,7 @@ void LogViewer::updateProcess( int id )
lastItem = (LogViewerItem*)it;
}
- tqparent = new LogViewerItem( lLogs, lastItem, KURL::decode_string(item->filename).tqreplace("%2f","/").tqreplace("%%","%") + " - " + TQString::number(item->id) );
+ tqparent = new LogViewerItem( lLogs, lastItem, KURL::decode_string(item->filename).replace("%2f","/").replace("%%","%") + " - " + TQString::number(item->id) );
tqparent->converting = !item->completed;
LogViewerItem* last = 0;
for( TQStringList::Iterator b = item->data.begin(); b != item->data.end(); ++b ) {