From 35147fa476de33c77fb255b887f082c2f224b40a Mon Sep 17 00:00:00 2001 From: Anne-Marie Mahfouf Date: Fri, 18 May 2007 20:00:08 +0000 Subject: [PATCH] krazy fixes: put own header at frist position svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=666109 --- extdate/extcalendarsystem.cpp | 4 ++-- extdate/extcalendarsystemgregorian.cpp | 4 ++-- extdate/extdatepicker.cpp | 3 ++- extdate/extdatetimeedit.cpp | 6 +++--- extdate/extdatetimeedit_p.h | 2 ++ extdate/extdatewidget.cpp | 2 +- libscience/chemicaldataobject.cpp | 2 +- libscience/element.cpp | 2 +- libscience/moleculeparser.cpp | 4 +--- libscience/parser.cpp | 3 +-- libscience/parser.h | 1 + 11 files changed, 17 insertions(+), 16 deletions(-) diff --git a/extdate/extcalendarsystem.cpp b/extdate/extcalendarsystem.cpp index 4deb3c9..529e5f4 100644 --- a/extdate/extcalendarsystem.cpp +++ b/extdate/extcalendarsystem.cpp @@ -27,11 +27,11 @@ // systems. // Also default gregorian and factory classes -#include - #include "extcalendarsystem.h" #include "klocale.h" +#include + class ExtCalendarSystemPrivate { public: diff --git a/extdate/extcalendarsystemgregorian.cpp b/extdate/extcalendarsystemgregorian.cpp index e1dcc7f..e5474de 100644 --- a/extdate/extcalendarsystemgregorian.cpp +++ b/extdate/extcalendarsystemgregorian.cpp @@ -27,11 +27,11 @@ // Just a schema. +#include "extcalendarsystemgregorian.h" + #include #include -#include "extcalendarsystemgregorian.h" - ExtCalendarSystemGregorian::ExtCalendarSystemGregorian(const KLocale * locale) : ExtCalendarSystem(locale) { diff --git a/extdate/extdatepicker.cpp b/extdate/extdatepicker.cpp index f4430a6..6860dff 100644 --- a/extdate/extdatepicker.cpp +++ b/extdate/extdatepicker.cpp @@ -20,6 +20,8 @@ Boston, MA 02110-1301, USA. */ +#include "extdatepicker.h" + #include #include #include @@ -34,7 +36,6 @@ #include #include -#include "extdatepicker.h" #include "extdatetbl.h" #include "extdatepicker.moc" diff --git a/extdate/extdatetimeedit.cpp b/extdate/extdatetimeedit.cpp index c86fff6..67e7a49 100644 --- a/extdate/extdatetimeedit.cpp +++ b/extdate/extdatetimeedit.cpp @@ -14,8 +14,10 @@ * * ***************************************************************************/ +#include "extdatetimeedit.h" +#include "extdatetimeedit_p.h" + #include -#include #include #include #include @@ -26,8 +28,6 @@ #include "extdatetime.h" -#include "extdatetimeedit.h" -#include "extdatetimeedit_p.h" class ExtDateEdit::Private { diff --git a/extdate/extdatetimeedit_p.h b/extdate/extdatetimeedit_p.h index 17a80f8..ddd9e05 100644 --- a/extdate/extdatetimeedit_p.h +++ b/extdate/extdatetimeedit_p.h @@ -14,6 +14,8 @@ #ifndef EXTDATETIMEEDIT_P_H #define EXTDATETIMEEDIT_P_H +#include + /** *@class edLineEdit *@short A QLineEdit adapted for use by ExtDateEdit. diff --git a/extdate/extdatewidget.cpp b/extdate/extdatewidget.cpp index 689b4df..55470eb 100644 --- a/extdate/extdatewidget.cpp +++ b/extdate/extdatewidget.cpp @@ -19,6 +19,7 @@ Boston, MA 02110-1301, USA. */ +#include "extdatewidget.h" #include #include @@ -26,7 +27,6 @@ #include -#include "extdatewidget.h" #include "extcalendarsystemgregorian.h" class ExtDateWidgetSpinBox : public QSpinBox diff --git a/libscience/chemicaldataobject.cpp b/libscience/chemicaldataobject.cpp index c7dd2b7..4f17954 100644 --- a/libscience/chemicaldataobject.cpp +++ b/libscience/chemicaldataobject.cpp @@ -18,8 +18,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include #include "chemicaldataobject.h" +#include class ChemicalDataObjectPrivate : public QSharedData { diff --git a/libscience/element.cpp b/libscience/element.cpp index e790363..1324a55 100644 --- a/libscience/element.cpp +++ b/libscience/element.cpp @@ -18,8 +18,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include "spectrum.h" #include "element.h" +#include "spectrum.h" #include Element::Element() diff --git a/libscience/moleculeparser.cpp b/libscience/moleculeparser.cpp index 21e5813..45c0db1 100644 --- a/libscience/moleculeparser.cpp +++ b/libscience/moleculeparser.cpp @@ -11,14 +11,12 @@ * * ***************************************************************************/ +#include "moleculeparser.h" #include #include -#include "moleculeparser.h" - - // ================================================================ // class ElementCountMap diff --git a/libscience/parser.cpp b/libscience/parser.cpp index 7a2d82d..f6633c6 100644 --- a/libscience/parser.cpp +++ b/libscience/parser.cpp @@ -11,13 +11,12 @@ * * ***************************************************************************/ +#include "parser.h" #include #include -#include "parser.h" - Parser::Parser() { diff --git a/libscience/parser.h b/libscience/parser.h index ab777d2..2b68f46 100644 --- a/libscience/parser.h +++ b/libscience/parser.h @@ -16,6 +16,7 @@ #include +#include /** -- 2.47.3