diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:47:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-17 14:22:25 +0900 |
commit | e0b799d647cf144caa7a58615e02132d9fd54809 (patch) | |
tree | 8bbc94fe4f5bfe51419fcc716bae3a9c77f1dfdd /kview | |
parent | 96eaae090ebed7c9cef41303e4b43a2aac0b3d8b (diff) | |
download | tdegraphics-e0b799d647cf144caa7a58615e02132d9fd54809.tar.gz tdegraphics-e0b799d647cf144caa7a58615e02132d9fd54809.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kview')
-rw-r--r-- | kview/kview.cpp | 2 | ||||
-rw-r--r-- | kview/kviewcanvas/kimagecanvas.cpp | 2 | ||||
-rw-r--r-- | kview/modules/presenter/kviewpresenter.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kview/kview.cpp b/kview/kview.cpp index 063a0e14..8ecaeba9 100644 --- a/kview/kview.cpp +++ b/kview/kview.cpp @@ -251,7 +251,7 @@ void KView::readSettings() // TDEConfig * config ) bool KView::eventFilter( TQObject * obj, TQEvent * ev ) { - if( ev->type() == TQEvent::Resize && TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) ) + if( ev->type() == TQEvent::Resize && obj == m_pViewer->widget() ) { if( m_nResizeMode == ResizeImage ) handleResize(); diff --git a/kview/kviewcanvas/kimagecanvas.cpp b/kview/kviewcanvas/kimagecanvas.cpp index 8c203478..39e78305 100644 --- a/kview/kviewcanvas/kimagecanvas.cpp +++ b/kview/kviewcanvas/kimagecanvas.cpp @@ -326,7 +326,7 @@ TQString KImageCanvas::blendEffectDescription( unsigned int idx ) const bool KImageCanvas::eventFilter( TQObject * obj, TQEvent * ev ) { - if( ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_client) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_oldClient) ) && ev->type() == TQEvent::MouseMove ) + if( ( obj == m_client || obj == m_oldClient ) && ev->type() == TQEvent::MouseMove ) mouseMoveEvent( TQT_TQMOUSEEVENT( ev ) ); return TQScrollView::eventFilter( obj, ev ); } diff --git a/kview/modules/presenter/kviewpresenter.cpp b/kview/modules/presenter/kviewpresenter.cpp index 99083b6d..3017e1b8 100644 --- a/kview/modules/presenter/kviewpresenter.cpp +++ b/kview/modules/presenter/kviewpresenter.cpp @@ -160,7 +160,7 @@ KViewPresenter::~KViewPresenter() bool KViewPresenter::eventFilter( TQObject *obj, TQEvent *ev ) { - if( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pImageList) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pImageList->m_pListView) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pImageList->m_pListView->viewport()) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) ) + if( obj == m_pImageList || obj == m_pImageList->m_pListView || obj == m_pImageList->m_pListView->viewport() || obj == m_pViewer->widget() ) { switch( ev->type() ) { |