summaryrefslogtreecommitdiffstats
path: root/nsplugins/viewer/kxt.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commitf1fdec42303ca53d085302ea2af9110cd1d79570 (patch)
tree6fbc7d845deb57ffaff27e03fc2c7058ebead321 /nsplugins/viewer/kxt.cpp
parent841194d1bffdf87bcdbae758777e6c88aef6bf1d (diff)
downloadtdebase-f1fdec42303ca53d085302ea2af9110cd1d79570.tar.gz
tdebase-f1fdec42303ca53d085302ea2af9110cd1d79570.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'nsplugins/viewer/kxt.cpp')
-rw-r--r--nsplugins/viewer/kxt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/nsplugins/viewer/kxt.cpp b/nsplugins/viewer/kxt.cpp
index dbc865fb5..c9c535957 100644
--- a/nsplugins/viewer/kxt.cpp
+++ b/nsplugins/viewer/kxt.cpp
@@ -177,7 +177,7 @@ static
QWidgetClassRec qwidgetClassRec = {
{ /* core fields */
/* superclass */ (WidgetClass) &widgetClassRec,
- /* class_name */ (char*)"TQWidget",
+ /* class_name */ (char*)TQWIDGET_OBJECT_NAME_STRING,
/* widget_size */ sizeof(QWidgetRec),
/* class_initialize */ 0,
/* class_part_initialize */ 0,
@@ -438,7 +438,7 @@ void KXtWidget::init(const char* name, WidgetClass widget_class,
/*!
Constructs a KXtWidget of the special Xt widget class known as
- "TQWidget" to the resource manager.
+ TQWIDGET_OBJECT_NAME_STRING to the resource manager.
Use this constructor to utilize Qt widgets in an Xt/Motif
application. The KXtWidget is a TQWidget, so you can create
@@ -492,7 +492,7 @@ KXtWidget::~KXtWidget()
{
// Delete children first, as Xt will destroy their windows
//
- TQObjectList* list = queryList("TQWidget", 0, FALSE, FALSE);
+ TQObjectList* list = queryList(TQWIDGET_OBJECT_NAME_STRING, 0, FALSE, FALSE);
if ( list ) {
TQWidget* c;
TQObjectListIt it( *list );