Commit 6d9123c5 authored by Andrius Štikonas's avatar Andrius Štikonas

Use double quotes for local includes.

Also sort Qt/KF5 includes.
parent 1a264a1d
......@@ -114,7 +114,7 @@
// This makes it possible to select a random move among those with equal
// or nearly equal value after the search is completed.
#include <Engine.h>
#include "Engine.h"
#include <QVector>
#include <QApplication>
......
......@@ -121,8 +121,8 @@
#include <KRandomSequence>
#include <commondefs.h>
#include <kreversigame.h>
#include "commondefs.h"
#include "kreversigame.h"
class KReversiGame;
......
......@@ -21,7 +21,7 @@
* Boston, MA 02110-1301, USA.
*
********************************************************************/
#include <commondefs.h>
#include "commondefs.h"
#include <KLocalizedString>
......
......@@ -27,7 +27,7 @@
#include <QString>
#include <KgDifficulty>
#include <preferences.h>
#include "preferences.h"
/**
* Used to indicate chip's state.
......
......@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <highscores.h>
#include "highscores.h"
#include <QVector>
#include <QDateTime>
......
......@@ -39,10 +39,10 @@
#include <kurllabel.h>
#include <krun.h>
#include <kio/netaccess.h>
#include <kiconloader.h>
#include <klineedit.h>
#include <kguiitem.h>
#include <KIO/NetAccess>
#include <KIconLoader>
#include <KLineEdit>
#include <KGuiItem>
#include "kexthighscore_internal.h"
#include "kexthighscore.h"
......
......@@ -25,7 +25,7 @@
#include <QTreeWidget>
#include <QDialogButtonBox>
#include <QDialog>
#include <kpagedialog.h>
#include <KPageDialog>
#include <QtCore/QList>
......
......@@ -20,7 +20,8 @@
#ifndef KEXTHIGHSCORE_INTERNAL_H
#define KEXTHIGHSCORE_INTERNAL_H
#include <kconfig.h>
#include <KConfig>
#include <KConfigGroup>
#include <KLocalizedString>
#include <KSharedConfig>
#include <KHighscore>
......@@ -33,7 +34,6 @@
#include <QtCore/QVector>
#include <QtCore/QDateTime>
#include <QtCore/QUrl>
#include <kconfiggroup.h>
class QTextStream;
class QDomNamedNodeMap;
......
......@@ -19,16 +19,15 @@
#include "kexthighscore_item.h"
#include <QApplication>
#include <QHBoxLayout>
#include <QLayout>
//Added by qt3to4:
#include <QLabel>
#include <QHBoxLayout>
#include <QtCore/QLocale>
#include <QLocale>
#include <QWidget>
#include <QApplication>
#include <kpagedialog.h>
#include <KHighscore>
#include <KPageDialog>
#include "kexthighscore_internal.h"
#include "kexthighscore_gui.h"
......
......@@ -20,15 +20,15 @@
#include "kexthighscore_tab.h"
#include <QApplication>
#include <QDialog>
#include <QGroupBox>
#include <QHeaderView>
#include <QLayout>
#include <QLabel>
#include <QPixmap>
#include <QVector>
#include <QGroupBox>
#include <QTreeWidget>
#include <QHeaderView>
#include <QDialog>
#include <QApplication>
#include "kexthighscore.h"
......
......@@ -20,8 +20,8 @@
#ifndef KEXTHIGHSCORE_TAB_H
#define KEXTHIGHSCORE_TAB_H
#include <QtCore/QVector>
#include <QComboBox>
#include <QVector>
class QLabel;
class QTreeWidget;
......
......@@ -21,7 +21,7 @@
*
********************************************************************/
#include <kreversicomputerplayer.h>
#include "kreversicomputerplayer.h"
KReversiComputerPlayer::KReversiComputerPlayer(ChipColor color, QString name):
KReversiPlayer(color, name, false, false), m_lowestSkill(100) // setting it big enough
......
......@@ -24,7 +24,7 @@
#ifndef KREVERSICOMPUTERPLAYER_H
#define KREVERSICOMPUTERPLAYER_H
#include <kreversiplayer.h>
#include "kreversiplayer.h"
/**
* Represents computer or AI of this game. Implements KReversiPlayer.
......
......@@ -21,7 +21,7 @@
* Boston, MA 02110-1301, USA.
*
********************************************************************/
#include <kreversigame.h>
#include "kreversigame.h"
const int KReversiGame::DX[KReversiGame::DIRECTIONS_COUNT] = {0, 0, 1, 1, 1, -1, -1, -1};
......
......@@ -28,10 +28,11 @@
#include <QStack>
#include <QTimer>
#include <Engine.h>
#include "Engine.h"
#include "commondefs.h"
#include "kreversiplayer.h"
class Engine;
#include <commondefs.h>
#include <kreversiplayer.h>
class KReversiPlayer;
/**
......
......@@ -21,7 +21,7 @@
*
********************************************************************/
#include <kreversihumanplayer.h>
#include "kreversihumanplayer.h"
KReversiHumanPlayer::KReversiHumanPlayer(ChipColor color, QString name):
KReversiPlayer(color, name, true, true)
......
......@@ -24,7 +24,7 @@
#ifndef KREVERSIHUMANPLAYER_H
#define KREVERSIHUMANPLAYER_H
#include <kreversiplayer.h>
#include "kreversiplayer.h"
/**
* Represents human player. Implements KReversiPlayer.
......
......@@ -21,7 +21,7 @@
*
********************************************************************/
#include <kreversiplayer.h>
#include "kreversiplayer.h"
KReversiPlayer::KReversiPlayer(ChipColor color, QString name,
bool hintAllowed, bool undoAllowed):
......
......@@ -24,7 +24,7 @@
#ifndef KREVERSI_PLAYER_H
#define KREVERSI_PLAYER_H
#include <kreversigame.h>
#include "kreversigame.h"
#include <QString>
class KReversiGame;
......
......@@ -17,12 +17,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <kreversiview.h>
#include "kreversiview.h"
#include <KLocalizedString>
#include <colorscheme.h>
#include "colorscheme.h"
#include <QStandardPaths>
KReversiView::KReversiView(KReversiGame* game, QWidget *parent, KgThemeProvider *provider)
......
......@@ -24,8 +24,8 @@
#include <KgDeclarativeView>
#include <KgThemeProvider>
#include <commondefs.h>
#include <kreversigame.h>
#include "commondefs.h"
#include "kreversigame.h"
/**
* This class provides graphical representation of KReversiGame
......
......@@ -23,16 +23,17 @@
*/
#include <QApplication>
#include <KLocalizedString>
#include <KAboutData>
#include <KCrash>
#include <QCommandLineOption>
#include <QCommandLineParser>
#include <highscores.h>
#include <mainwindow.h>
#include <QCommandLineOption>
#include <kdelibs4configmigrator.h>
#include <KAboutData>
#include <KLocalizedString>
#include <KCrash>
#include <KDBusService>
#include <Kdelibs4ConfigMigrator>
#include "highscores.h"
#include "mainwindow.h"
static const char description[] = I18N_NOOP("KDE Reversi Board Game");
......
......@@ -22,20 +22,21 @@
* Boston, MA 02110-1301, USA.
*
********************************************************************/
#include <mainwindow.h>
#include "mainwindow.h"
#include <QDebug>
#include <QDesktopWidget>
#include <QIcon>
#include <KLocalizedString>
#include <KMessageBox>
#include <QStatusBar>
#include <KActionCollection>
#include <KLocalizedString>
#include <KMessageBox>
#include <KStandardGameAction>
#include <QDesktopWidget>
#include <commondefs.h>
#include <kreversihumanplayer.h>
#include <kreversicomputerplayer.h>
#include "commondefs.h"
#include "kreversihumanplayer.h"
#include "kreversicomputerplayer.h"
#include "kexthighscore.h"
static const int BLACK_STATUSBAR_ID = 1;
......
......@@ -24,20 +24,20 @@
#ifndef KREVERSI_MAIN_WINDOW_H
#define KREVERSI_MAIN_WINDOW_H
#include <KXmlGuiWindow>
#include <preferences.h>
#include <QApplication>
#include <QListWidget>
#include <QDockWidget>
#include <QListWidget>
#include <KToggleAction>
#include <KSelectAction>
#include <KToggleAction>
#include <KXmlGuiWindow>
#include <startgamedialog.h>
#include "preferences.h"
#include "startgamedialog.h"
#include <kreversigame.h>
#include <kreversiview.h>
#include "kreversigame.h"
#include "kreversiview.h"
#include <QLabel>
......
......@@ -21,23 +21,22 @@
*
********************************************************************/
#include <startgamedialog.h>
#include <ui_startgamedialog.h>
#include "startgamedialog.h"
#include "ui_startgamedialog.h"
#include <QMessageBox>
#include <QCloseEvent>
#include <KgDifficulty>
#include <QSvgRenderer>
#include <KLocalizedString>
#include <QPainter>
#include <QGraphicsDropShadowEffect>
#include <KConfigGroup>
#include <QDialogButtonBox>
#include <QMessageBox>
#include <QPushButton>
#include <QPainter>
#include <QSvgRenderer>
#include <QVBoxLayout>
#include <KConfigGroup>
#include <KgDifficulty>
#include <KLocalizedString>
StartGameDialog::StartGameDialog(QWidget *parent, KgThemeProvider *provider) :
QDialog(parent),
ui(new Ui::StartGameDialog), m_provider(provider), m_chipsPrefix(BlackWhite)
......
......@@ -24,8 +24,8 @@
#ifndef STARTGAMEDIALOG_H
#define STARTGAMEDIALOG_H
#include <gamestartinformation.h>
#include <commondefs.h>
#include "gamestartinformation.h"
#include "commondefs.h"
#include <QDialog>
#include <KUser>
......
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