diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:55:33 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:55:33 -0600 |
commit | ae6cafee5339716bd01aa6c66aa4f366bdc5d43b (patch) | |
tree | db682cc1b772442e3ac4986b8f66119531291a4e /src/crashhandler.cpp | |
parent | 882bcd26b3d60be72ea2b35921969a9850c52db9 (diff) | |
download | basket-ae6cafee5339716bd01aa6c66aa4f366bdc5d43b.tar.gz basket-ae6cafee5339716bd01aa6c66aa4f366bdc5d43b.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 882bcd26b3d60be72ea2b35921969a9850c52db9.
Diffstat (limited to 'src/crashhandler.cpp')
-rw-r--r-- | src/crashhandler.cpp | 18 |
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 |