summaryrefslogtreecommitdiffstats
path: root/src/logviewer.cpp
diff options
context:
space:
mode:
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 ) {