summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bugdetails.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/bugdetails.cpp')
-rw-r--r--kbugbuster/backend/bugdetails.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbugbuster/backend/bugdetails.cpp b/kbugbuster/backend/bugdetails.cpp
index 5dcfbcd4..cebcedd3 100644
--- a/kbugbuster/backend/bugdetails.cpp
+++ b/kbugbuster/backend/bugdetails.cpp
@@ -181,7 +181,7 @@ TQValueList<BugDetails::Attachment> BugDetails::extractAttachments( const TQStri
kdDebug() << "BugDetails::extractAttachments found header " << *rit << endl;
#endif
// Taken from libkdenetwork/kmime_headers.cpp
- int pos=header.tqfind("filename=", 0, false);
+ int pos=header.find("filename=", 0, false);
TQString fn;
if(pos>-1) {
pos+=9;
@@ -231,7 +231,7 @@ TQValueList<BugDetails::Attachment> BugDetails::extractAttachments( const TQStri
}
contents += line; // no newline, because of linebreaking between <br and />
}
- contents = contents.tqreplace( TQRegExp("<br */>"), TQString() );
+ contents = contents.replace( TQRegExp("<br */>"), TQString() );
#ifdef DEBUG_EXTRACT
kdDebug() << "BugDetails::extractAttachments contents=***\n" << contents << "\n***" << endl;
#endif