summaryrefslogtreecommitdiffstats
path: root/lib/util
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-12 11:39:51 +0900
committerMichele Calgaro <[email protected]>2023-07-13 20:55:05 +0900
commit14334c54280493270f175de52c28170cf14f50a3 (patch)
tree776cb15e2cb1c8171dd8bc56a204eb3b57653056 /lib/util
parentd45e5727ef2f1eb5abeb42b6e97cf0911703b001 (diff)
downloadtdevelop-14334c54280493270f175de52c28170cf14f50a3.tar.gz
tdevelop-14334c54280493270f175de52c28170cf14f50a3.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b8cc513c5e875739c6790da651f6a3f47ed8f657)
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/domutil.h2
-rw-r--r--lib/util/kdevshellwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/domutil.h b/lib/util/domutil.h
index e5614d49..9a0c24ad 100644
--- a/lib/util/domutil.h
+++ b/lib/util/domutil.h
@@ -174,7 +174,7 @@ public:
or "widget/property||2/string"
.
\verbatim
- <widget class=TQDIALOG_OBJECT_NAME_STRING>
+ <widget class="TQDialog">
<property name="name">
<cstring>KdevFormName</cstring>
</property>
diff --git a/lib/util/kdevshellwidget.cpp b/lib/util/kdevshellwidget.cpp
index 51d310bf..6bd6f1d8 100644
--- a/lib/util/kdevshellwidget.cpp
+++ b/lib/util/kdevshellwidget.cpp
@@ -52,7 +52,7 @@ void KDevShellWidget::activate( )
setFocusProxy( m_konsolePart->widget() );
m_konsolePart->widget()->setFocus();
- if ( m_konsolePart->widget()->inherits(TQFRAME_OBJECT_NAME_STRING) )
+ if ( m_konsolePart->widget()->inherits("TQFrame") )
((TQFrame*)m_konsolePart->widget())->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
m_konsolePart->widget()->show();