From: Urs Wolfer Date: Sun, 30 Nov 2008 12:42:17 +0000 (+0000) Subject: krazy fixes: X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/3866dec5c5b2375d221a252a1619506dc0a45f66 krazy fixes: * use Q_OBJECT macro * fix includes * use explicit constructor svn path=/trunk/KDE/kdebase/apps/; revision=890820 --- diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp index 34766c66f..881743377 100644 --- a/src/dolphincategorydrawer.cpp +++ b/src/dolphincategorydrawer.cpp @@ -20,7 +20,7 @@ #include "dolphincategorydrawer.h" -#include "config-nepomuk.h" +#include #include #include diff --git a/src/kcmdolphin.h b/src/kcmdolphin.h index 00d6ea30c..0c95622fc 100644 --- a/src/kcmdolphin.h +++ b/src/kcmdolphin.h @@ -17,8 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ -#ifndef DOLPHINCONFIGMODULE_H -#define DOLPHINCONFIGMODULE_H +#ifndef KCMDOLPHIN_H +#define KCMDOLPHIN_H #include 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();