* use Q_OBJECT macro
* fix includes
* use explicit constructor
svn path=/trunk/KDE/kdebase/apps/; revision=890820
#include "dolphincategorydrawer.h"
-#include "config-nepomuk.h"
+#include <config-nepomuk.h>
#include <QPainter>
#include <QFile>
* 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>
/**
* 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.
*/
class KToolTipDelegate : public QObject
{
+ Q_OBJECT
public:
KToolTipDelegate();
virtual ~KToolTipDelegate();