summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/database.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-12 11:39:51 +0900
commitb8cc513c5e875739c6790da651f6a3f47ed8f657 (patch)
treec5ea9e06083342e0595e717cb7e17c8e0b24403e /kdevdesigner/designer/database.cpp
parent49e038a76fc5a579ee3c629ef78b051071f32e0a (diff)
downloadtdevelop-b8cc513c5e875739c6790da651f6a3f47ed8f657.tar.gz
tdevelop-b8cc513c5e875739c6790da651f6a3f47ed8f657.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>
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 );