summaryrefslogtreecommitdiffstats
path: root/kdecore/kcalendarsystemjalali.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kcalendarsystemjalali.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kcalendarsystemjalali.h')
-rw-r--r--kdecore/kcalendarsystemjalali.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kdecore/kcalendarsystemjalali.h b/kdecore/kcalendarsystemjalali.h
index ae24c1446..e7ec99fe3 100644
--- a/kdecore/kcalendarsystemjalali.h
+++ b/kdecore/kcalendarsystemjalali.h
@@ -24,8 +24,8 @@
Boston, MA 02110-1301, USA.
*/
-#include <qdatetime.h>
-#include <qstring.h>
+#include <tqdatetime.h>
+#include <tqstring.h>
#include "kcalendarsystem.h"
@@ -42,37 +42,37 @@ public:
- virtual int year (const QDate & date) const;
- virtual int month (const QDate & date) const;
- virtual int day (const QDate & date) const;
- virtual int dayOfWeek (const QDate & date) const;
- virtual int dayOfYear (const QDate & date) const;
+ virtual int year (const TQDate & date) const;
+ virtual int month (const TQDate & date) const;
+ virtual int day (const TQDate & date) const;
+ virtual int dayOfWeek (const TQDate & date) const;
+ virtual int dayOfYear (const TQDate & date) const;
- virtual bool setYMD(QDate & date, int y, int m, int d) const;
+ virtual bool setYMD(TQDate & date, int y, int m, int d) const;
- virtual QDate addYears(const QDate & date, int nyears) const;
- virtual QDate addMonths(const QDate & date, int nmonths) const;
- virtual QDate addDays(const QDate & date, int ndays) const;
+ virtual TQDate addYears(const TQDate & date, int nyears) const;
+ virtual TQDate addMonths(const TQDate & date, int nmonths) const;
+ virtual TQDate addDays(const TQDate & date, int ndays) const;
- virtual int monthsInYear (const QDate & date) const;
+ virtual int monthsInYear (const TQDate & date) const;
- virtual int daysInYear (const QDate & date) const;
- virtual int daysInMonth (const QDate & date) const;
+ virtual int daysInYear (const TQDate & date) const;
+ virtual int daysInMonth (const TQDate & date) const;
virtual int weeksInYear(int year) const;
- virtual int weekNumber(const QDate& date, int * yearNum = 0) const;
+ virtual int weekNumber(const TQDate& date, int * yearNum = 0) const;
- virtual QString monthName (const QDate & date, bool shortName = false ) const;
- virtual QString monthNamePossessive(const QDate & date, bool shortName = false ) const;
- virtual QString weekDayName (int weekDay, bool shortName = false) const;
- virtual QString weekDayName (const QDate & date, bool shortName = false) const;
- virtual QString monthNamePossessive(int month, int year, bool shortName = false) const;
- virtual QString monthName(int month, int year, bool shortName = false) const;
+ virtual TQString monthName (const TQDate & date, bool shortName = false ) const;
+ virtual TQString monthNamePossessive(const TQDate & date, bool shortName = false ) const;
+ virtual TQString weekDayName (int weekDay, bool shortName = false) const;
+ virtual TQString weekDayName (const TQDate & date, bool shortName = false) const;
+ virtual TQString monthNamePossessive(int month, int year, bool shortName = false) const;
+ virtual TQString monthName(int month, int year, bool shortName = false) const;
virtual int minValidYear () const;
virtual int maxValidYear () const;
virtual int weekDayOfPray () const;
- virtual QString calendarName() const;
+ virtual TQString calendarName() const;
virtual bool isLunar() const;
virtual bool isLunisolar() const;