summaryrefslogtreecommitdiffstats
path: root/src/kbstatustip.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:53:10 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:53:10 -0500
commitdacae0242e905268e9df9aed83f84e91b13a1749 (patch)
tree26c8dc7f37d040f54265a3471834309a1e248538 /src/kbstatustip.cpp
parent0d218fd2db1810aafd86f7fc8761c75128f3fcb8 (diff)
downloadkasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.tar.gz
kasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.zip
Convert to TDE R14 API
Diffstat (limited to 'src/kbstatustip.cpp')
-rw-r--r--src/kbstatustip.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kbstatustip.cpp b/src/kbstatustip.cpp
index cb50edf..5cc99f6 100644
--- a/src/kbstatustip.cpp
+++ b/src/kbstatustip.cpp
@@ -10,25 +10,25 @@
//
//
-#include <qcursor.h>
+#include <ntqcursor.h>
#include "kbstatustip.h"
-KbStatusTip::KbStatusTip(QWidget * widget) : QToolTip(widget)
+KbStatusTip::KbStatusTip(TQWidget * widget) : TQToolTip(widget)
{
}
-void KbStatusTip::maybeTip(const QPoint &)
+void KbStatusTip::maybeTip(const TQPoint &)
{
tip(parentWidget()->rect(), "kasablanca");
}
-void KbStatusTip::ShowStatus(QString msg)
+void KbStatusTip::ShowStatus(TQString msg)
{
- if ((QCursor::pos().x() > parentWidget()->mapToGlobal(parentWidget()->pos()).x())
- && (QCursor::pos().y() > parentWidget()->mapToGlobal(parentWidget()->pos()).y())
- && (QCursor::pos().x() < (parentWidget()->mapToGlobal(parentWidget()->pos()).x() + parentWidget()->width()))
- && (QCursor::pos().y() < (parentWidget()->mapToGlobal(parentWidget()->pos()).y() + parentWidget()->height())))
+ if ((TQCursor::pos().x() > parentWidget()->mapToGlobal(parentWidget()->pos()).x())
+ && (TQCursor::pos().y() > parentWidget()->mapToGlobal(parentWidget()->pos()).y())
+ && (TQCursor::pos().x() < (parentWidget()->mapToGlobal(parentWidget()->pos()).x() + parentWidget()->width()))
+ && (TQCursor::pos().y() < (parentWidget()->mapToGlobal(parentWidget()->pos()).y() + parentWidget()->height())))
{
tip(parentWidget()->rect(), msg);
}