diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 21:42:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-13 09:04:02 +0900 |
commit | 462dc85dcb12aab8e19797dadf48799656708a54 (patch) | |
tree | 901511cb5d29b2a094b1149d0621add8cb15c0e9 /kexi/widget/utils | |
parent | 75cc9de8f47db776021b5e8153c930d9af2108b6 (diff) | |
download | koffice-462dc85d.tar.gz koffice-462dc85d.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 20e4a19b0d7cc800d57be50c56d69023adae4046)
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 d93b13ffc..92f53c606 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 18d1b09c0..6579fc426 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"); |