summaryrefslogtreecommitdiffstats
path: root/ksysv/kdltooltip.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit37333bf25ad9a4c538250f5af2f9f1d666362883 (patch)
treec45e8df5b9efbffe07eb3d9340df7811c7e16943 /ksysv/kdltooltip.h
downloadtdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.tar.gz
tdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/kdltooltip.h')
-rw-r--r--ksysv/kdltooltip.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/ksysv/kdltooltip.h b/ksysv/kdltooltip.h
new file mode 100644
index 0000000..a107383
--- /dev/null
+++ b/ksysv/kdltooltip.h
@@ -0,0 +1,43 @@
+/***************************************************************************
+ begin : Tue Oct 5 1999
+ copyright : (C) 1999 by Peter Putzer
+ email : putzer@kde.org
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; version 2. *
+ * *
+ ***************************************************************************/
+
+#ifndef KDLTOOLTIP_H
+#define KDLTOOLTIP_H
+
+#include <qtooltip.h>
+
+class KSVDragList;
+
+/**
+ * @short custom tooltip for use in @ref KDragList
+ * @author Peter Putzer
+ */
+class KDLToolTip : public QToolTip
+{
+public:
+ KDLToolTip (KSVDragList *parent, QToolTipGroup* group = 0L);
+ virtual ~KDLToolTip();
+
+protected:
+ /**
+ * Reimplemented from QToolTip for internal reasons.
+ */
+ virtual void maybeTip (const QPoint&);
+
+private:
+ KSVDragList* mParent;
+};
+
+#endif
+