From f1fdec42303ca53d085302ea2af9110cd1d79570 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 24 Feb 2011 07:08:32 +0000 Subject: 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 --- nsplugins/viewer/kxt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nsplugins') 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 ); -- cgit v1.2.1