diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 21:30:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-02 22:49:42 +0900 |
commit | d8d8319b3dddc86303699f242be2f1a36206da8e (patch) | |
tree | 4d8df38004b23ec50344a7126746bbb3453994a5 /tdemdi | |
parent | 3a837ecf257dc334d65818d456d5a6bd6a8b98ef (diff) | |
download | tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.tar.gz tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit f22a9c72dda24871973033123039639af6577eaa)
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; } |