From 3a2300ed7cee06b5b49c4bc71f38d5cee72171b5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/logviewer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/logviewer.cpp') 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 logs = logger->getLogs(); for( TQValueList::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 ) { -- cgit v1.2.1