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 /tdehtml | |
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 'tdehtml')
-rw-r--r-- | tdehtml/ecma/kjs_window.cpp | 6 | ||||
-rw-r--r-- | tdehtml/rendering/render_text.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tdehtml/ecma/kjs_window.cpp b/tdehtml/ecma/kjs_window.cpp index b06cb970c..0623d6ef9 100644 --- a/tdehtml/ecma/kjs_window.cpp +++ b/tdehtml/ecma/kjs_window.cpp @@ -2304,16 +2304,16 @@ void WindowQObject::timerEvent(TQTimerEvent *) DateTimeMS DateTimeMS::addMSecs(int s) const { DateTimeMS c = *this; - c.mTime = TQT_TQTIME_OBJECT(mTime.addMSecs(s)); + c.mTime = mTime.addMSecs(s); if (s > 0) { if (c.mTime < mTime) - c.mDate = TQT_TQDATE_OBJECT(mDate.addDays(1)); + c.mDate = mDate.addDays(1); } else { if (c.mTime > mTime) - c.mDate = TQT_TQDATE_OBJECT(mDate.addDays(-1)); + c.mDate = mDate.addDays(-1); } return c; } diff --git a/tdehtml/rendering/render_text.cpp b/tdehtml/rendering/render_text.cpp index 3a349844b..5361027d1 100644 --- a/tdehtml/rendering/render_text.cpp +++ b/tdehtml/rendering/render_text.cpp @@ -334,7 +334,7 @@ void InlineTextBox::paintShadow(TQPainter *pt, const Font *f, int _tx, int _ty, m_reversed ? TQPainter::RTL : TQPainter::LTR); p.end(); - TQImage img = TQT_TQIMAGE_OBJECT(pixmap.convertToImage()).convertDepth(32); + TQImage img = pixmap.convertToImage().convertDepth(32); int md = thickness*thickness; // max-dist^2 |