summaryrefslogtreecommitdiffstats
path: root/src/crashhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crashhandler.cpp')
-rw-r--r--src/crashhandler.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/crashhandler.cpp b/src/crashhandler.cpp
index 8a3e2b2..bcc72a6 100644
--- a/src/crashhandler.cpp
+++ b/src/crashhandler.cpp
@@ -24,7 +24,7 @@
#include <tqfile.h>
#include <tqregexp.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <cstdio> //popen, fread
#include <iostream>
@@ -82,7 +82,7 @@
"But, all is not lost! You could potentially help us fix the crash. "
"Information describing the crash is below, so just click send, "
"or if you have time, write a brief description of how the crash happened first.\n\n"
- "Many thanks." ).arg(kapp->aboutData()->programName()) + "\n\n";
+ "Many thanks." ).tqarg(kapp->aboutData()->programName()) + "\n\n";
body += "\n\n\n\n\n\n" + i18n(
"The information below is to help the developers identify the problem, "
"please do not modify it." ) + "\n\n\n\n";
@@ -96,9 +96,9 @@
;// "TagLib: %2.%3.%4\n";
/* body = body
- .arg( TAGLIB_MAJOR_VERSION )
- .arg( TAGLIB_MINOR_VERSION )
- .arg( TAGLIB_PATCH_VERSION );*/
+ .tqarg( TAGLIB_MAJOR_VERSION )
+ .tqarg( TAGLIB_MINOR_VERSION )
+ .tqarg( TAGLIB_PATCH_VERSION );*/
#ifdef NDEBUG
body += "NDEBUG: true";
@@ -163,10 +163,10 @@
if( totalFrames > 0 ) {
const double validity = double(validFrames) / totalFrames;
- subject += TQString("[validity: %1]").arg( validity, 0, 'f', 2 );
+ subject += TQString("[validity: %1]").tqarg( validity, 0, 'f', 2 );
if( validity <= 0.5 ) useful = false;
}
- subject += TQString("[frames: %1]").arg( totalFrames, 3 /*padding*/ );
+ subject += TQString("[frames: %1]").tqarg( totalFrames, 3 /*padding*/ );
if( bt.find( TQRegExp(" at \\w*\\.cpp:\\d+\n") ) >= 0 )
subject += "[line numbers]";
@@ -174,7 +174,7 @@
else
useful = false;
-// subject += TQString("[%1]").arg( AmarokConfig::soundSystem().remove( TQRegExp("-?engine") ) );
+// subject += TQString("[%1]").tqarg( AmarokConfig::soundSystem().remove( TQRegExp("-?engine") ) );
// debug() << subject << endl;
@@ -206,7 +206,7 @@
std::cout << ("\n" + i18n( "%1 has crashed! We're sorry about this.\n\n"
"But, all is not lost! Perhaps an upgrade is already available "
"which fixes the problem. Please check your distribution's software repository." )
- .arg(kapp->aboutData()->programName())).local8Bit().data() << std::endl;
+ .tqarg(kapp->aboutData()->programName())).local8Bit().data() << std::endl;
}
//_exit() exits immediately, otherwise this