diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-02 22:50:02 +0900 |
commit | b19e4cab8888a6f486ebdb7242ea5f65435cb68c (patch) | |
tree | b23c2cdc474711742f76fa71df81896c3f421c94 /konqueror | |
parent | 6b5d95d534223dc1d09d8d8f5eec1f146d8b1dec (diff) | |
download | tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.tar.gz tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
Diffstat (limited to 'konqueror')
-rw-r--r-- | konqueror/konq_combo.cpp | 2 | ||||
-rw-r--r-- | konqueror/konq_frame.cpp | 4 | ||||
-rw-r--r-- | konqueror/konq_mainwindow.cpp | 2 | ||||
-rw-r--r-- | konqueror/konq_view.cpp | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/konqueror/konq_combo.cpp b/konqueror/konq_combo.cpp index 354a4a590..8793441cd 100644 --- a/konqueror/konq_combo.cpp +++ b/konqueror/konq_combo.cpp @@ -399,7 +399,7 @@ bool KonqCombo::eventFilter( TQObject *o, TQEvent *ev ) if ( o == edit ) { int type = ev->type(); if ( type == TQEvent::KeyPress ) { - TQKeyEvent *e = TQT_TQKEYEVENT( ev ); + TQKeyEvent *e = static_cast<TQKeyEvent*>( ev ); if ( e->key() == Key_Return || e->key() == Key_Enter ) { m_modifier = e->state(); diff --git a/konqueror/konq_frame.cpp b/konqueror/konq_frame.cpp index 8efe3fe38..cf0960f4d 100644 --- a/konqueror/konq_frame.cpp +++ b/konqueror/konq_frame.cpp @@ -177,7 +177,7 @@ bool KonqFrameStatusBar::eventFilter(TQObject* o, TQEvent *e) { emit clicked(); update(); - if ( TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton) + if ( static_cast<TQMouseEvent*>(e)->button() == TQt::RightButton) splitFrameMenu(); return true; } @@ -397,7 +397,7 @@ bool KonqFrame::eventFilter(TQObject* /*obj*/, TQEvent *ev) { if (ev->type()==TQEvent::KeyPress) { - TQKeyEvent * keyEv = TQT_TQKEYEVENT(ev); + TQKeyEvent * keyEv = static_cast<TQKeyEvent*>(ev); if ((keyEv->key()==Key_Tab) && (keyEv->state()==ControlButton)) { emit ((KonqFrameContainer*)parent())->ctrlTabPressed(); diff --git a/konqueror/konq_mainwindow.cpp b/konqueror/konq_mainwindow.cpp index 4633f72c9..ab8d56c77 100644 --- a/konqueror/konq_mainwindow.cpp +++ b/konqueror/konq_mainwindow.cpp @@ -3466,7 +3466,7 @@ bool KonqMainWindow::eventFilter(TQObject*obj,TQEvent *ev) { //kdDebug(1202) << "KonqMainWindow::eventFilter " << obj << " " << obj->className() << " " << obj->name() << endl; - TQFocusEvent * focusEv = TQT_TQFOCUSEVENT(ev); + TQFocusEvent * focusEv = static_cast<TQFocusEvent*>(ev); if (focusEv->reason() == TQFocusEvent::Popup) { return KParts::MainWindow::eventFilter( obj, ev ); diff --git a/konqueror/konq_view.cpp b/konqueror/konq_view.cpp index 856c4aa92..0bacb9c5b 100644 --- a/konqueror/konq_view.cpp +++ b/konqueror/konq_view.cpp @@ -1293,7 +1293,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e ) { if ( e->type() == TQEvent::ContextMenu ) { - TQContextMenuEvent *ev = TQT_TQCONTEXTMENUEVENT( e ); + TQContextMenuEvent *ev = static_cast<TQContextMenuEvent*>( e ); if ( ev->reason() == TQContextMenuEvent::Mouse ) { return true; @@ -1301,7 +1301,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e ) } else if ( e->type() == TQEvent::MouseButtonPress ) { - TQMouseEvent *ev = TQT_TQMOUSEEVENT( e ); + TQMouseEvent *ev = static_cast<TQMouseEvent*>( e ); if ( ev->button() == TQt::RightButton ) { return true; @@ -1309,7 +1309,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e ) } else if ( e->type() == TQEvent::MouseButtonRelease ) { - TQMouseEvent *ev = TQT_TQMOUSEEVENT( e ); + TQMouseEvent *ev = static_cast<TQMouseEvent*>( e ); if ( ev->button() == TQt::RightButton ) { emit backRightClick(); @@ -1318,7 +1318,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e ) } else if ( e->type() == TQEvent::MouseMove ) { - TQMouseEvent *ev = TQT_TQMOUSEEVENT( e ); + TQMouseEvent *ev = static_cast<TQMouseEvent*>( e ); if ( ev->state() == TQt::RightButton ) { obj->removeEventFilter( this ); |