summaryrefslogtreecommitdiffstats
path: root/src/modules/term/termwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/term/termwidget.cpp')
-rw-r--r--src/modules/term/termwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/term/termwidget.cpp b/src/modules/term/termwidget.cpp
index d2618463..8b581c20 100644
--- a/src/modules/term/termwidget.cpp
+++ b/src/modules/term/termwidget.cpp
@@ -117,7 +117,7 @@ void KviTermWidget::resizeEvent(TQResizeEvent *e)
int hght = 0;
if(m_bIsStandalone)
{
- hght = m_pCloseButton->tqsizeHint().height();
+ hght = m_pCloseButton->sizeHint().height();
m_pHBox->setGeometry(1,1,width() - 2,hght + 1);
}
@@ -157,18 +157,18 @@ void KviTermWidget::changeColumns(int)
{
}
-TQSize KviTermWidget::tqsizeHint() const
+TQSize KviTermWidget::sizeHint() const
{
int hght = 0;
int wdth = 0;
if(m_pKonsoleWidget)
{
- hght += m_pKonsoleWidget->tqsizeHint().height();
- wdth = m_pKonsoleWidget->tqsizeHint().width();
+ hght += m_pKonsoleWidget->sizeHint().height();
+ wdth = m_pKonsoleWidget->sizeHint().width();
}
if(m_pCloseButton)
{
- hght += m_pCloseButton->tqsizeHint().height();
+ hght += m_pCloseButton->sizeHint().height();
}
return TQSize(wdth + 2,hght + 2);