summaryrefslogtreecommitdiffstats
path: root/tdemdi
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:52 +0900
commitf22a9c72dda24871973033123039639af6577eaa (patch)
tree3e9e1aa31f39f5945b92282e7d14a0c88a0ebcbf /tdemdi
parent7a00e005dd5806a1056488e3a1199bf382a42623 (diff)
downloadtdelibs-f22a9c72dda24871973033123039639af6577eaa.tar.gz
tdelibs-f22a9c72dda24871973033123039639af6577eaa.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdemdi')
-rw-r--r--tdemdi/tdemdi/dockcontainer.cpp2
-rw-r--r--tdemdi/tdemdidockcontainer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdemdi/tdemdi/dockcontainer.cpp b/tdemdi/tdemdi/dockcontainer.cpp
index 898f1bd1e..8b2cf86cf 100644
--- a/tdemdi/tdemdi/dockcontainer.cpp
+++ b/tdemdi/tdemdi/dockcontainer.cpp
@@ -279,7 +279,7 @@ bool DockContainer::eventFilter( TQObject *obj, TQEvent *event )
if (m_movingState==WaitingForMoveStart) {
TQPoint p( ((TQMouseEvent*)event)->pos() - m_startEvent->pos() );
if( p.manhattanLength() > TDEGlobalSettings::dndEventDelay()) {
- m_dockManager->eventFilter(m_dragPanel,TQT_TQEVENT(m_startEvent));
+ m_dockManager->eventFilter(m_dragPanel,static_cast<TQEvent*>(m_startEvent));
m_dockManager->eventFilter(m_dragPanel,event);
m_movingState=Moving;
}
diff --git a/tdemdi/tdemdidockcontainer.cpp b/tdemdi/tdemdidockcontainer.cpp
index 6a18ef8e6..1e4c95eaf 100644
--- a/tdemdi/tdemdidockcontainer.cpp
+++ b/tdemdi/tdemdidockcontainer.cpp
@@ -303,7 +303,7 @@ bool KMdiDockContainer::eventFilter( TQObject *obj, TQEvent *event )
TQPoint p( ( ( TQMouseEvent* ) event )->pos() - m_startEvent->pos() );
if ( p.manhattanLength() > TDEGlobalSettings::dndEventDelay() )
{
- m_dockManager->eventFilter( m_dragPanel, TQT_TQEVENT(m_startEvent) );
+ m_dockManager->eventFilter( m_dragPanel, static_cast<TQEvent*>(m_startEvent) );
m_dockManager->eventFilter( m_dragPanel, event );
m_movingState = Moving;
}