From e524a45ee7cd6285ef3fa48ac8a1ac056293149a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:43:06 +0900 Subject: [PATCH] Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- src/kmplayerapp.cpp | 3 +-- src/kmplayerview.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/kmplayerapp.cpp b/src/kmplayerapp.cpp index 1b61320..04fc980 100644 --- a/src/kmplayerapp.cpp +++ b/src/kmplayerapp.cpp @@ -1501,8 +1501,7 @@ KDE_NO_EXPORT void KMPlayerApp::slotStatusMsg (const TQString &text) { } KDE_NO_EXPORT void KMPlayerApp::fullScreen () { -// if (TQT_TQOBJECT(const_cast(sender ()))->metaObject ()->inherits ("TDEAction")) - if (TQT_TQOBJECT(const_cast(sender ()))->inherits ("TDEAction")) + if (sender()->inherits("TDEAction")) m_view->fullScreen(); #if KDE_IS_VERSION(3,1,90) viewFullscreen->setChecked (m_view->isFullScreen ()); diff --git a/src/kmplayerview.cpp b/src/kmplayerview.cpp index 3379c4b..46f4d8e 100644 --- a/src/kmplayerview.cpp +++ b/src/kmplayerview.cpp @@ -228,7 +228,7 @@ KDE_NO_EXPORT void View::init (TDEActionCollection * action_collection) { KDE_NO_CDTOR_EXPORT View::~View () { delete m_image; - if (TQT_BASE_OBJECT(m_view_area->parent ()) != TQT_BASE_OBJECT(this)) + if (m_view_area->parent() != this) delete m_view_area; }