Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 1 year ago
parent f15328299d
commit e524a45ee7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1501,8 +1501,7 @@ KDE_NO_EXPORT void KMPlayerApp::slotStatusMsg (const TQString &text) {
}
KDE_NO_EXPORT void KMPlayerApp::fullScreen () {
// if (TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender ()))->metaObject ()->inherits ("TDEAction"))
if (TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender ()))->inherits ("TDEAction"))
if (sender()->inherits("TDEAction"))
m_view->fullScreen();
#if KDE_IS_VERSION(3,1,90)
viewFullscreen->setChecked (m_view->isFullScreen ());

@ -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;
}

Loading…
Cancel
Save