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 19:33:18 +0900 |
commit | c0b74ba868682f39c41a9f70ae11297425b711e1 (patch) | |
tree | 011b3da15bd49b62893629154ba84d87afa54f3e /tdeui/kdatepicker.cpp | |
parent | 29b84bd0b10724c3fd1dc1ea0bcdedf5221ebd3f (diff) | |
download | tdelibs-c0b74ba868682f39c41a9f70ae11297425b711e1.tar.gz tdelibs-c0b74ba868682f39c41a9f70ae11297425b711e1.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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); } |