diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /cervisia/tooltip.h | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/tooltip.h')
-rw-r--r-- | cervisia/tooltip.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cervisia/tooltip.h b/cervisia/tooltip.h index fc0cd7be..f6a47999 100644 --- a/cervisia/tooltip.h +++ b/cervisia/tooltip.h @@ -21,8 +21,8 @@ #define CERVISIA_TOOLTIP_H -#include <qobject.h> -#include <qtooltip.h> +#include <tqobject.h> +#include <tqtooltip.h> namespace Cervisia @@ -30,11 +30,11 @@ namespace Cervisia /** - * This class extends QToolTip: + * This class extends TQToolTip: * - no more need to subclass just connect to the signal queryToolTip() * - truncate too large tooltip texts. */ -class ToolTip : public QObject, public QToolTip +class ToolTip : public TQObject, public QToolTip { Q_OBJECT @@ -42,10 +42,10 @@ public: /** * @param widget The widget you want to add tooltips to. It's also used as - * parent for the QObject. So you don't have to free an instance of this + * parent for the TQObject. So you don't have to free an instance of this * class yourself. */ - explicit ToolTip(QWidget* widget); + explicit ToolTip(TQWidget* widget); signals: @@ -61,11 +61,11 @@ signals: * * @param text The tooltip text. */ - void queryToolTip(const QPoint& pos, QRect& rect, QString& text); + void queryToolTip(const TQPoint& pos, TQRect& rect, TQString& text); protected: - virtual void maybeTip(const QPoint&); + virtual void maybeTip(const TQPoint&); }; |