summaryrefslogtreecommitdiffstats
path: root/kdecore/kcalendarsystemjalali.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kcalendarsystemjalali.cpp')
-rw-r--r--kdecore/kcalendarsystemjalali.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kcalendarsystemjalali.cpp b/kdecore/kcalendarsystemjalali.cpp
index 8915c585a..6197ca75f 100644
--- a/kdecore/kcalendarsystemjalali.cpp
+++ b/kdecore/kcalendarsystemjalali.cpp
@@ -304,7 +304,7 @@ TQDate KCalendarSystemJalali::addMonths( const TQDate & date, int nmonths ) cons
TQDate KCalendarSystemJalali::addDays( const TQDate & date, int ndays ) const
{
- return date.addDays( ndays );
+ return TQT_TQDATE_OBJECT(date.addDays( ndays ));
}
int KCalendarSystemJalali::monthsInYear( const TQDate & date ) const
@@ -541,7 +541,7 @@ int KCalendarSystemJalali::weekDayOfPray() const
}
TQString KCalendarSystemJalali::calendarName() const
{
- return TQString::fromLatin1("jalali");
+ return TQString::tqfromLatin1("jalali");
}
bool KCalendarSystemJalali::isLunar() const