diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 21:30:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 21:30:52 +0900 |
commit | f22a9c72dda24871973033123039639af6577eaa (patch) | |
tree | 3e9e1aa31f39f5945b92282e7d14a0c88a0ebcbf /tdemdi | |
parent | 7a00e005dd5806a1056488e3a1199bf382a42623 (diff) | |
download | tdelibs-f22a9c72dda24871973033123039639af6577eaa.tar.gz tdelibs-f22a9c72dda24871973033123039639af6577eaa.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdemdi')
-rw-r--r-- | tdemdi/tdemdi/dockcontainer.cpp | 2 | ||||
-rw-r--r-- | tdemdi/tdemdidockcontainer.cpp | 2 |
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; } |