From 2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Jun 2011 23:06:17 +0000 Subject: Fix remaining kdevelop build problems git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237331 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdevdesigner/designer/propertyeditor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdevdesigner/designer/propertyeditor.cpp') diff --git a/kdevdesigner/designer/propertyeditor.cpp b/kdevdesigner/designer/propertyeditor.cpp index 4294deb5..9d9678ad 100644 --- a/kdevdesigner/designer/propertyeditor.cpp +++ b/kdevdesigner/designer/propertyeditor.cpp @@ -3023,7 +3023,7 @@ static bool tqparent_is_data_aware( TQWidget *w ) { TQWidget *p = w ? w->tqparentWidget() : 0; while ( p && !p->isTopLevel() ) { - if ( ::tqqt_cast(p) || ::tqqt_cast(p) ) + if ( ::tqqt_cast(p) || ::tqqt_cast(p) ) return TRUE; p = p->tqparentWidget(); } @@ -3057,7 +3057,7 @@ void PropertyList::setupProperties() continue; if ( unique.tqcontains( TQString::tqfromLatin1( it.current() ) ) ) continue; - if ( ::tqqt_cast(editor->widget()) || + if ( ::tqqt_cast(editor->widget()) || ::tqqt_cast(editor->widget()) ) { if ( qstrcmp( p->name(), "minimumHeight" ) == 0 ) continue; @@ -3235,7 +3235,7 @@ void PropertyList::setupProperties() } } - if ( !::tqqt_cast(w) && !::tqqt_cast(w) && !::tqqt_cast(w) && + if ( !::tqqt_cast(w) && !::tqqt_cast(w) && !::tqqt_cast(w) && w->isWidgetType() && WidgetFactory::tqlayoutType( (TQWidget*)w ) != WidgetFactory::NoLayout ) { item = new PropertyLayoutItem( this, item, 0, "tqlayoutSpacing" ); setPropertyValue( item ); @@ -3269,7 +3269,7 @@ void PropertyList::setupProperties() } if ( !::tqqt_cast(w) && !::tqqt_cast(w) && - !::tqqt_cast(w) && !::tqqt_cast(w) ) { + !::tqqt_cast(w) && !::tqqt_cast(w) ) { item = new PropertyTextItem( this, item, 0, "toolTip", TRUE, FALSE ); setPropertyValue( item ); if ( MetaDataBase::isPropertyChanged( editor->widget(), "toolTip" ) ) -- cgit v1.2.3