┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/ktooltip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ktooltip.h')
-rw-r--r--src/ktooltip.h3
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();