diff options
author | Michele Calgaro <[email protected]> | 2023-07-11 21:42:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-11 21:42:08 +0900 |
commit | 20e4a19b0d7cc800d57be50c56d69023adae4046 (patch) | |
tree | 522b0ae95b8f7e9ee59a3b405de24b2dd8180bc4 /kexi/widget/utils | |
parent | c2fdb394e63c0df50f1a38eace1077a9151374ce (diff) | |
download | koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.tar.gz koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.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]>
Diffstat (limited to 'kexi/widget/utils')
-rw-r--r-- | kexi/widget/utils/kexigradientwidget.cpp | 8 | ||||
-rw-r--r-- | kexi/widget/utils/kexirecordnavigator.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kexi/widget/utils/kexigradientwidget.cpp b/kexi/widget/utils/kexigradientwidget.cpp index d93b13ff..92f53c60 100644 --- a/kexi/widget/utils/kexigradientwidget.cpp +++ b/kexi/widget/utils/kexigradientwidget.cpp @@ -55,11 +55,11 @@ bool KexiGradientWidget::isValidChildWidget( TQObject* child ) { if ( wgt == 0L ) return false; - if ( wgt->inherits( TQSCROLLVIEW_OBJECT_NAME_STRING ) ) + if ( wgt->inherits( "TQScrollView" ) ) return false; - if ( wgt->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) + if ( wgt->inherits( "TQComboBox" ) ) return false; - if ( wgt->inherits( TQLINEEDIT_OBJECT_NAME_STRING ) ) + if ( wgt->inherits( "TQLineEdit" ) ) return false; if ( wgt->inherits( "KexiDBForm" ) ) return false; @@ -68,7 +68,7 @@ bool KexiGradientWidget::isValidChildWidget( TQObject* child ) { } void KexiGradientWidget::buildChildrenList( WidgetList& list, TQWidget* p ) { - TQObjectList* objects = p->queryList( TQWIDGET_OBJECT_NAME_STRING, 0, false, false ); + TQObjectList* objects = p->queryList( "TQWidget", 0, false, false ); for ( TQObjectList::Iterator it = objects->begin(); it != objects->end(); ++it ) { if ( isValidChildWidget( ( *it ) ) == false ) diff --git a/kexi/widget/utils/kexirecordnavigator.cpp b/kexi/widget/utils/kexirecordnavigator.cpp index 18d1b09c..6579fc42 100644 --- a/kexi/widget/utils/kexirecordnavigator.cpp +++ b/kexi/widget/utils/kexirecordnavigator.cpp @@ -71,7 +71,7 @@ KexiRecordNavigator::KexiRecordNavigator(TQWidget *parent, int leftMargin, const , m_isInsertingEnabled(true) , d( new KexiRecordNavigatorPrivate() ) { - if (parent->inherits(TQSCROLLVIEW_OBJECT_NAME_STRING)) + if (parent->inherits("TQScrollView")) setParentView( dynamic_cast<TQScrollView*>(parent) ); setFrameStyle(TQFrame::NoFrame); d->lyr = new TQHBoxLayout(this,0,0,"nav_lyr"); |