diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:46:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 18:54:01 +0900 |
commit | 0fc56f21d45249a473d20555ff3071d3b16bee54 (patch) | |
tree | c788136146e1f97187ecaf773563c21cbd42fa11 /konqueror | |
parent | 83e74d1e550db6a814ec252968b601f6a9b14f9b (diff) | |
download | tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.tar.gz tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
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 | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/konqueror/konq_combo.cpp b/konqueror/konq_combo.cpp index 850859b58..c1cbe734b 100644 --- a/konqueror/konq_combo.cpp +++ b/konqueror/konq_combo.cpp @@ -396,7 +396,7 @@ bool KonqCombo::eventFilter( TQObject *o, TQEvent *ev ) // Handle Ctrl+Del/Backspace etc better than the Qt widget, which always // jumps to the next whitespace. TQLineEdit *edit = lineEdit(); - if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(edit) ) { + if ( o == edit ) { int type = ev->type(); if ( type == TQEvent::KeyPress ) { TQKeyEvent *e = TQT_TQKEYEVENT( ev ); diff --git a/konqueror/konq_frame.cpp b/konqueror/konq_frame.cpp index 0acf39b49..7a620f0fd 100644 --- a/konqueror/konq_frame.cpp +++ b/konqueror/konq_frame.cpp @@ -173,7 +173,7 @@ void KonqFrameStatusBar::splitFrameMenu() bool KonqFrameStatusBar::eventFilter(TQObject* o, TQEvent *e) { - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_pStatusLabel) && e->type()==TQEvent::MouseButtonPress) + if (o == m_pStatusLabel && e->type()==TQEvent::MouseButtonPress) { emit clicked(); update(); @@ -181,7 +181,7 @@ bool KonqFrameStatusBar::eventFilter(TQObject* o, TQEvent *e) splitFrameMenu(); return true; } - else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) && e->type() == TQEvent::ApplicationPaletteChange ) + else if ( o == this && e->type() == TQEvent::ApplicationPaletteChange ) { unsetPalette(); updateActiveStatus(); diff --git a/konqueror/konq_mainwindow.cpp b/konqueror/konq_mainwindow.cpp index 770678c4e..2880fad8a 100644 --- a/konqueror/konq_mainwindow.cpp +++ b/konqueror/konq_mainwindow.cpp @@ -3462,7 +3462,7 @@ void KonqMainWindow::slotClearComboHistory() bool KonqMainWindow::eventFilter(TQObject*obj,TQEvent *ev) { if ( ( ev->type()==TQEvent::FocusIn || ev->type()==TQEvent::FocusOut ) && - m_combo && TQT_BASE_OBJECT(m_combo->lineEdit()) == TQT_BASE_OBJECT(obj) ) + m_combo && m_combo->lineEdit() == obj ) { //kdDebug(1202) << "KonqMainWindow::eventFilter " << obj << " " << obj->className() << " " << obj->name() << endl; diff --git a/konqueror/konq_view.cpp b/konqueror/konq_view.cpp index 9f7bef4d8..5a7ea1244 100644 --- a/konqueror/konq_view.cpp +++ b/konqueror/konq_view.cpp @@ -1256,7 +1256,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e ) if ( !m_pPart ) return false; // kdDebug() << "--" << obj->className() << "--" << e->type() << "--" << endl; - if ( e->type() == TQEvent::DragEnter && m_bURLDropHandling && TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pPart->widget()) ) + if ( e->type() == TQEvent::DragEnter && m_bURLDropHandling && obj == m_pPart->widget() ) { TQDragEnterEvent *ev = static_cast<TQDragEnterEvent *>( e ); @@ -1277,7 +1277,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e ) delete children; } } - else if ( e->type() == TQEvent::Drop && m_bURLDropHandling && TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pPart->widget()) ) + else if ( e->type() == TQEvent::Drop && m_bURLDropHandling && obj == m_pPart->widget() ) { TQDropEvent *ev = static_cast<TQDropEvent *>( e ); |