diff options
Diffstat (limited to 'kweather/stationdatabase_test.cpp')
-rw-r--r-- | kweather/stationdatabase_test.cpp | 14 |
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; } |