summaryrefslogtreecommitdiffstats
path: root/kweather/stationdatabase_test.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /kweather/stationdatabase_test.cpp
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kweather/stationdatabase_test.cpp')
-rw-r--r--kweather/stationdatabase_test.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kweather/stationdatabase_test.cpp b/kweather/stationdatabase_test.cpp
index 902b7ab..fb33fc9 100644
--- a/kweather/stationdatabase_test.cpp
+++ b/kweather/stationdatabase_test.cpp
@@ -19,9 +19,9 @@
#include <cstdlib>
using namespace std;
-#include <qfile.h>
-#include <qstring.h>
-#include <qdatetime.h>
+#include <tqfile.h>
+#include <tqstring.h>
+#include <tqdatetime.h>
#include <krfcdate.h>
#include "stationdatabase.h"
@@ -33,9 +33,9 @@ int main()
bool found = false;
// try the stations.dat file in the current directory first.
- QString path("stations.dat");
+ TQString path("stations.dat");
- if (QFile::exists(path))
+ if (TQFile::exists(path))
{
found = true;
}
@@ -47,10 +47,10 @@ int main()
// means that make install would have had to be done first before calling
// make check so that the file will be there.
- QString kdeDirs(getenv("KDEDIR"));
+ TQString kdeDirs(getenv("KDEDIR"));
path = kdeDirs + "/share/apps/kweatherservice/stations.dat";
- if (QFile::exists(path))
+ if (TQFile::exists(path))
{
found = true;
}