1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-04 16:27:07 +02:00

Sort includes

This commit is contained in:
Elias Steurer 2022-10-22 16:42:12 +02:00
parent 4ad3b14c31
commit 36839dad26
13 changed files with 19 additions and 15 deletions

View File

@ -56,10 +56,8 @@
#include <memory> #include <memory>
#include "ScreenPlay/createimportvideo.h"
#include "ScreenPlay/globalvariables.h" #include "ScreenPlay/globalvariables.h"
#include "ScreenPlay/util.h" #include "ScreenPlay/createimportvideo.h"
#include "ScreenPlayUtil/util.h"
namespace ScreenPlay { namespace ScreenPlay {

View File

@ -48,9 +48,10 @@
#include <QScopeGuard> #include <QScopeGuard>
#include <QString> #include <QString>
#include <QtMath> #include <QtMath>
#include <QQmlEngine>
#include <QThread>
#include "ScreenPlay/createimportstates.h" #include "ScreenPlay/createimportstates.h"
#include "ScreenPlay/util.h"
namespace ScreenPlay { namespace ScreenPlay {

View File

@ -41,7 +41,7 @@
#include <QUrl> #include <QUrl>
#include <QVersionNumber> #include <QVersionNumber>
#include "ScreenPlayUtil/contenttypes.h" #include <QQmlEngine>
namespace ScreenPlay { namespace ScreenPlay {

View File

@ -49,8 +49,6 @@
#include "screenplaywallpaper.h" #include "screenplaywallpaper.h"
#include "screenplaywidget.h" #include "screenplaywidget.h"
#include "settings.h" #include "settings.h"
#include "util.h"
#include <memory> #include <memory>
#include <optional> #include <optional>

View File

@ -45,7 +45,6 @@
#include "ScreenPlay/projectsettingslistmodel.h" #include "ScreenPlay/projectsettingslistmodel.h"
#include "ScreenPlay/sdkconnection.h" #include "ScreenPlay/sdkconnection.h"
#include "ScreenPlay/settings.h" #include "ScreenPlay/settings.h"
#include "ScreenPlay/util.h"
namespace ScreenPlay { namespace ScreenPlay {

View File

@ -67,9 +67,6 @@
#include <memory> #include <memory>
#include <optional> #include <optional>
#ifdef Q_OS_WIN
#include <qt_windows.h>
#endif
namespace ScreenPlay { namespace ScreenPlay {
class ActiveProfile; class ActiveProfile;

View File

@ -34,6 +34,7 @@
#pragma once #pragma once
#include <QMetaType>
#include <QApplication> #include <QApplication>
#include <QClipboard> #include <QClipboard>
#include <QCoreApplication> #include <QCoreApplication>
@ -51,9 +52,10 @@
#include <QTextStream> #include <QTextStream>
#include <QVersionNumber> #include <QVersionNumber>
#include <QtConcurrent/QtConcurrent> #include <QtConcurrent/QtConcurrent>
#include <qqml.h> #include <QQmlEngine>
#include "ScreenPlay/globalvariables.h" #include "ScreenPlay/globalvariables.h"
#include "ScreenPlayUtil/contenttypes.h"
#include "ScreenPlayUtil/util.h" #include "ScreenPlayUtil/util.h"
#include "qarchive_enums.hpp" #include "qarchive_enums.hpp"

View File

@ -1,4 +1,7 @@
#include "ScreenPlay/create.h" #include "ScreenPlay/create.h"
#include "ScreenPlay/util.h"
#include "ScreenPlayUtil/util.h"
namespace ScreenPlay { namespace ScreenPlay {

View File

@ -1,5 +1,7 @@
#include "ScreenPlay/screenplaywallpaper.h" #include "ScreenPlay/screenplaywallpaper.h"
#include "util.h"
namespace ScreenPlay { namespace ScreenPlay {
/*! /*!

View File

@ -3,6 +3,11 @@
#include "ScreenPlayUtil/util.h" #include "ScreenPlayUtil/util.h"
#include <QFileInfo> #include <QFileInfo>
#ifdef Q_OS_WIN
#include <qt_windows.h>
#endif
namespace ScreenPlay { namespace ScreenPlay {
/*! /*!

View File

@ -51,7 +51,6 @@
class ScreenPlaySDK : public QObject { class ScreenPlaySDK : public QObject {
Q_OBJECT Q_OBJECT
QML_UNCREATABLE("")
public: public:
ScreenPlaySDK(const QString& appID, const QString& type); ScreenPlaySDK(const QString& appID, const QString& type);

View File

@ -39,7 +39,6 @@
#if defined(Q_OS_WIN) #if defined(Q_OS_WIN)
// Must be first! // Must be first!
#include <qt_windows.h> #include <qt_windows.h>
#include "WinUser.h" #include "WinUser.h"
#include <ShellScalingApi.h> #include <ShellScalingApi.h>
#endif #endif
@ -48,6 +47,7 @@
#include <QJsonArray> #include <QJsonArray>
#include <QJsonObject> #include <QJsonObject>
#include <QMetaEnum> #include <QMetaEnum>
#include <QMetaType>
#include <QString> #include <QString>
#include <QVersionNumber> #include <QVersionNumber>
#include <cmath> #include <cmath>

View File

@ -51,9 +51,9 @@
#include <QWindow> #include <QWindow>
#include <QtQuick/QQuickView> #include <QtQuick/QQuickView>
#include <QtQuick/QQuickWindow> #include <QtQuick/QQuickWindow>
#include <QFileSystemWatcher>
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <QFileSystemWatcher>
#include <qt_windows.h> #include <qt_windows.h>
#endif #endif