Commit bd7512fc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use camelcase includes (scripted)

parent 8d50d093
......@@ -19,8 +19,8 @@
#include "ui_asyexporteroptionswidget.h"
#include <qcheckbox.h>
#include <qlayout.h>
#include <QCheckBox>
#include <QLayout>
AsyExporterOptions::AsyExporterOptions( QWidget* parent )
: QWidget( parent )
......
......@@ -18,7 +18,7 @@
#ifndef KIG_FILTERS_ASYEXPORTEROPTIONS_H
#define KIG_FILTERS_ASYEXPORTEROPTIONS_H
#include <qwidget.h>
#include <QWidget>
class Ui_AsyExporterOptionsWidget;
......
......@@ -50,9 +50,9 @@
#include "../objects/transform_types.h"
#include "../objects/vector_type.h"
#include <qcolor.h>
#include <qfile.h>
#include <qregexp.h>
#include <QColor>
#include <QFile>
#include <QRegExp>
#include <QDebug>
......
......@@ -22,8 +22,8 @@
#undef CABRI_DEBUG
#include <qbytearray.h>
#include <qcolor.h>
#include <QByteArray>
#include <QColor>
#include "../misc/rect.h"
#include "../objects/object_drawer.h"
......
......@@ -19,7 +19,7 @@
#ifndef FILTER_H
#define FILTER_H
#include <qstring.h>
#include <QString>
#include <vector>
......
......@@ -19,8 +19,8 @@
#include <vector>
#include <qbytearray.h>
#include <qstring.h>
#include <QByteArray>
#include <QString>
#include "../objects/object_calcer.h"
#include "../objects/object_factory.h"
......
......@@ -19,12 +19,12 @@
#include "ui_imageexporteroptionswidget.h"
#include <qapplication.h>
#include <qcheckbox.h>
#include <qdesktopwidget.h>
#include <qlayout.h>
#include <qsize.h>
#include <qspinbox.h>
#include <QApplication>
#include <QCheckBox>
#include <QDesktopWidget>
#include <QLayout>
#include <QSize>
#include <QSpinBox>
ImageExporterOptions::ImageExporterOptions( QWidget* parent )
: QWidget( parent ), minternallysettingstuff( false )
......
......@@ -20,7 +20,7 @@
#include "../misc/unit.h"
#include <qwidget.h>
#include <QWidget>
class QSize;
class Ui_ImageExporterOptionsWidget;
......
......@@ -42,8 +42,8 @@
#include "../objects/transform_types.h"
#include "../objects/vector_type.h"
#include <kconfig.h>
#include <kconfiggroup.h>
#include <KConfig>
#include <KConfigGroup>
#include <algorithm>
#include <functional>
......
......@@ -43,7 +43,7 @@
#define RESOURCE_H
#include <iostream>
#include <qstring.h>
#include <QString>
///////////////////////////////////////////////////////////////////
// resource.h -- contains macros used for commands
......
......@@ -45,12 +45,12 @@
#include "../objects/transform_types.h"
#include "../objects/vector_type.h"
#include <qfont.h>
#include <qpen.h>
#include <qbrush.h>
#include <qfile.h>
#include <qdatastream.h>
#include <qbuffer.h>
#include <QFont>
#include <QPen>
#include <QBrush>
#include <QFile>
#include <QDataStream>
#include <QBuffer>
KigFilterKSeg::KigFilterKSeg()
{
......
......@@ -19,8 +19,8 @@
#include "ui_latexexporteroptionswidget.h"
#include <qcheckbox.h>
#include <qlayout.h>
#include <QCheckBox>
#include <QLayout>
LatexExporterOptions::LatexExporterOptions( QWidget* parent )
: QWidget( parent )
......
......@@ -18,7 +18,7 @@
#ifndef KIG_FILTERS_LATEXEXPORTEROPTIONS_H
#define KIG_FILTERS_LATEXEXPORTEROPTIONS_H
#include <qwidget.h>
#include <QWidget>
class Ui_LatexExporterOptionsWidget;
......
......@@ -19,8 +19,8 @@
#include "ui_svgexporteroptionswidget.h"
#include <qcheckbox.h>
#include <qlayout.h>
#include <QCheckBox>
#include <QLayout>
SVGExporterOptions::SVGExporterOptions( QWidget* parent )
: QWidget( parent )
......
......@@ -18,7 +18,7 @@
#ifndef KIG_FILTERS_SVGEXPORTEROPTIONS_H
#define KIG_FILTERS_SVGEXPORTEROPTIONS_H
#include <qwidget.h>
#include <QWidget>
class Ui_SVGExporterOptionsWidget;
......
......@@ -22,7 +22,7 @@
#ifndef KIG_COMMANDS_H
#define KIG_COMMANDS_H
#include <qundostack.h>
#include <QUndoStack>
#include <QDebug>
......
......@@ -22,10 +22,10 @@
#ifndef KIGPART_H
#define KIGPART_H
#include <qlist.h>
#include <QList>
#include <KParts/ReadWritePart>
#include <kselectaction.h>
#include <KSelectAction>
#include <vector>
......
......@@ -30,10 +30,11 @@
#include "../modes/mode.h"
#include "../modes/dragrectmode.h"
#include <qapplication.h>
#include <qevent.h>
#include <qlayout.h>
#include <qscrollbar.h>
#include <QApplication>
#include <QEvent>
#include <QLayout>
#include <QScrollBar>
#include <QWheelEvent>
#include <QDebug>
......
......@@ -22,8 +22,8 @@
#ifndef KIG_VIEW_H
#define KIG_VIEW_H
#include <qwidget.h>
#include <qpixmap.h>
#include <QWidget>
#include <QPixmap>
#include <kparts/part.h>
......
......@@ -34,7 +34,7 @@
#include <Kdelibs4Migration>
#include "aboutdata.h"
#include <klocalizedstring.h>
#include <KLocalizedString>
static int convertToNative( const QUrl &file, const QByteArray& outfile )
{
......
......@@ -25,7 +25,7 @@
#include "coordinate.h"
#include "rect.h"
#include <qrect.h>
#include <QRect>
#include <vector>
#include <assert.h>
......
......@@ -31,8 +31,8 @@
#include <string>
#include <cmath>
#include <qpainter.h>
#include <qregexp.h>
#include <QPainter>
#include <QRegExp>
#include <QDoubleValidator>
#include <QDebug>
......
......@@ -18,7 +18,7 @@
#ifndef KIG_EQUATIONSTRING_H
#define KIG_EQUATIONSTRING_H
#include <qstring.h>
#include <QString>
/**
* Simple class that represents an equation.
......
......@@ -20,7 +20,7 @@
#ifndef KIG_MISC_GONIOMETRY_H
#define KIG_MISC_GONIOMETRY_H
#include <qstringlist.h>
#include <QStringList>
/**
* Manage an angle and convert it from/to other goniometric systems.
......
......@@ -24,8 +24,8 @@
#include "../scripting/script-common.h"
#endif
#include <qstring.h>
#include <qbytearray.h>
#include <QString>
#include <QByteArray>
#include <QAction>
class GUIAction;
......
......@@ -32,8 +32,8 @@
#include "cubic-common.h"
#include "coordinate_system.h"
#include <qpen.h>
#include <qpolygon.h>
#include <QPen>
#include <QPolygon>
#include <cmath>
#include <stack>
......
......@@ -27,9 +27,9 @@
#include "screeninfo.h"
#include "../misc/point_style.h"
#include <qpainter.h>
#include <qcolor.h>
#include <qfont.h>
#include <QPainter>
#include <QColor>
#include <QFont>
#include <vector>
......
......@@ -23,11 +23,11 @@
#include "../kig/kig_part.h"
#include "kig_version.h"
#include <kmessagebox.h>
#include <qfile.h>
#include <qtextstream.h>
#include <KMessageBox>
#include <QFile>
#include <QTextStream>
#include <qdom.h>
#include <qregexp.h>
#include <QRegExp>
#include <algorithm>
#include <iterator>
using namespace std;
......
......@@ -36,7 +36,7 @@
#include "../modes/construct_mode.h"
#include <qpen.h>
#include <QPen>
#include <algorithm>
#include <functional>
......
......@@ -24,7 +24,7 @@
#include "coordinate.h"
#include <qrect.h>
#include <QRect>
#include <QDebug>
/**
......
......@@ -18,7 +18,7 @@
#ifndef SCREENINFO_H
#define SCREENINFO_H
#include <qrect.h>
#include <QRect>
#include "rect.h"
......
......@@ -58,7 +58,7 @@
#include "../objects/text_imp.h"
#include "../objects/transform_types.h"
#include <qpen.h>
#include <QPen>
#include <algorithm>
#include <functional>
......
......@@ -21,7 +21,7 @@
#ifndef KIG_MISC_UNIT_H
#define KIG_MISC_UNIT_H
#include <qstringlist.h>
#include <QStringList>
/**
* This small class server as helper to perform conversions between
......
......@@ -24,8 +24,9 @@
#include "../kig/kig_part.h"
#include "../kig/kig_document.h"
#include <qevent.h>
#include <kcursor.h>
#include <QEvent>
#include <KCursor>
#include <QMouseEvent>
BaseMode::BaseMode( KigPart& d )
: KigMode( d )
......
......@@ -20,7 +20,7 @@
#include "mode.h"
#include <qpoint.h>
#include <QPoint>
#include <vector>
class KigWidget;
......
......@@ -36,11 +36,12 @@
#include "popup/popup.h"
#include "popup/objectchooserpopup.h"
#include <qevent.h>
#include <QEvent>
#include <kcursor.h>
#include <KCursor>
#include <QAction>
#include <QMouseEvent>
#include <algorithm>
#include <functional>
#include <iterator>
......
......@@ -22,7 +22,7 @@
#include "../kig/kig_view.h"
#include "../misc/kigpainter.h"
#include <qevent.h>
#include <QMouseEvent>
#include <qglobal.h>
#include <QAction>
......
......@@ -23,7 +23,7 @@
#include "../misc/rect.h"
#include <qpoint.h>
#include <QPoint>
#include <vector>
class ObjectHolder;
......
......@@ -23,9 +23,9 @@
#include "ui_edittypewidget.h"
#include <kicondialog.h>
#include <klineedit.h>
#include <kmessagebox.h>
#include <KIconDialog>
#include <KLineEdit>
#include <KMessageBox>
#include <KHelpClient>
#include <QDialogButtonBox>
#include <KConfigGroup>
......
......@@ -36,16 +36,17 @@
#include "../objects/text_type.h"
#include <QIcon>
#include <qaction.h>
#include <qevent.h>
#include <qmenu.h>
#include <qregexp.h>
#include <qvariant.h>
#include <QAction>
#include <QEvent>
#include <QMenu>
#include <QRegExp>
#include <QVariant>
#include <QMouseEvent>
#include <KIconEngine>
#include <kcursor.h>
#include <KCursor>
#include <QDebug>
#include <kmessagebox.h>
#include <KMessageBox>
#include <algorithm>
#include <functional>
......
......@@ -22,7 +22,7 @@
#include "../objects/object_calcer.h"
#include <qpoint.h>
#include <QPoint>
#include <vector>
......
......@@ -19,9 +19,9 @@
#include "linkslabel.h"
#include <qlabel.h>
#include <QLabel>
#include <kurllabel.h>
#include <qlayout.h>
#include <QLayout>
#include <vector>
#include <algorithm>
......
......@@ -18,7 +18,7 @@
#ifndef KIG_lINKS_LABEL_H
#define KIG_lINKS_LABEL_H
#include <qwidget.h>
#include <QWidget>
#include <vector>
#include <utility>
......
......@@ -27,9 +27,9 @@
#include "../misc/guiaction.h"
#include "../objects/object_imp.h"
#include <klineedit.h>
#include <kmessagebox.h>
#include <kcursor.h>
#include <KLineEdit>
#include <KMessageBox>
#include <KCursor>
#include <functional>
#include <algorithm>
......
......@@ -20,7 +20,7 @@
#include "base_mode.h"
#include <qobject.h>
#include <QObject>
class MacroWizard;
......
......@@ -20,8 +20,8 @@
#include "macro.h"
#include <qlabel.h>
#include <qlayout.h>
#include <QLabel>
#include <QLayout>
#include <QDebug>
#include <QDialog>
......
......@@ -18,7 +18,7 @@
#ifndef MACROWIZARD_H
#define MACROWIZARD_H
#include <qwizard.h>
#include <QWizard>
class DefineMacroMode;
class GivenArgsPage;
......
......@@ -29,7 +29,7 @@
#include "../misc/calcpaths.h"
#include "../misc/coordinate_system.h"
#include <qevent.h>
#include <QMouseEvent>
#include <functional>
#include <algorithm>
......
......@@ -33,8 +33,8 @@
#include "historydialog.h"
#include "typesdialog.h"
#include <qundostack.h>
#include <kcursor.h>
#include <QUndoStack>
#include <KCursor>
#include <QAction>
#include <algorithm>
......
......@@ -20,7 +20,7 @@
#include "base_mode.h"
#include <qpoint.h>
#include <QPoint>
#include <set>
class NormalMode
......
......@@ -20,10 +20,10 @@
#include "label.h"
#include "linkslabel.h"
#include <qcheckbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qtextedit.h>
#include <QCheckBox>
#include <QLabel>
#include <QLayout>
#include <QTextEdit>
#include <QDialog>
......
......@@ -18,7 +18,7 @@
#ifndef KIG_MODES_TEXTLABELWIZARD_H
#define KIG_MODES_TEXTLABELWIZARD_H