summaryrefslogtreecommitdiffstats
path: root/src/modules/term/termwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:14:01 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:14:01 -0600
commit32a249baaef1b910bffd79734c78cac3671f00f2 (patch)
tree07233b57d529ba723ec8d157152dada5b9cf8380 /src/modules/term/termwidget.cpp
parentc6611272c2bc4a42580848946c8c5d81bb0409c7 (diff)
downloadkvirc-32a249baaef1b910bffd79734c78cac3671f00f2.tar.gz
kvirc-32a249baaef1b910bffd79734c78cac3671f00f2.zip
Rename old tq methods that no longer need a unique name
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);