diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:36:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:36:08 -0600 |
commit | c3b301575a98e4c3505ad95534d6192b65539dab (patch) | |
tree | 532456654ca955508c4a6e7cd6f04db4ce151c53 /kdevdesigner/designer/layout.cpp | |
parent | 1623fe64102c18ab098b79656b80f28cef840756 (diff) | |
download | tdevelop-c3b301575a98e4c3505ad95534d6192b65539dab.tar.gz tdevelop-c3b301575a98e4c3505ad95534d6192b65539dab.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kdevdesigner/designer/layout.cpp')
-rw-r--r-- | kdevdesigner/designer/layout.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdevdesigner/designer/layout.cpp b/kdevdesigner/designer/layout.cpp index f908dd4b..33a6877b 100644 --- a/kdevdesigner/designer/layout.cpp +++ b/kdevdesigner/designer/layout.cpp @@ -936,15 +936,15 @@ void Spacer::setSizeType( SizeType t ) sizeP = TQSizePolicy( TQSizePolicy::Minimum, (TQSizePolicy::SizeType)t ); else sizeP = TQSizePolicy( (TQSizePolicy::SizeType)t, TQSizePolicy::Minimum ); - tqsetSizePolicy( sizeP ); + setSizePolicy( sizeP ); } Spacer::SizeType Spacer::sizeType() const { if ( orient ==Qt::Vertical ) - return (SizeType)tqsizePolicy().verData(); - return (SizeType)tqsizePolicy().horData(); + return (SizeType)sizePolicy().verData(); + return (SizeType)sizePolicy().horData(); } int Spacer::tqalignment() const @@ -954,7 +954,7 @@ int Spacer::tqalignment() const return AlignVCenter; } -TQSize Spacer::tqminimumSize() const +TQSize Spacer::minimumSize() const { TQSize s = TQSize( 20,20 ); if ( sizeType() == Expanding ) @@ -965,7 +965,7 @@ TQSize Spacer::tqminimumSize() const return s; } -TQSize Spacer::tqsizeHint() const +TQSize Spacer::sizeHint() const { return sh; } @@ -975,7 +975,7 @@ void Spacer::setSizeHint( const TQSize &s ) { sh = s; if ( !parentWidget() || WidgetFactory::layoutType( parentWidget() ) == WidgetFactory::NoLayout ) - resize( tqsizeHint() ); + resize( sizeHint() ); updateGeometry(); } |