summaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:20 -0600
commitc6611272c2bc4a42580848946c8c5d81bb0409c7 (patch)
tree0fd5b58844663dfcd00fb2b79cf67dd0fd429c62 /src/modules/help/helpwidget.cpp
parent805c2821ceaddada48b346c6d11bd0dc1351a539 (diff)
downloadkvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.tar.gz
kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 805c2821ceaddada48b346c6d11bd0dc1351a539.
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 cd32db5c..67ee30b0 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 <clipboard.h>
+#include <tqclipboard.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->sizeHint().height();
+ int hght = m_pToolBar->tqsizeHint().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::sizeHint() const
+TQSize KviHelpWidget::tqsizeHint() const
{
- 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());
+ 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());
return s;
}
bool KviHelpWidget::eventFilter(TQObject * o, TQEvent *e)
{
- TQClipboard *cb = TQApplication::clipboard();
+ TQClipboard *cb = TQApplication::tqclipboard();
if(e->type() == TQEvent::MouseButtonRelease) {
if(m_pTextBrowser->hasSelectedText()) {