diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:21:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 20:01:20 +0900 |
commit | 18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (patch) | |
tree | 625f81c4a08d4d9b4a2b041b261f919afd59828a /tdeui/kdatepicker.cpp | |
parent | 9d6823ebc6f4f68e1cd83f42b0548716048cfcfe (diff) | |
download | tdelibs-18c573e8.tar.gz tdelibs-18c573e8.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0b74ba868682f39c41a9f70ae11297425b711e1)
Diffstat (limited to 'tdeui/kdatepicker.cpp')
-rw-r--r-- | tdeui/kdatepicker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/kdatepicker.cpp b/tdeui/kdatepicker.cpp index f29e32762..a99763478 100644 --- a/tdeui/kdatepicker.cpp +++ b/tdeui/kdatepicker.cpp @@ -92,7 +92,7 @@ void KDatePicker::fillWeeksCombo(const TQDate &date) // make sure that the week of the lastDay is always inserted: in Chinese calendar // system, this is not always the case if(day < lastDay && day.daysTo(lastDay) < 7 && calendar->weekNumber(day) != calendar->weekNumber(lastDay)) - day = TQT_TQDATE_OBJECT(lastDay.addDays(-7)); + day = lastDay.addDays(-7); } } @@ -371,7 +371,7 @@ KDatePicker::selectMonthClicked() int day = calendar->day(date); // ----- construct a valid date in this month: calendar->setYMD(date, calendar->year(date), month, 1); - date = TQT_TQDATE_OBJECT(date.addDays(TQMIN(day, calendar->daysInMonth(date)) - 1)); + date = date.addDays(TQMIN(day, calendar->daysInMonth(date)) - 1); // ----- set this month setDate(date); } |