Commit f4e05527 authored by Andrius Štikonas's avatar Andrius Štikonas

Convert QT,KF5 includes to camelCase and sort.

parent 03262b5f
......@@ -18,8 +18,8 @@
#ifndef DLXSOLVER_H
#define DLXSOLVER_H
#include <QObject>
#include <QList>
#include <QObject>
#include "globals.h"
......
......@@ -17,7 +17,7 @@
#include "state.h"
#include <stdio.h>
#include <cstdio>
State::State (QObject * parent,
const GuessesList & guesses,
......
......@@ -23,16 +23,15 @@
#include "sudokuboard.h"
#include "state.h"
#include "mathdokugenerator.h"
#include <QDebug>
#include <KLocalizedString>
#include <KMessageBox>
#include <QDebug>
#include <QMultiMap>
#include <QTime>
#include <stdio.h>
#include <cstdio>
#include <ctime>
SudokuBoard::SudokuBoard (SKGraph * graph)
......
......@@ -23,8 +23,8 @@
#include "globals.h"
#include "skgraph.h"
#include <QObject>
#include <QList>
#include <QObject>
#include <QStack>
typedef qint32 Pair; // Two small integers packed into one.
......
......@@ -20,9 +20,9 @@
#ifndef _KSUDOKUCONFIG_H_
#define _KSUDOKUCONFIG_H_
#include <QWidget>
#include <QList>
#include <QListWidget>
#include <QWidget>
#include "ui_configgame.h"
......
......@@ -21,11 +21,11 @@
#ifndef _KSUDOKUGAMEVARIANTS_H_
#define _KSUDOKUGAMEVARIANTS_H_
#include <QObject>
#include <QAbstractListModel>
#include <QItemDelegate>
#include <QList>
#include <QObject>
#include <QUrl>
#include <QItemDelegate>
#include <QAbstractListModel>
class SKGraph;
namespace ksudoku {
......
......@@ -20,10 +20,10 @@
#ifndef _KSUDOKUHISTORY_H_
#define _KSUDOKUHISTORY_H_
#include <qbitarray.h>
#include <QBitArray>
#include <QDateTime>
#include <QObject>
#include <QVector>
#include <qobject.h>
#include <qdatetime.h>
#include "globals.h"
#include "ksudoku_types.h"
......
......@@ -26,7 +26,7 @@
#include <QUrl>
#include <kxmlguiwindow.h>
#include <KXmlGuiWindow>
#if 0
#include <knewstuff/knewstuff.h>
#endif
......
......@@ -18,11 +18,10 @@
***************************************************************************/
#include <dcopclient.h>
#include <qdatastream.h>
#include <qstring.h>
#include <QApplication>
#include <QDataStream>
#include <QString>
#include <KAboutData>
#include <KLocalizedString>
......
......@@ -32,10 +32,8 @@
#include <KMessageBox>
#include <KLocalizedString>
#include <QList>
#include <QDebug>
#include <QList>
#include <QUrl>
class QWidget;
......
......@@ -23,7 +23,7 @@
#ifndef _KSUDOKUGAME_H_
#define _KSUDOKUGAME_H_
#include <qobject.h>
#include <QObject>
#include <QUrl>
#include "history.h"
......
......@@ -29,6 +29,7 @@
#include <QLine>
#include <KLocalizedString>
#include <KMessageBox>
#include "puzzle.h"
#include "skgraph.h"
......@@ -37,8 +38,6 @@
#include "settings.h"
#include <KMessageBox>
PuzzlePrinter::PuzzlePrinter(QWidget * parent)
:
QObject(parent),
......
......@@ -34,7 +34,6 @@
#include <KIO/FileCopyJob>
#include <KJobWidgets>
#include <KLocalizedString>
#include <KMessageBox>
#include "ksudoku.h"
#include "symbols.h"
......
......@@ -22,7 +22,7 @@
#include "symbols.h"
#include "globals.h"
#include <QtCore/QChar>
#include <QChar>
namespace ksudoku {
......
......@@ -19,7 +19,7 @@
#include "ArcBall.h" // ArcBall header
#include <stdio.h>
#include <cstdio>
//Arcball sphere constants:
//Diameter is 2.0f
......
......@@ -20,11 +20,13 @@
#include "gameactions.h"
#include <KLocalizedString>
#include <QAction>
#include <KActionCollection>
#include <QSignalMapper>
#include <QKeySequence>
#include <QSignalMapper>
#include <KActionCollection>
#include <KLocalizedString>
namespace ksudoku {
GameActions::GameActions(KActionCollection* collection) {
......
......@@ -20,8 +20,8 @@
#ifndef _KSUDOKU_GAMEACTIONS_H_
#define _KSUDOKU_GAMEACTIONS_H_
#include <QVector>
#include <QObject>
#include <QVector>
class QAction;
class KActionCollection;
......
......@@ -25,9 +25,8 @@
#include "ksudokugame.h"
#include "settings.h"
#include <qpixmap.h>
#include <qpainter.h>
#include <QPainter>
#include <QPixmap>
#include "puzzle.h"
......
......@@ -21,6 +21,9 @@
#include "ksudoku_logging.h"
#include "renderer.h"
#include <QDebug>
#include <QPainter>
#include <QPixmap>
#include <QSvgRenderer>
#define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API
......@@ -28,11 +31,6 @@
#include "settings.h"
#include <QPixmap>
#include <QPainter>
#include <QDebug>
namespace ksudoku {
Renderer* Renderer::instance() {
......
......@@ -23,9 +23,8 @@
#include <KImageCache>
#include <QVector>
// #include <QPixmap>
#include <QString>
#include <QVector>
class QPixmap;
class QSize;
......
......@@ -26,11 +26,9 @@
#include "ksudoku.h"
#include "skgraph.h"
#include <kmessagebox.h>
#include <qcursor.h>
//Added by qt3to4:
#include <QPixmap>
#include <QCursor>
#include <QMouseEvent>
#include <QPixmap>
#include <KLocalizedString>
#include "settings.h"
......
......@@ -23,14 +23,13 @@
#ifndef ROXDOKUVIEW_h
#define ROXDOKUVIEW_h
#include <qgl.h>
#include <qpixmap.h>
#include <qpainter.h>
#include <qimage.h>
//Added by qt3to4:
#include <QWheelEvent>
#include <QGL>
#include <QImage>
#include <QMouseEvent>
#include <QPainter>
#include <QPixmap>
#include <QTimer>
#include <QWheelEvent>
#include "ArcBall.h"
......
......@@ -20,8 +20,8 @@
#ifndef _KSUDOKUVALUELISTWIDGET_H_
#define _KSUDOKUVALUELISTWIDGET_H_
#include <QGraphicsView>
#include <QGraphicsItem>
#include <QGraphicsView>
#include <QList>
#include "symbols.h"
......
......@@ -24,9 +24,9 @@
#include <QDebug>
#include <QGraphicsPixmapItem>
#include <QGraphicsSceneEvent>
#include <QDebug>
#include "puzzle.h"
#include "gameactions.h"
......
......@@ -19,9 +19,10 @@
***************************************************************************/
#include "welcomescreen.h"
#include <KMessageBox>
#include <KConfigGroup>
#include <QDebug>
#include <KConfigGroup>
#include <KMessageBox>
#include <KSharedConfig>
#include "ksudokugame.h"
......
......@@ -24,7 +24,6 @@
#include <cstdlib>
#include <QString>
#include <QtDebug>
#include "sudokuboard.h"
#include "mathdokugenerator.h"
......
......@@ -23,9 +23,9 @@
#include "skgraph.h"
#include <QMultiMap>
#include <QString>
#include <QStringList>
#include <QMultiMap>
SKGraph::SKGraph(int order, ksudoku::GameType type)
{
......
......@@ -24,9 +24,9 @@
#ifndef SKGRAPH_H
#define SKGRAPH_H
#include <QList>
#include <QString>
#include <QVector>
#include <QList>
#include "ksudoku_types.h"
#include "globals.h"
......
......@@ -22,18 +22,16 @@
#include "ksudoku.h"
//#include <dcopclient.h>
#include <KAboutData>
#include <KCrash>
#include <KLocalizedString>
#include <kconfigdialogmanager.h>
#include <QUrl>
#include <KConfigDialogManager>
#include <QApplication>
#include <QCommandLineParser>
#include <QCommandLineOption>
#include <QDir>
#include <QUrl>
#include <cstdlib>
#include <ctime>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment