diff options
-rw-r--r-- | kbabel/kbabeldict/kbabeldictbox.cpp | 2 | ||||
-rw-r--r-- | scheck/scheck.cpp | 2 | ||||
-rw-r--r-- | umbrello/umbrello/umllistview.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp index d1d8dafd..1be091ff 100644 --- a/kbabel/kbabeldict/kbabeldictbox.cpp +++ b/kbabel/kbabeldict/kbabeldictbox.cpp @@ -1609,7 +1609,7 @@ bool KBabelDictBox::eventFilter(TQObject *o, TQEvent *e) { if(e->type() == TQEvent::Wheel) { - TQWheelEvent *we = TQT_TQWHEELEVENT(e); + TQWheelEvent *we = static_cast<TQWheelEvent*>(e); if(we) { wheelEvent(we); diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp index e04b89d4..5c5e2579 100644 --- a/scheck/scheck.cpp +++ b/scheck/scheck.cpp @@ -2701,7 +2701,7 @@ bool StyleCheckStyle::objectEventHandler( const TQStyleControlElementData &ceDat if ( event->type() == TQEvent::Paint && object->inherits("TQGroupBox") ) { - TQPaintEvent * pevent = TQT_TQPAINTEVENT(event); + TQPaintEvent * pevent = static_cast<TQPaintEvent*>(event); TQGroupBox* gb = static_cast<TQGroupBox*>(TQT_TQWIDGET(object)); bool nestedGroupBox = false; TQString stripped_title = removedXX(stripAccelViolations(gb->title())); diff --git a/umbrello/umbrello/umllistview.cpp b/umbrello/umbrello/umllistview.cpp index cf38403c..0a7b1183 100644 --- a/umbrello/umbrello/umllistview.cpp +++ b/umbrello/umbrello/umllistview.cpp @@ -144,7 +144,7 @@ UMLListView::~UMLListView() {} bool UMLListView::eventFilter(TQObject *o, TQEvent *e) { if (e->type() != TQEvent::MouseButtonPress || !o->isA("TQHeader")) return TQListView::eventFilter(o, e); - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast<TQMouseEvent*>(e); if (me->button() == TQt::RightButton) { if (m_pMenu) { m_pMenu->hide(); |