summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/geolocation.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kstars/kstars/geolocation.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstars/kstars/geolocation.cpp')
-rw-r--r--kstars/kstars/geolocation.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kstars/kstars/geolocation.cpp b/kstars/kstars/geolocation.cpp
index 3750803c..f6ce95e5 100644
--- a/kstars/kstars/geolocation.cpp
+++ b/kstars/kstars/geolocation.cpp
@@ -17,7 +17,7 @@
* *
***************************************************************************/
-#include <qstring.h>
+#include <tqstring.h>
#include "geolocation.h"
#include "timezonerule.h"
@@ -56,7 +56,7 @@ GeoLocation::GeoLocation( GeoLocation *g ) {
}
GeoLocation::GeoLocation( dms lng, dms lat,
- QString name, QString province, QString country, double tz, TimeZoneRule *tzrule, int iEllips, double hght ) {
+ TQString name, TQString province, TQString country, double tz, TimeZoneRule *tzrule, int iEllips, double hght ) {
Longitude = lng;
Latitude = lat;
Name = name;
@@ -71,7 +71,7 @@ GeoLocation::GeoLocation( dms lng, dms lat,
}
GeoLocation::GeoLocation( double lng, double lat,
- QString name, QString province, QString country, double tz, TimeZoneRule *tzrule, int iEllips, double hght ) {
+ TQString name, TQString province, TQString country, double tz, TimeZoneRule *tzrule, int iEllips, double hght ) {
Longitude.set( lng );
Latitude.set( lat );
Name = name;
@@ -85,7 +85,7 @@ GeoLocation::GeoLocation( double lng, double lat,
geodToCart();
}
-GeoLocation::GeoLocation( double x, double y, double z, QString name, QString province, QString country, double TZ, TimeZoneRule *tzrule, int iEllips ) {
+GeoLocation::GeoLocation( double x, double y, double z, TQString name, TQString province, TQString country, double TZ, TimeZoneRule *tzrule, int iEllips ) {
PosCartX = x;
PosCartY = y;
PosCartZ = z;
@@ -99,8 +99,8 @@ GeoLocation::GeoLocation( double x, double y, double z, QString name, QString pr
cartToGeod();
}
-QString GeoLocation::fullName() const {
- QString s;
+TQString GeoLocation::fullName() const {
+ TQString s;
if ( province().isEmpty() ) {
s = translatedName() + ", " + translatedCountry();
} else {