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 | |
| 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')
| -rw-r--r-- | src/dolphincategorydrawer.cpp | 2 | ||||
| -rw-r--r-- | src/kcmdolphin.h | 4 | ||||
| -rw-r--r-- | src/ktooltip.h | 3 |
3 files changed, 5 insertions, 4 deletions
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 <config-nepomuk.h> #include <QPainter> #include <QFile> 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 <kcmodule.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(); |
