diff options
Diffstat (limited to 'tdeparts')
-rw-r--r-- | tdeparts/partmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeparts/partmanager.cpp b/tdeparts/partmanager.cpp index e380acf5f..140db74e2 100644 --- a/tdeparts/partmanager.cpp +++ b/tdeparts/partmanager.cpp @@ -55,7 +55,7 @@ public: switch( ev->type() ) { case TQEvent::MouseButtonPress: case TQEvent::MouseButtonDblClick: { - TQMouseEvent* mev = TQT_TQMOUSEEVENT( ev ); + TQMouseEvent* mev = static_cast<TQMouseEvent*>( ev ); m_reason = mev->button() == TQt::LeftButton ? PartManager::ReasonLeftClick : ( mev->button() == TQt::MidButton @@ -64,7 +64,7 @@ public: break; } case TQEvent::FocusIn: - m_reason = TQT_TQFOCUSEVENT( ev )->reason(); + m_reason = static_cast<TQFocusEvent*>( ev )->reason(); break; default: kdWarning(1000) << "PartManagerPrivate::setReason got unexpected ev type " << ev->type() << endl; @@ -192,7 +192,7 @@ bool PartManager::eventFilter( TQObject *obj, TQEvent *ev ) TQMouseEvent* mev = 0L; if ( ev->type() == TQEvent::MouseButtonPress || ev->type() == TQEvent::MouseButtonDblClick ) { - mev = TQT_TQMOUSEEVENT( ev ); + mev = static_cast<TQMouseEvent*>( ev ); #ifdef DEBUG_PARTMANAGER kdDebug(1000) << "PartManager::eventFilter button: " << mev->button() << " " << "d->m_activationButtonMask=" << d->m_activationButtonMask << endl; #endif |