summaryrefslogtreecommitdiffstats
path: root/chalk/ui
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui')
-rw-r--r--chalk/ui/kis_view.cpp2
-rw-r--r--chalk/ui/kobirdeyepanel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/chalk/ui/kis_view.cpp b/chalk/ui/kis_view.cpp
index 2e123f5d4..3a8105388 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 5cc9799e9..b096725e7 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) {