From 22625693f124aae09863f4d33e30b625a96c3557 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 10:17:40 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- drkonqi/backtrace.cpp | 2 +- drkonqi/bugdescriptiondialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'drkonqi') diff --git a/drkonqi/backtrace.cpp b/drkonqi/backtrace.cpp index 8078f94be..ac82e4417 100644 --- a/drkonqi/backtrace.cpp +++ b/drkonqi/backtrace.cpp @@ -89,7 +89,7 @@ void BackTrace::start() { TQObject * o = parent(); - if (o && !o->inherits(TQWIDGET_OBJECT_NAME_STRING)) + if (o && !o->inherits("TQWidget")) { o = NULL; } diff --git a/drkonqi/bugdescriptiondialog.cpp b/drkonqi/bugdescriptiondialog.cpp index 6d6b2d75a..32c7b4b2d 100644 --- a/drkonqi/bugdescriptiondialog.cpp +++ b/drkonqi/bugdescriptiondialog.cpp @@ -94,7 +94,7 @@ BugDescriptionDialog::BugDescriptionDialog( TQWidget * parentw, bool modal, cons lay->addWidget( m_descriptionLabel ); // The multiline-edit - m_lineedit = new TQMultiLineEdit( parent, TQMULTILINEEDIT_OBJECT_NAME_STRING ); + m_lineedit = new TQMultiLineEdit( parent, "TQMultiLineEdit" ); m_lineedit->setMinimumHeight( 180 ); // make it big m_lineedit->setWordWrap(TQMultiLineEdit::WidgetWidth); lay->addWidget( m_lineedit, 10 /*stretch*/ ); -- cgit v1.2.1