diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 20:43:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 23:46:05 +0900 |
commit | 5761876d3a71e9b3c5a93b5b535b071d2240b08e (patch) | |
tree | 0ea383b7af28380ecec4a4059b1ed0bdcdbe8338 /chalk/ui | |
parent | 2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4 (diff) | |
download | koffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.tar.gz koffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit d7ae9fb514226c126e04cfe4f34800beb9f4ea19)
Diffstat (limited to 'chalk/ui')
-rw-r--r-- | chalk/ui/kis_view.cpp | 2 | ||||
-rw-r--r-- | chalk/ui/kobirdeyepanel.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chalk/ui/kis_view.cpp b/chalk/ui/kis_view.cpp index 2e123f5d..3a810538 100644 --- a/chalk/ui/kis_view.cpp +++ b/chalk/ui/kis_view.cpp @@ -3449,7 +3449,7 @@ bool KisView::eventFilter(TQObject *o, TQEvent *e) case TQEvent::TabletPress: case TQEvent::TabletRelease: { - TQTabletEvent *te = TQT_TQTABLETEVENT(e); + TQTabletEvent *te = static_cast<TQTabletEvent*>(e); KisInputDevice device; switch (te->device()) { diff --git a/chalk/ui/kobirdeyepanel.cpp b/chalk/ui/kobirdeyepanel.cpp index 5cc9799e..b096725e 100644 --- a/chalk/ui/kobirdeyepanel.cpp +++ b/chalk/ui/kobirdeyepanel.cpp @@ -308,11 +308,11 @@ void KoBirdEyePanel::updateVisibleArea() bool KoBirdEyePanel::eventFilter(TQObject* o, TQEvent* ev) { if (o == m_page->view && ev->type() == TQEvent::Resize) { - resizeViewEvent(TQT_TQRESIZEEVENT(ev)->size()); + resizeViewEvent(static_cast<TQResizeEvent*>(ev)->size()); } if (o == m_page->view && ev->type() == TQEvent::Paint) { - paintViewEvent(TQT_TQPAINTEVENT(ev)); + paintViewEvent(static_cast<TQPaintEvent*>(ev)); } if (o == m_page->view && ev->type() == TQEvent::MouseMove) { |