summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kobirdeyepanel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:43:20 +0900
committerMichele Calgaro <[email protected]>2023-11-30 21:03:28 +0900
commitd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch)
tree4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /chalk/ui/kobirdeyepanel.cpp
parentb727f4b3b1957bec28a350575237b93f8f278cdb (diff)
downloadkoffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz
koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'chalk/ui/kobirdeyepanel.cpp')
-rw-r--r--chalk/ui/kobirdeyepanel.cpp4
1 files changed, 2 insertions, 2 deletions
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) {