diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:33:07 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:33:07 -0600 |
commit | 805c2821ceaddada48b346c6d11bd0dc1351a539 (patch) | |
tree | f4f34d4fae6b86d1b1058f396da4729906edbadb /src/modules/help/helpwidget.cpp | |
parent | 918c3ff07736f0c343cb190d3f0df99e4cb8dab8 (diff) | |
download | kvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.tar.gz kvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/modules/help/helpwidget.cpp')
-rw-r--r-- | src/modules/help/helpwidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/help/helpwidget.cpp b/src/modules/help/helpwidget.cpp index 67ee30b0..cd32db5c 100644 --- a/src/modules/help/helpwidget.cpp +++ b/src/modules/help/helpwidget.cpp @@ -36,7 +36,7 @@ #include <tqlineedit.h> #include <tqtooltip.h> #include <tqtimer.h> -#include <tqclipboard.h> +#include <clipboard.h> extern Index * g_pDocIndex; extern KviPointerList<KviHelpWindow> * g_pHelpWindowList; @@ -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,17 +128,17 @@ 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; } bool KviHelpWidget::eventFilter(TQObject * o, TQEvent *e) { - TQClipboard *cb = TQApplication::tqclipboard(); + TQClipboard *cb = TQApplication::clipboard(); if(e->type() == TQEvent::MouseButtonRelease) { if(m_pTextBrowser->hasSelectedText()) { |