summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_tooltip.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-24 21:28:39 +0900
committerMichele Calgaro <[email protected]>2023-08-31 10:03:10 +0900
commit030a2248f3630fd0404df98beffc78b5b5ca4c31 (patch)
tree75d55e7e177ca48e69d59f74181ce37841ecd51b /src/kvilib/tal/kvi_tal_tooltip.h
parent17118265cf93b35b0b68e450ea5f43046c1d81c3 (diff)
downloadkvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.tar.gz
kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.zip
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kvilib/tal/kvi_tal_tooltip.h')
-rw-r--r--src/kvilib/tal/kvi_tal_tooltip.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/kvilib/tal/kvi_tal_tooltip.h b/src/kvilib/tal/kvi_tal_tooltip.h
index 1e220e14..345ae54f 100644
--- a/src/kvilib/tal/kvi_tal_tooltip.h
+++ b/src/kvilib/tal/kvi_tal_tooltip.h
@@ -32,8 +32,6 @@
class KviTalToolTip;
-// This is useful only with TQt4, but we put it here anyway
-// to have both a consistent API and make moc happy
class KviTalToolTipHelper : public TQObject
{
friend class KviTalToolTip;
@@ -51,30 +49,16 @@ protected:
class KVILIB_API KviTalToolTip
-#ifndef COMPILE_USE_QT4
: public TQToolTip
-#endif
{
friend class KviTalToolTipHelper;
public:
KviTalToolTip(TQWidget * pParent);
virtual ~KviTalToolTip();
protected:
-#ifdef COMPILE_USE_QT4
- KviTalToolTipHelper * m_pHelper;
- TQWidget * m_pParent;
-#endif
public:
-#ifdef COMPILE_USE_QT4
- 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 TQPoint & p);
-#ifdef COMPILE_USE_QT4
- void helperDying();
-#endif
};
#endif // _KVI_TAL_TOOLTIP_H_