summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/database.cpp
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 /kdevdesigner/designer/database.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 <[email protected]> (cherry picked from commit b8cc513c5e875739c6790da651f6a3f47ed8f657)
Diffstat (limited to 'kdevdesigner/designer/database.cpp')
-rw-r--r--kdevdesigner/designer/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdevdesigner/designer/database.cpp b/kdevdesigner/designer/database.cpp
index b5baea28..e7fdf0df 100644
--- a/kdevdesigner/designer/database.cpp
+++ b/kdevdesigner/designer/database.cpp
@@ -62,7 +62,7 @@ void DatabaseSupport::initPreview( const TQString &connection, const TQString &t
con = TQSqlDatabase::database();
frm = new TQSqlForm( o, table );
for ( TQMap<TQString, TQString>::Iterator it = dbControls.begin(); it != dbControls.end(); ++it ) {
- TQObject *chld = parent->child( it.key(), TQWIDGET_OBJECT_NAME_STRING );
+ TQObject *chld = parent->child( it.key(), "TQWidget" );
if ( !chld )
continue;
frm->insert( (TQWidget*)chld, *it );