Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ddcc35a4b1)
r14.1.x
Michele Calgaro 1 year ago
parent a67df8047e
commit 588c6181fa
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -506,7 +506,7 @@ bool MediaControl::eventFilter(TQObject *, TQEvent *e)
{
if (e->type() == TQEvent::MouseButtonPress)
{
TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
TQMouseEvent *me = static_cast<TQMouseEvent*>(e);
if (me->button() == TQt::RightButton)
{
rmbMenu->popup(me->globalPos());

@ -137,7 +137,7 @@ DOMTreeWindow *DOMTreeView::mainWindow() const
bool DOMTreeView::eventFilter(TQObject *o, TQEvent *e)
{
if (e->type() == TQEvent::AccelOverride) {
TQKeyEvent *ke = TQT_TQKEYEVENT(e);
TQKeyEvent *ke = static_cast<TQKeyEvent*>(e);
kdDebug(90180) << " acceloverride " << ke->key() << " o " << o->name() << endl;
if (o == m_listView) { // DOM tree

@ -223,11 +223,11 @@ bool AlsaPlayer::eventFilter(TQObject *o, TQEvent *e)
switch (e->type())
{
case TQEvent::MouseButtonPress:
mousePressEvent(TQT_TQMOUSEEVENT(e));
mousePressEvent(static_cast<TQMouseEvent*>(e));
break;
case TQEvent::Wheel:
wheelEvent(TQT_TQWHEELEVENT(e));
wheelEvent(static_cast<TQWheelEvent*>(e));
return true;
break;

@ -321,7 +321,7 @@ bool Charlatan::eventFilter(TQObject *o, TQEvent *e)
switch (e->type())
{
case TQEvent::Wheel:
wheelEvent(TQT_TQWHEELEVENT(e));
wheelEvent(static_cast<TQWheelEvent*>(e));
return true;
break;

Loading…
Cancel
Save