diff options
Diffstat (limited to 'kexi/widget/utils/kexigradientwidget.cpp')
-rw-r--r-- | kexi/widget/utils/kexigradientwidget.cpp | 8 |
1 files changed, 4 insertions, 4 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 ) |