summaryrefslogtreecommitdiffstats
path: root/cervisia/tooltip.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/tooltip.h
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/tooltip.h')
-rw-r--r--cervisia/tooltip.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cervisia/tooltip.h b/cervisia/tooltip.h
index f6a47999..1036af5b 100644
--- a/cervisia/tooltip.h
+++ b/cervisia/tooltip.h
@@ -34,15 +34,16 @@ namespace Cervisia
* - no more need to subclass just connect to the signal queryToolTip()
* - truncate too large tooltip texts.
*/
-class ToolTip : public TQObject, public QToolTip
+class ToolTip : public TQObject, public TQToolTip
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* @param widget The widget you want to add tooltips to. It's also used as
- * parent for the TQObject. So you don't have to free an instance of this
+ * tqparent for the TQObject. So you don't have to free an instance of this
* class yourself.
*/
explicit ToolTip(TQWidget* widget);
@@ -54,9 +55,9 @@ signals:
* wants to display anythink it must set a valid tooltip rectangle and a
* non empty text.
*
- * @param pos The position of the tooltip in the parent widget's coordinate system.
+ * @param pos The position of the tooltip in the tqparent widget's coordinate system.
*
- * @param rect The rectangle in the parent widget's coordinate system where the
+ * @param rect The rectangle in the tqparent widget's coordinate system where the
* tooltip is valid.
*
* @param text The tooltip text.