diff options
author | Michele Calgaro <[email protected]> | 2023-08-08 12:21:34 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-08 20:01:20 +0900 |
commit | 18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (patch) | |
tree | 625f81c4a08d4d9b4a2b041b261f919afd59828a /tdeui/kdatetbl.cpp | |
parent | 9d6823ebc6f4f68e1cd83f42b0548716048cfcfe (diff) | |
download | tdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.tar.gz tdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c0b74ba868682f39c41a9f70ae11297425b711e1)
Diffstat (limited to 'tdeui/kdatetbl.cpp')
-rw-r--r-- | tdeui/kdatetbl.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tdeui/kdatetbl.cpp b/tdeui/kdatetbl.cpp index ec5a1a132..4072bafd2 100644 --- a/tdeui/kdatetbl.cpp +++ b/tdeui/kdatetbl.cpp @@ -351,22 +351,22 @@ void KDateTable::previousMonth() void KDateTable::beginningOfMonth() { - setDate(TQT_TQDATE_OBJECT(date.addDays(1 - date.day()))); + setDate(date.addDays(1 - date.day())); } void KDateTable::endOfMonth() { - setDate(TQT_TQDATE_OBJECT(date.addDays(date.daysInMonth() - date.day()))); + setDate(date.addDays(date.daysInMonth() - date.day())); } void KDateTable::beginningOfWeek() { - setDate(TQT_TQDATE_OBJECT(date.addDays(1 - date.dayOfWeek()))); + setDate(date.addDays(1 - date.dayOfWeek())); } void KDateTable::endOfWeek() { - setDate(TQT_TQDATE_OBJECT(date.addDays(7 - date.dayOfWeek()))); + setDate(date.addDays(7 - date.dayOfWeek())); } void @@ -374,22 +374,22 @@ KDateTable::keyPressEvent( TQKeyEvent *e ) { switch( e->key() ) { case Key_Up: - setDate(TQT_TQDATE_OBJECT(date.addDays(-7))); + setDate(date.addDays(-7)); break; case Key_Down: - setDate(TQT_TQDATE_OBJECT(date.addDays(7))); + setDate(date.addDays(7)); break; case Key_Left: - setDate(TQT_TQDATE_OBJECT(date.addDays(-1))); + setDate(date.addDays(-1)); break; case Key_Right: - setDate(TQT_TQDATE_OBJECT(date.addDays(1))); + setDate(date.addDays(1)); break; case Key_Minus: - setDate(TQT_TQDATE_OBJECT(date.addDays(-1))); + setDate(date.addDays(-1)); break; case Key_Plus: - setDate(TQT_TQDATE_OBJECT(date.addDays(1))); + setDate(date.addDays(1)); break; case Key_N: setDate(TQDate::currentDate()); @@ -447,7 +447,7 @@ KDateTable::setFontSize(int size) void KDateTable::wheelEvent ( TQWheelEvent * e ) { - setDate(TQT_TQDATE_OBJECT(date.addMonths( -(int)(e->delta()/120)) )); + setDate(date.addMonths( -(int)(e->delta()/120)) ); e->accept(); } |