diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/designer/layout.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/designer/designer/layout.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/tools/designer/designer/layout.cpp b/tqtinterface/qt4/tools/designer/designer/layout.cpp index e8266c3..acb6766 100644 --- a/tqtinterface/qt4/tools/designer/designer/layout.cpp +++ b/tqtinterface/qt4/tools/designer/designer/layout.cpp @@ -950,8 +950,8 @@ void Spacer::setSizeType( SizeType t ) Spacer::SizeType Spacer::sizeType() const { if ( orient == Qt::Vertical ) - return (SizeType)sizePolicy().verData(); - return (SizeType)sizePolicy().horData(); + return (SizeType)tqsizePolicy().verData(); + return (SizeType)tqsizePolicy().horData(); } int Spacer::tqalignment() const @@ -972,7 +972,7 @@ TQSize Spacer::tqminimumSize() const return s; } -TQSize Spacer::sizeHint() const +TQSize Spacer::tqsizeHint() const { return sh; } @@ -982,7 +982,7 @@ void Spacer::setSizeHint( const TQSize &s ) { sh = s; if ( !parentWidget() || WidgetFactory::layoutType( parentWidget() ) == WidgetFactory::NoLayout ) - resize( sizeHint() ); + resize( tqsizeHint() ); updateGeometry(); } |