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 /khtml/rendering/render_form.cpp | |
| parent | 2c4de80e1e29b261fe8770483f97b2d702e4bd08 (diff) | |
| download | tdelibs-d4e11a5f488204ab8886e167c7c4af1e6e16ab58.tar.gz tdelibs-d4e11a5f488204ab8886e167c7c4af1e6e16ab58.zip | |
Use non-tq sizeHint functions to fix bindings
Diffstat (limited to 'khtml/rendering/render_form.cpp')
| -rw-r--r-- | khtml/rendering/render_form.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/khtml/rendering/render_form.cpp b/khtml/rendering/render_form.cpp index 13843fb7a..479d98727 100644 --- a/khtml/rendering/render_form.cpp +++ b/khtml/rendering/render_form.cpp @@ -809,7 +809,7 @@ void RenderFileButton::calcMinMaxWidth() edit, TQSize(w + 2 + 2*edit->frameWidth(), kMax(h, 14) + 2 + 2*edit->frameWidth())) .expandedTo(TQApplication::globalStrut()); - TQSize bs = static_cast<KURLRequester*>( m_widget )->tqminimumSizeHint() - edit->tqminimumSizeHint(); + TQSize bs = static_cast<KURLRequester*>( m_widget )->minimumSizeHint() - edit->minimumSizeHint(); setIntrinsicWidth( s.width() + bs.width() ); setIntrinsicHeight( kMax(s.height(), bs.height()) ); @@ -1107,14 +1107,14 @@ void RenderSelect::layout( ) if(size < 1) size = kMin(static_cast<KListBox*>(m_widget)->count(), 10u); - width += 2*w->frameWidth() + w->verticalScrollBar()->tqsizeHint().width(); + width += 2*w->frameWidth() + w->verticalScrollBar()->sizeHint().width(); height = size*height + 2*w->frameWidth(); setIntrinsicWidth( width ); setIntrinsicHeight( height ); } else { - TQSize s(m_widget->tqsizeHint()); + TQSize s(m_widget->sizeHint()); setIntrinsicWidth( s.width() ); setIntrinsicHeight( s.height() ); } @@ -1651,10 +1651,10 @@ void RenderTextArea::calcMinMaxWidth() const TQFontMetrics &m = style()->fontMetrics(); w->setTabStopWidth(8 * m.width(" ")); TQSize size( kMax(element()->cols(), 1L)*m.width('x') + w->frameWidth() + - w->verticalScrollBar()->tqsizeHint().width(), + w->verticalScrollBar()->sizeHint().width(), kMax(element()->rows(), 1L)*m.lineSpacing() + w->frameWidth()*4 + (w->wordWrap() == TQTextEdit::NoWrap ? - w->horizontalScrollBar()->tqsizeHint().height() : 0) + w->horizontalScrollBar()->sizeHint().height() : 0) ); setIntrinsicWidth( size.width() ); |
