summaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/helpwidget.cpp')
-rw-r--r--src/modules/help/helpwidget.cpp14
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()) {