summaryrefslogtreecommitdiffstats
path: root/ksysv/kdltooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/kdltooltip.cpp')
-rw-r--r--ksysv/kdltooltip.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/ksysv/kdltooltip.cpp b/ksysv/kdltooltip.cpp
index a0947ce..7b3a421 100644
--- a/ksysv/kdltooltip.cpp
+++ b/ksysv/kdltooltip.cpp
@@ -12,17 +12,17 @@
* *
***************************************************************************/
-#include <qrect.h>
-#include <qscrollbar.h>
-#include <qheader.h>
+#include <tqrect.h>
+#include <tqscrollbar.h>
+#include <tqheader.h>
#include <kdebug.h>
#include "ksvdraglist.h"
#include "kdltooltip.h"
-KDLToolTip::KDLToolTip (KSVDragList *parent, QToolTipGroup* group)
- : QToolTip(parent, group),
+KDLToolTip::KDLToolTip (KSVDragList *parent, TQToolTipGroup* group)
+ : TQToolTip(parent, group),
mParent (parent)
{
}
@@ -31,16 +31,16 @@ KDLToolTip::~KDLToolTip()
{
}
-void KDLToolTip::maybeTip (const QPoint& p)
+void KDLToolTip::maybeTip (const TQPoint& p)
{
if (!mParent->displayToolTips())
return;
- QString text;
- QRect rect;
+ TQString text;
+ TQRect rect;
- const QRect vert = mParent->verticalScrollBar()->geometry();
- const QRect horiz = mParent->horizontalScrollBar()->geometry();
+ const TQRect vert = mParent->verticalScrollBar()->geometry();
+ const TQRect horiz = mParent->horizontalScrollBar()->geometry();
if (vert.contains(p))
{
@@ -62,8 +62,8 @@ void KDLToolTip::maybeTip (const QPoint& p)
}
else
{
- QPoint rp = mParent->viewport()->mapFromParent (p);
- QListViewItem* i = mParent->itemAt (rp);
+ TQPoint rp = mParent->viewport()->mapFromParent (p);
+ TQListViewItem* i = mParent->itemAt (rp);
KSVItem* item = static_cast<KSVItem*> (i);
rect = mParent->header()->geometry();
@@ -82,7 +82,7 @@ void KDLToolTip::maybeTip (const QPoint& p)
{
rect = mParent->rect();
- QListViewItem* last = mParent->lastItem();
+ TQListViewItem* last = mParent->lastItem();
if (last)
rect.setTop (mParent->viewport()->mapToParent (mParent->itemRect(last).bottomRight()).y());