diff options
Diffstat (limited to 'src/modules/term')
-rw-r--r-- | src/modules/term/termwidget.cpp | 10 | ||||
-rw-r--r-- | src/modules/term/termwidget.h | 2 | ||||
-rw-r--r-- | src/modules/term/termwindow.cpp | 4 | ||||
-rw-r--r-- | src/modules/term/termwindow.h | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/term/termwidget.cpp b/src/modules/term/termwidget.cpp index d261846..8b581c2 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 7573967..eb79836 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 700328f..0610a60 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 340e743..1ac5a12 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; }; |