From 3866dec5c5b2375d221a252a1619506dc0a45f66 Mon Sep 17 00:00:00 2001 From: Urs Wolfer Date: Sun, 30 Nov 2008 12:42:17 +0000 Subject: krazy fixes: * use Q_OBJECT macro * fix includes * use explicit constructor svn path=/trunk/KDE/kdebase/apps/; revision=890820 --- src/ktooltip.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ktooltip.h') diff --git a/src/ktooltip.h b/src/ktooltip.h index f1bdd6c7e..d59f1bf17 100644 --- a/src/ktooltip.h +++ b/src/ktooltip.h @@ -59,7 +59,7 @@ public: /** * Creates a KToolTipItem with @p text and no icon. */ - KToolTipItem(const QString &text, int type = DefaultType); + explicit KToolTipItem(const QString &text, int type = DefaultType); /** * Creates a KToolTipItem with an @p icon and @p text. @@ -109,6 +109,7 @@ public: */ class KToolTipDelegate : public QObject { + Q_OBJECT public: KToolTipDelegate(); virtual ~KToolTipDelegate(); -- cgit v1.3