summaryrefslogtreecommitdiffstats
path: root/kweather/sun.h
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/sun.h
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/sun.h')
-rw-r--r--kweather/sun.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kweather/sun.h b/kweather/sun.h
index 6773d01..fd407d7 100644
--- a/kweather/sun.h
+++ b/kweather/sun.h
@@ -18,8 +18,8 @@
#ifndef SUN_H
#define SUN_H
-#include <qstring.h>
-#include <qdatetime.h>
+#include <tqstring.h>
+#include <tqdatetime.h>
#include <krfcdate.h>
class Sun
@@ -35,20 +35,20 @@ class Sun
* to the local time zone.
*
*/
- Sun( const QString &latitude,
- const QString &longitude,
- QDate date = QDate::currentDate(),
+ Sun( const TQString &latitude,
+ const TQString &longitude,
+ TQDate date = TQDate::currentDate(),
const int localUTCOffset = KRFCDate::localUTCOffset() );
- QTime computeRiseTime();
- QTime computeSetTime();
- QTime computeCivilTwilightStart();
- QTime computeCivilTwilightEnd();
+ TQTime computeRiseTime();
+ TQTime computeSetTime();
+ TQTime computeCivilTwilightStart();
+ TQTime computeCivilTwilightEnd();
private:
- QTime convertDoubleToLocalTime( const double time );
+ TQTime convertDoubleToLocalTime( const double time );
- const QDate m_date;
+ const TQDate m_date;
const double m_lat;
const double m_lon;
const int m_localUTCOffset;