From d8c17250ce3630c9b81d5fb6c4a962a1dc0cde9d Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 22 Apr 2007 09:35:04 +0000 Subject: [PATCH] header cleanup svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=656747 --- abstractrunner.h | 6 +++--- applet.h | 4 ++-- dataengine.h | 8 ++++---- datavisualization.h | 4 ++-- interface.h | 2 +- svg.h | 3 +++ theme.h | 2 +- widgets/checkbox.h | 8 ++++---- widgets/lineedit.h | 2 +- widgets/pushbutton.h | 6 +++--- widgets/widget.h | 2 +- 11 files changed, 25 insertions(+), 22 deletions(-) diff --git a/abstractrunner.h b/abstractrunner.h index 603d93e10..57cb08c3f 100644 --- a/abstractrunner.h +++ b/abstractrunner.h @@ -19,8 +19,8 @@ #ifndef RUNNER_H #define RUNNER_H -#include -#include +#include +#include #include @@ -91,7 +91,7 @@ class KDE_EXPORT AbstractRunner : public QObject */ static List loadRunners( QWidget* parent ); - signals: + Q_SIGNALS: /** * When emitted, the interface will update itself to show the new * matches. This is meant to be used by asynchronous runners that will diff --git a/applet.h b/applet.h index eae8fe5c1..5fa7186f4 100644 --- a/applet.h +++ b/applet.h @@ -19,8 +19,8 @@ #ifndef PLASMA_APPLET_H #define PLASMA_APPLET_H -#include -#include +#include +#include #include diff --git a/dataengine.h b/dataengine.h index bf5328186..ee3024186 100644 --- a/dataengine.h +++ b/dataengine.h @@ -20,9 +20,9 @@ #define PLASMA_ENGINE_H #include -#include -#include -#include +#include +#include +#include #include @@ -46,7 +46,7 @@ class KDE_EXPORT DataSource : public QObject QString name(); - signals: + Q_SIGNALS: void data(const DataSource::Data&); private: diff --git a/datavisualization.h b/datavisualization.h index 0d1b19812..8acee0b5e 100644 --- a/datavisualization.h +++ b/datavisualization.h @@ -19,7 +19,7 @@ #ifndef PLASMA_DATAVISUALIZATION_H #define PLASMA_DATAVISUALIZATION_H -#include +#include #include "dataengine.h" @@ -34,7 +34,7 @@ class KDE_EXPORT DataVisualization : public QObject DataVisualization(QObject* parent = 0); virtual ~DataVisualization(); - public slots: + public Q_SLOTS: virtual void data(const DataSource::Data&) = 0; private: diff --git a/interface.h b/interface.h index 681c2d572..cf9e4fbe8 100644 --- a/interface.h +++ b/interface.h @@ -19,7 +19,7 @@ #ifndef PLASMA_INTERFACE_H #define PLASMA_INTERFACE_H -#include +#include #include diff --git a/svg.h b/svg.h index 8142244b3..685955933 100644 --- a/svg.h +++ b/svg.h @@ -23,6 +23,9 @@ #include +class QPainter; +class QPoint; + namespace Plasma { diff --git a/theme.h b/theme.h index 87a308bea..fda1cab6e 100644 --- a/theme.h +++ b/theme.h @@ -42,7 +42,7 @@ class KDE_EXPORT Theme : public QObject QString themeName() const; QString image( const QString& name ) const; - signals: + Q_SIGNALS: void changed(); private: diff --git a/widgets/checkbox.h b/widgets/checkbox.h index f198c90f6..8b6757977 100644 --- a/widgets/checkbox.h +++ b/widgets/checkbox.h @@ -19,8 +19,8 @@ #ifndef CHECKBOX_H #define CHECKBOX_H -#include -#include +#include +#include #include @@ -59,9 +59,9 @@ class KDE_EXPORT CheckBox : public DataVisualization,public QGraphicsItem void setCheckState(Qt::CheckState state); - public slots: + public Q_SLOTS: void data(const DataSource::Data&); - signals: + Q_SIGNALS: void clicked(); protected: //bool isDown(); diff --git a/widgets/lineedit.h b/widgets/lineedit.h index 0aead50f5..55d85e44b 100644 --- a/widgets/lineedit.h +++ b/widgets/lineedit.h @@ -19,7 +19,7 @@ #ifndef LINEEDIT_H #define LINEEDIT_H -#include +#include #include diff --git a/widgets/pushbutton.h b/widgets/pushbutton.h index 4f7212a67..b93a26384 100644 --- a/widgets/pushbutton.h +++ b/widgets/pushbutton.h @@ -19,9 +19,9 @@ #ifndef PUSHBUTTON_H #define PUSHBUTTON_H -#include -#include -#include +#include +#include +#include #include #include "datavisualization.h" diff --git a/widgets/widget.h b/widgets/widget.h index 5e3e8c03f..29310b51b 100644 --- a/widgets/widget.h +++ b/widgets/widget.h @@ -19,7 +19,7 @@ #ifndef WIDGET_H_ #define WIDGET_H_ -#include +#include #include