diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:44:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 21:44:59 +0900 |
commit | 1607518b8c749b4195c5ab11b405f77001526a6a (patch) | |
tree | 89b8bc00c6b9625f6a4f061594f57f457d18a174 /kword/KWCanvas.cpp | |
parent | 64574118b7f71db7cb0a7f513a824dd51185b632 (diff) | |
download | koffice-1607518b8c749b4195c5ab11b405f77001526a6a.tar.gz koffice-1607518b8c749b4195c5ab11b405f77001526a6a.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
Diffstat (limited to 'kword/KWCanvas.cpp')
-rw-r--r-- | kword/KWCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp index 11e23e27..044801ae 100644 --- a/kword/KWCanvas.cpp +++ b/kword/KWCanvas.cpp @@ -1699,9 +1699,9 @@ void KWCanvas::updateRulerOffsets( int cx, int cy ) bool KWCanvas::eventFilter( TQObject *o, TQEvent *e ) { - if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(viewport()) ) { + if ( o == this || o == viewport() ) { - if(m_currentFrameSetEdit && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) ) + if(m_currentFrameSetEdit && o == this ) { // Pass event to auto-hide-cursor code (see kcursor.h for details) KCursor::autoHideEventFilter( o, e ); |