summaryrefslogtreecommitdiffstats
path: root/tdecore/kcalendarsystemgregorian.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 20:01:20 +0900
commit18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (patch)
tree625f81c4a08d4d9b4a2b041b261f919afd59828a /tdecore/kcalendarsystemgregorian.cpp
parent9d6823ebc6f4f68e1cd83f42b0548716048cfcfe (diff)
downloadtdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.tar.gz
tdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c0b74ba868682f39c41a9f70ae11297425b711e1)
Diffstat (limited to 'tdecore/kcalendarsystemgregorian.cpp')
-rw-r--r--tdecore/kcalendarsystemgregorian.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kcalendarsystemgregorian.cpp b/tdecore/kcalendarsystemgregorian.cpp
index 9d4d14661..d4f53fc39 100644
--- a/tdecore/kcalendarsystemgregorian.cpp
+++ b/tdecore/kcalendarsystemgregorian.cpp
@@ -58,7 +58,7 @@ int KCalendarSystemGregorian::weeksInYear(int year) const
// If the last day of the year is in the first week, we have to check the
// week before
if ( temp.weekNumber() == 1 )
- temp = TQT_TQDATE_OBJECT(temp.addDays(-7));
+ temp = temp.addDays(-7);
return temp.weekNumber();
}
@@ -221,17 +221,17 @@ bool KCalendarSystemGregorian::setYMD(TQDate & date, int y, int m, int d) const
TQDate KCalendarSystemGregorian::addYears(const TQDate & date, int nyears) const
{
- return TQT_TQDATE_OBJECT(date.addYears(nyears));
+ return date.addYears(nyears);
}
TQDate KCalendarSystemGregorian::addMonths(const TQDate & date, int nmonths) const
{
- return TQT_TQDATE_OBJECT(date.addMonths(nmonths));
+ return date.addMonths(nmonths);
}
TQDate KCalendarSystemGregorian::addDays(const TQDate & date, int ndays) const
{
- return TQT_TQDATE_OBJECT(date.addDays(ndays));
+ return date.addDays(ndays);
}
TQString KCalendarSystemGregorian::weekDayName(int col, bool shortName) const