summaryrefslogtreecommitdiffstats
path: root/src/UiGuiVersion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/UiGuiVersion.cpp')
-rwxr-xr-xsrc/UiGuiVersion.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/UiGuiVersion.cpp b/src/UiGuiVersion.cpp
index 8ddcdd8..9564e4e 100755
--- a/src/UiGuiVersion.cpp
+++ b/src/UiGuiVersion.cpp
@@ -19,8 +19,8 @@
#include "UiGuiVersion.h"
-#include <tqstring.h>
-#include <tqstringlist.h>
+#include <tntqstring.h>
+#include <tntqstringlist.h>
#include <tqdate.h>
namespace UiGuiVersion {
@@ -28,15 +28,15 @@ namespace UiGuiVersion {
\brief Returns the build date as a localized string, e.g. "9. Februar 2009". If
there was some kind of error, the returned string is empty.
*/
-QString getBuildDate() {
- QStringList monthNames;
- QString buildDateString = "";
+TQString getBuildDate() {
+ TQStringList monthNames;
+ TQString buildDateString = "";
monthNames << "Jan" << "Feb" << "Mar" << "Apr" << "May" << "Jun" << "Jul" << "Aug" << "Sep" << "Oct" << "Nov" << "Dez";
- QStringList buildDateStringList = QString(__DATE__).simplified().split(' '); // __DATE__ returns eg "Feb 4 2009"
+ TQStringList buildDateStringList = TQString(__DATE__).simplified().split(' '); // __DATE__ returns eg "Feb 4 2009"
if ( buildDateStringList.count() == 3 ) {
- QDate buildDate(buildDateStringList.last().toInt(), monthNames.indexOf( buildDateStringList.first() )+1, buildDateStringList.at(1).toInt());
+ TQDate buildDate(buildDateStringList.last().toInt(), monthNames.indexOf( buildDateStringList.first() )+1, buildDateStringList.at(1).toInt());
buildDateString = buildDate.toString("d. MMMM yyyy");
}
@@ -48,9 +48,9 @@ QString getBuildDate() {
\brief Returns the revision number, that the current build is based on, as string. If
there was some kind of error, the returned string is empty.
*/
-QString getBuildRevision() {
- QString buildRevision = "";
- QStringList buildRevisionStringList = QString(PROGRAM_REVISION).simplified().split(' ');
+TQString getBuildRevision() {
+ TQString buildRevision = "";
+ TQStringList buildRevisionStringList = TQString(PROGRAM_REVISION).simplified().split(' ');
if ( buildRevisionStringList.count() == 3 ) {
buildRevision = buildRevisionStringList.at(1); // PROGRAM_REVISION is eg "$Revision: 907 $"