diff options
| author | Urs Wolfer <[email protected]> | 2008-11-30 12:42:17 +0000 |
|---|---|---|
| committer | Urs Wolfer <[email protected]> | 2008-11-30 12:42:17 +0000 |
| commit | 3866dec5c5b2375d221a252a1619506dc0a45f66 (patch) | |
| tree | 8efedd97d2d6c000007eb60b0852f4318ea8cd6c /src/ktooltip.h | |
| parent | 3d3581057c59b0064541bf05deb689174e6f8b24 (diff) | |
krazy fixes:
* use Q_OBJECT macro
* fix includes
* use explicit constructor
svn path=/trunk/KDE/kdebase/apps/; revision=890820
Diffstat (limited to 'src/ktooltip.h')
| -rw-r--r-- | src/ktooltip.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |
