summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/command.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:39:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 20:55:05 +0900
commit14334c54280493270f175de52c28170cf14f50a3 (patch)
tree776cb15e2cb1c8171dd8bc56a204eb3b57653056 /kdevdesigner/designer/command.cpp
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 <michele.calgaro@yahoo.it> (cherry picked from commit b8cc513c5e875739c6790da651f6a3f47ed8f657)
Diffstat (limited to 'kdevdesigner/designer/command.cpp')
-rw-r--r--kdevdesigner/designer/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdevdesigner/designer/command.cpp b/kdevdesigner/designer/command.cpp
index b9b97827..8d7888c2 100644
--- a/kdevdesigner/designer/command.cpp
+++ b/kdevdesigner/designer/command.cpp
@@ -371,7 +371,7 @@ DeleteCommand::DeleteCommand( const TQString &n, FormWindow *fw,
// Include the children of the selected items when deleting
for ( TQWidget *w = widgets.first(); w; w = widgets.next() ) {
- TQObjectList *children = w->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList *children = w->queryList( "TQWidget" );
for ( TQWidget *c = (TQWidget *)children->first(); c; c = (TQWidget *)children->next() ) {
if ( copyOfWidgets.find( c ) == -1 && formWindow()->widgets()->find( c ) ) {
widgets.insert(widgets.at() + 1, c);