diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:44:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 21:44:59 +0900 |
commit | 1607518b8c749b4195c5ab11b405f77001526a6a (patch) | |
tree | 89b8bc00c6b9625f6a4f061594f57f457d18a174 /lib/kofficecore/KoDetailsPane.cpp | |
parent | 64574118b7f71db7cb0a7f513a824dd51185b632 (diff) | |
download | koffice-1607518b.tar.gz koffice-1607518b.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
Diffstat (limited to 'lib/kofficecore/KoDetailsPane.cpp')
-rw-r--r-- | lib/kofficecore/KoDetailsPane.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoDetailsPane.cpp b/lib/kofficecore/KoDetailsPane.cpp index 18e0f317b..5a4c34663 100644 --- a/lib/kofficecore/KoDetailsPane.cpp +++ b/lib/kofficecore/KoDetailsPane.cpp @@ -226,13 +226,13 @@ void KoTemplatesPane::changeAlwaysUseTemplate(KoTemplatesPane* sender, const TQS bool KoTemplatesPane::eventFilter(TQObject* watched, TQEvent* e) { - if(TQT_BASE_OBJECT(watched) == m_previewLabel) { + if(watched == m_previewLabel) { if(e->type() == TQEvent::MouseButtonDblClick) { openTemplate(); } } - if(TQT_BASE_OBJECT(watched) == m_documentList) { + if(watched == m_documentList) { if((e->type() == TQEvent::Resize) && isShown()) { emit splitterResized(this, m_splitter->sizes()); } @@ -444,13 +444,13 @@ void KoRecentDocumentsPane::changePalette() bool KoRecentDocumentsPane::eventFilter(TQObject* watched, TQEvent* e) { - if(TQT_BASE_OBJECT(watched) == m_previewLabel) { + if(watched == m_previewLabel) { if(e->type() == TQEvent::MouseButtonDblClick) { openFile(); } } - if(TQT_BASE_OBJECT(watched) == m_documentList) { + if(watched == m_documentList) { if((e->type() == TQEvent::Resize) && isShown()) { emit splitterResized(this, m_splitter->sizes()); } |