From 539a1fd1ae6290cc3eec745226c0ce45b02c1545 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdevdesigner/designer/metadatabase.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdevdesigner/designer/metadatabase.cpp') diff --git a/kdevdesigner/designer/metadatabase.cpp b/kdevdesigner/designer/metadatabase.cpp index 68f721e8..72c2fa2f 100644 --- a/kdevdesigner/designer/metadatabase.cpp +++ b/kdevdesigner/designer/metadatabase.cpp @@ -304,11 +304,11 @@ void MetaDataBase::setSpacing( TQObject *o, int spacing ) r->spacing = spacing; TQLayout * tqlayout = 0; - WidgetFactory::tqlayoutType( (TQWidget*)o, tqlayout ); + WidgetFactory::layoutType( (TQWidget*)o, tqlayout ); if ( tqlayout ) { int spadef = 6; if ( MainWindow::self->formWindow() ) - spadef = MainWindow::self->formWindow()->tqlayoutDefaultSpacing(); + spadef = MainWindow::self->formWindow()->layoutDefaultSpacing(); if ( spacing == -1 ) tqlayout->setSpacing( spadef ); else @@ -347,21 +347,21 @@ void MetaDataBase::setMargin( TQObject *o, int margin ) r->margin = margin; TQLayout * tqlayout = 0; - WidgetFactory::tqlayoutType( (TQWidget*)o, tqlayout ); + WidgetFactory::layoutType( (TQWidget*)o, tqlayout ); bool isInnerLayout = TRUE; TQWidget *widget = (TQWidget*)o; if ( widget && !::tqqt_cast(widget) && ( WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( TQT_TQOBJECT(widget) ) ) ) || - widget && widget->tqparentWidget() && ::tqqt_cast(widget->tqparentWidget()) ) ) + widget && widget->parentWidget() && ::tqqt_cast(widget->parentWidget()) ) ) isInnerLayout = FALSE; if ( tqlayout ) { int mardef = 11; if ( MainWindow::self->formWindow() ) - mardef = MainWindow::self->formWindow()->tqlayoutDefaultMargin(); + mardef = MainWindow::self->formWindow()->layoutDefaultMargin(); if ( margin == -1 ) { if ( isInnerLayout ) tqlayout->setMargin( 1 ); -- cgit v1.2.1