diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:01 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:47:53 +0200 |
| commit | edb69b6a65e67dd6368b8b0ae16a8bf4105ca76d (patch) | |
| tree | 28bd248be2c353363d87c4b09d04c871e45d5326 /src/modules/help/helpwidget.cpp | |
| parent | ba43a7ccf7c51a6c29c752b669edd4eba06dc23e (diff) | |
| download | kvirc-edb69b6a65e67dd6368b8b0ae16a8bf4105ca76d.tar.gz kvirc-edb69b6a65e67dd6368b8b0ae16a8bf4105ca76d.zip | |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 32a249baaef1b910bffd79734c78cac3671f00f2)
Diffstat (limited to 'src/modules/help/helpwidget.cpp')
| -rw-r--r-- | src/modules/help/helpwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/help/helpwidget.cpp b/src/modules/help/helpwidget.cpp index 67ee30b..c0f7f1c 100644 --- a/src/modules/help/helpwidget.cpp +++ b/src/modules/help/helpwidget.cpp @@ -108,7 +108,7 @@ void KviHelpWidget::showIndex() void KviHelpWidget::resizeEvent(TQResizeEvent *e) { - int hght = m_pToolBar->tqsizeHint().height(); + int hght = m_pToolBar->sizeHint().height(); if(hght < 40)hght = 40; m_pToolBar->setGeometry(0,0,width(),hght); m_pTextBrowser->setGeometry(0,hght,width(),height() - hght); @@ -128,11 +128,11 @@ void KviHelpWidget::suicide() delete this; } -TQSize KviHelpWidget::tqsizeHint() const +TQSize KviHelpWidget::sizeHint() const { - int wdth = m_pTextBrowser->tqsizeHint().width(); - if(m_pToolBar->tqsizeHint().width() > wdth)wdth = m_pToolBar->tqsizeHint().width(); - TQSize s(wdth,m_pTextBrowser->tqsizeHint().height() + m_pToolBar->tqsizeHint().height()); + int wdth = m_pTextBrowser->sizeHint().width(); + if(m_pToolBar->sizeHint().width() > wdth)wdth = m_pToolBar->sizeHint().width(); + TQSize s(wdth,m_pTextBrowser->sizeHint().height() + m_pToolBar->sizeHint().height()); return s; } |
