summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqtooltip.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-07 19:25:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-07 19:25:16 +0000
commit77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136 (patch)
tree82bf3c5b668e0d2f2f3649421e2934a1b9896d53 /qtinterface/tqtooltip.cpp
parent0630a9067e5db373c6fd33bbe8145e29f18e9a54 (diff)
downloadtqtinterface-77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136.tar.gz
tqtinterface-77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136.zip
Yet more Qt4 API extensions...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1160323 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqtooltip.cpp')
-rw-r--r--qtinterface/tqtooltip.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/qtinterface/tqtooltip.cpp b/qtinterface/tqtooltip.cpp
index adc1ef3..62c71f3 100644
--- a/qtinterface/tqtooltip.cpp
+++ b/qtinterface/tqtooltip.cpp
@@ -21,3 +21,19 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <tqtooltip.h>
+
+#ifdef USE_QT4
+
+static bool globally_enabled = TRUE;
+
+void QToolTip::setGloballyEnabled( bool enable )
+{
+ //globally_enabled = enable;
+}
+
+bool QToolTip::isGloballyEnabled()
+{
+ return globally_enabled;
+}
+
+#endif // USE_QT4 \ No newline at end of file