summaryrefslogtreecommitdiffstats
path: root/src/modules/term
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:01 -0600
commit32a249baaef1b910bffd79734c78cac3671f00f2 (patch)
tree07233b57d529ba723ec8d157152dada5b9cf8380 /src/modules/term
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')
-rw-r--r--src/modules/term/termwidget.cpp10
-rw-r--r--src/modules/term/termwidget.h2
-rw-r--r--src/modules/term/termwindow.cpp4
-rw-r--r--src/modules/term/termwindow.h2
4 files changed, 9 insertions, 9 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);
diff --git a/src/modules/term/termwidget.h b/src/modules/term/termwidget.h
index 75739677..eb798364 100644
--- a/src/modules/term/termwidget.h
+++ b/src/modules/term/termwidget.h
@@ -60,7 +60,7 @@ protected slots:
void changeColumns(int);
public:
TQWidget * konsoleWidget(){ return m_pKonsoleWidget ? m_pKonsoleWidget : this; };
- virtual TQSize tqsizeHint() const;
+ virtual TQSize sizeHint() const;
int dummy() const { return 0; };
protected slots:
void konsoleDestroyed();
diff --git a/src/modules/term/termwindow.cpp b/src/modules/term/termwindow.cpp
index 700328fc..0610a600 100644
--- a/src/modules/term/termwindow.cpp
+++ b/src/modules/term/termwindow.cpp
@@ -60,9 +60,9 @@ void KviTermWindow::resizeEvent(TQResizeEvent *e)
if(m_pTermWidget)m_pTermWidget->setGeometry(0,0,width(),height());
}
-TQSize KviTermWindow::tqsizeHint() const
+TQSize KviTermWindow::sizeHint() const
{
- return m_pTermWidget ? m_pTermWidget->tqsizeHint() : KviWindow::tqsizeHint();
+ return m_pTermWidget ? m_pTermWidget->sizeHint() : KviWindow::sizeHint();
}
void KviTermWindow::fillCaptionBuffers()
diff --git a/src/modules/term/termwindow.h b/src/modules/term/termwindow.h
index 340e7439..1ac5a127 100644
--- a/src/modules/term/termwindow.h
+++ b/src/modules/term/termwindow.h
@@ -46,7 +46,7 @@ protected:
virtual void fillCaptionBuffers();
virtual void resizeEvent(TQResizeEvent *e);
public:
- virtual TQSize tqsizeHint() const;
+ virtual TQSize sizeHint() const;
};