summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_tooltip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/tal/kvi_tal_tooltip.h')
-rw-r--r--src/kvilib/tal/kvi_tal_tooltip.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/kvilib/tal/kvi_tal_tooltip.h b/src/kvilib/tal/kvi_tal_tooltip.h
index 91811c3c..3c5cfb2a 100644
--- a/src/kvilib/tal/kvi_tal_tooltip.h
+++ b/src/kvilib/tal/kvi_tal_tooltip.h
@@ -27,50 +27,51 @@
#include "kvi_settings.h"
-#include <qtooltip.h>
-#include <qobject.h>
+#include <tqtooltip.h>
+#include <tqobject.h>
class KviTalToolTip;
-// This is useful only with Qt4, but we put it here anyway
-// to have both a consistent API and make moc happy
-class KviTalToolTipHelper : public QObject
+// This is useful only with TQt4, but we put it here anyway
+// to have both a consistent API and make tqmoc happy
+class KviTalToolTipHelper : public TQObject
{
friend class KviTalToolTip;
Q_OBJECT
+ TQ_OBJECT
public:
- KviTalToolTipHelper(KviTalToolTip * pToolTip,QWidget * pWidget);
+ KviTalToolTipHelper(KviTalToolTip * pToolTip,TQWidget * pWidget);
~KviTalToolTipHelper();
protected:
KviTalToolTip * m_pToolTip;
protected:
- virtual bool eventFilter(QObject * pObject,QEvent * pEvent);
+ virtual bool eventFilter(TQObject * pObject,TQEvent * pEvent);
void toolTipDying();
};
class KVILIB_API KviTalToolTip
#ifndef COMPILE_USE_QT4
- : public QToolTip
+ : public TQToolTip
#endif
{
friend class KviTalToolTipHelper;
public:
- KviTalToolTip(QWidget * pParent);
+ KviTalToolTip(TQWidget * pParent);
virtual ~KviTalToolTip();
protected:
#ifdef COMPILE_USE_QT4
KviTalToolTipHelper * m_pHelper;
- QWidget * m_pParent;
+ TQWidget * m_pParent;
#endif
public:
#ifdef COMPILE_USE_QT4
- static void add(QWidget * widget,const QString & text);
- static void remove(QWidget * widget);
- virtual void tip(const QRect & rect,const QString & text);
+ static void add(TQWidget * widget,const TQString & text);
+ static void remove(TQWidget * widget);
+ virtual void tip(const TQRect & rect,const TQString & text);
#endif
protected:
- virtual void maybeTip(const QPoint & p);
+ virtual void maybeTip(const TQPoint & p);
#ifdef COMPILE_USE_QT4
void helperDying();
#endif