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

Convert QT,KF5 includes to camelCase and sort.

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