diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 23:54:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 23:54:16 -0600 |
commit | d4e11a5f488204ab8886e167c7c4af1e6e16ab58 (patch) | |
tree | 367a2caa6169a869cfbf6395dffe2d28e0f72654 /tdeui/kjanuswidget.cpp | |
parent | 2c4de80e1e29b261fe8770483f97b2d702e4bd08 (diff) | |
download | tdelibs-d4e11a5f488204ab8886e167c7c4af1e6e16ab58.tar.gz tdelibs-d4e11a5f488204ab8886e167c7c4af1e6e16ab58.zip |
Use non-tq sizeHint functions to fix bindings
Diffstat (limited to 'tdeui/kjanuswidget.cpp')
-rw-r--r-- | tdeui/kjanuswidget.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tdeui/kjanuswidget.cpp b/tdeui/kjanuswidget.cpp index d42f67e35..584780c8e 100644 --- a/tdeui/kjanuswidget.cpp +++ b/tdeui/kjanuswidget.cpp @@ -758,14 +758,14 @@ void KJanusWidget::setFocus() } -TQSize KJanusWidget::tqminimumSizeHint() const +TQSize KJanusWidget::minimumSizeHint() const { if( mFace == TreeList || mFace == IconList ) { TQSize s1( KDialog::spacingHint(), KDialog::spacingHint()*2 ); TQSize s2(0,0); TQSize s3(0,0); - TQSize s4( mPageStack->tqsizeHint() ); + TQSize s4( mPageStack->sizeHint() ); if( mFace == TreeList ) { @@ -781,7 +781,7 @@ TQSize KJanusWidget::tqminimumSizeHint() const if( mTitleLabel->isVisible() ) { - s3 += mTitleLabel->tqsizeHint(); + s3 += mTitleLabel->sizeHint(); s3.rheight() += mTitleSep->tqminimumSize().height(); } @@ -795,7 +795,7 @@ TQSize KJanusWidget::tqminimumSizeHint() const } else if( mFace == Tabbed ) { - return mTabControl->tqsizeHint(); + return mTabControl->sizeHint(); } else if( mFace == Swallow ) { @@ -803,7 +803,7 @@ TQSize KJanusWidget::tqminimumSizeHint() const } else if( mFace == Plain ) { - return mPlainPage->tqsizeHint(); + return mPlainPage->sizeHint(); } else { @@ -813,9 +813,9 @@ TQSize KJanusWidget::tqminimumSizeHint() const } -TQSize KJanusWidget::tqsizeHint() const +TQSize KJanusWidget::sizeHint() const { - return tqminimumSizeHint(); + return minimumSizeHint(); } @@ -914,7 +914,7 @@ bool KJanusWidget::eventFilter( TQObject *o, TQEvent *e ) if( item ) { int lw = item->width( mIconList ); - int sw = mIconList->verticalScrollBar()->tqsizeHint().width(); + int sw = mIconList->verticalScrollBar()->sizeHint().width(); mIconList->setFixedWidth( lw+sw+mIconList->frameWidth()*2 ); } } @@ -978,7 +978,7 @@ void KJanusWidget::IconListBox::updateWidth() if( verticalScrollBar()->isVisible() ) { - maxWidth += verticalScrollBar()->tqsizeHint().width(); + maxWidth += verticalScrollBar()->sizeHint().width(); } setFixedWidth( maxWidth + frameWidth()*2 ); |