1
0
Fork 0

Revert back to capitalised names.

This commit is contained in:
namedkitten 2020-04-26 01:05:09 +01:00
parent 9a0c08f44a
commit 1b5495573e
17 changed files with 103 additions and 120 deletions

View file

@ -1,18 +1,17 @@
#include "src/Backends/MPV/MPVBackend.hpp" #include "src/Backends/MPV/MPVBackend.hpp"
#include <QtCore/qglobal.h> #include <QtCore/qglobal.h>
#include <mpv/render_gl.h> #include <mpv/render_gl.h>
#include <qbytearray.h> #include <QByteArray>
#include <qcoreapplication.h> #include <QCoreApplication>
#include <qguiapplication.h> // IWYU pragma: keep #include <QGuiApplication>
#include <qcoreevent.h> #include <QEvent>
#include <qdebug.h> #include <QDebug>
#include <qicon.h> #include <QIcon>
#include <qmetaobject.h> #include <QMetaObject>
#include <qnamespace.h> #include <QObject>
#include <qobject.h> #include <QOpenGLContext>
#include <qopenglcontext.h> #include <QOpenGLFramebufferObject>
#include <qopenglframebufferobject.h> #include <QQuickWindow>
#include <qquickwindow.h>
#include <stdio.h> #include <stdio.h>
#include <clocale> #include <clocale>
#include <iostream> #include <iostream>

View file

@ -4,17 +4,16 @@
#include <mpv/client.h> #include <mpv/client.h>
#include <mpv/opengl_cb.h> #include <mpv/opengl_cb.h>
#include <mpv/render.h> #include <mpv/render.h>
#include <qmetatype.h> #include <QMetaType>
#include <qobjectdefs.h> #include <QObject>
#include <qquickframebufferobject.h> #include <QEvent>
#include <qsettings.h> #include <QQuickItem>
#include <qstring.h> #include <QQuickFramebufferObject>
#include <qvariant.h> #include <QSettings>
#include <QString>
#include <QVariant>
#include "src/backendinterface.hpp" #include "src/backendinterface.hpp"
#include "src/enums.hpp" #include "src/enums.hpp"
class QEvent;
class QObject;
class QQuickItem;
class MPVBackend class MPVBackend
: public QQuickFramebufferObject : public QQuickFramebufferObject

View file

@ -1,17 +1,14 @@
#include "src/Backends/MPVCommon/MPVCommon.hpp" #include "src/Backends/MPVCommon/MPVCommon.hpp"
#include <qbytearray.h> #include <QByteArray>
#include <qcbormap.h> // IWYU pragma: keep #include <QCoreApplication>
#include <qcoreapplication.h> #include <QJsonObject>
#include <qglobal.h> #include <QList>
#include <qjsonvalue.h> // IWYU pragma: keep #include <QLocale>
#include <qjsonarray.h> // IWYU pragma: keep #include <QMap>
#include <qjsonobject.h> // IWYU pragma: keep #include <QMetaObject>
#include <qlist.h> #include <QMetaMethod>
#include <qlocale.h> #include <QObject>
#include <qmap.h> #include <QSettings>
#include <qmetaobject.h>
#include <qobjectdefs.h>
#include <qsettings.h>
#include <spdlog/fmt/fmt.h> #include <spdlog/fmt/fmt.h>
#include <string.h> #include <string.h>
#include <exception> #include <exception>

View file

@ -2,9 +2,9 @@
#define MPVCommon_H #define MPVCommon_H
#include <mpv/client.h> #include <mpv/client.h>
#include <qmetatype.h> #include <QMetaType>
#include <qstring.h> #include <QString>
#include <qvariant.h> #include <QVariant>
#include "src/enums.hpp" #include "src/enums.hpp"
class BackendInterface; class BackendInterface;
class QMetaMethod; class QMetaMethod;

View file

@ -1,15 +1,13 @@
#include "src/Backends/MPVNoFBO/MPVNoFBOBackend.hpp" #include "src/Backends/MPVNoFBO/MPVNoFBOBackend.hpp"
#include <QtCore/qglobal.h> #include <QApplication>
#include <qapplication.h> #include <QByteArray>
#include <qbytearray.h> #include <QCoreApplication>
#include <qcoreapplication.h> #include <QEvent>
#include <qcoreevent.h> #include <QDebug>
#include <qdebug.h> #include <QIcon>
#include <qicon.h> #include <QMetaObject>
#include <qmetaobject.h> #include <QOpenGLContext>
#include <qnamespace.h> #include <QQuickWindow>
#include <qopenglcontext.h>
#include <qquickwindow.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <clocale> #include <clocale>

View file

@ -3,21 +3,18 @@
#include <mpv/client.h> #include <mpv/client.h>
#include <mpv/opengl_cb.h> #include <mpv/opengl_cb.h>
#include <qevent.h> // IWYU pragma: keep #include <QEvent>
#include <qmetatype.h> #include <QMetaType>
#include <qobject.h> #include <QObject>
#include <qobjectdefs.h> #include <QQuickItem>
#include <qquickitem.h> #include <QQuickWindow>
#include <qquickwindow.h> // IWYU pragma: keep #include <QSettings>
#include <qsettings.h> #include <QSize>
#include <qsize.h> #include <QString>
#include <qstring.h> #include <QVariant>
#include <qvariant.h>
#include "src/backendinterface.hpp" #include "src/backendinterface.hpp"
#include "src/enums.hpp" #include "src/enums.hpp"
class QEvent; // IWYU pragma: keep
class MPVNoFBORenderer : public QObject class MPVNoFBORenderer : public QObject
{ {
Q_OBJECT Q_OBJECT

View file

@ -1,6 +1,6 @@
#include "Process.h" #include "Process.h"
#include <qstringlist.h> #include <QStringList>
#include <qvariant.h> #include <QVariant>
class QObject; class QObject;
Process::Process(QObject* parent) Process::Process(QObject* parent)

View file

@ -1,10 +1,10 @@
#ifndef Process_H #ifndef Process_H
#define Process_H #define Process_H
#include <qmetatype.h> #include <QMetaType>
#include <qobjectdefs.h> #include <QObject>
#include <qprocess.h> #include <QProcess>
#include <qstring.h> #include <QString>
class QObject; class QObject;
class Process : public QProcess class Process : public QProcess

View file

@ -1,16 +1,16 @@
#include "ThumbnailCache.h" #include "ThumbnailCache.h"
#include <qbuffer.h> #include <QBuffer>
#include <qbytearray.h> #include <QByteArray>
#include <qcryptographichash.h> #include <QCryptographicHash>
#include <qfileinfo.h> #include <QFileInfo>
#include <qimage.h> #include <QImage>
#include <qimagereader.h> #include <QImageReader>
#include <qiodevice.h> #include <QIODevice>
#include <qnetworkaccessmanager.h> #include <QNetworkAccessManager>
#include <qnetworkreply.h> #include <QNetworkReply>
#include <qnetworkrequest.h> #include <QNetworkRequest>
#include <qstandardpaths.h> #include <QStandardPaths>
#include <qurl.h> #include <QUrl>
ThumbnailCache::ThumbnailCache(QObject* parent) ThumbnailCache::ThumbnailCache(QObject* parent)
: QObject(parent) : QObject(parent)

View file

@ -1,10 +1,9 @@
#ifndef ThumbnailCache_H #ifndef ThumbnailCache_H
#define ThumbnailCache_H #define ThumbnailCache_H
#include <qdir.h> #include <QDir>
#include <qobject.h> #include <QObject>
#include <qobjectdefs.h> #include <QString>
#include <qstring.h> #include <QNetworkAccessManager>
class QNetworkAccessManager;
class ThumbnailCache : public QObject class ThumbnailCache : public QObject
{ {

View file

@ -1,9 +1,8 @@
#ifndef ENUMS_HPP #ifndef ENUMS_HPP
#define ENUMS_HPP #define ENUMS_HPP
#include <qobject.h> #include <QObject>
#include <qobjectdefs.h> #include <QString>
#include <qstring.h>
namespace Enums { namespace Enums {
Q_NAMESPACE Q_NAMESPACE

View file

@ -1,7 +1,7 @@
#include <qbytearray.h> #include <QByteArray>
#include <qsettings.h> #include <QSettings>
#include <qstring.h> #include <QString>
#include <qvariant.h> #include <QVariant>
#include <spdlog/logger.h> #include <spdlog/logger.h>
#include <iterator> #include <iterator>
#include <vector> #include <vector>

View file

@ -1,19 +1,16 @@
#include <QtCore/qglobal.h> #include <QtGlobal>
#include <locale.h> #include <locale.h>
#include <qapplication.h> #include <QApplication>
#include <qbytearray.h> #include <QProcess>
#include <qmetatype.h> #include <QtQml>
#include <qprocess.h> #include <QQmlApplicationEngine>
#include <qqml.h>
#include <qqmlapplicationengine.h>
#ifdef QT_QML_DEBUG #ifdef QT_QML_DEBUG
#include <qqmldebug.h> #include <QQmlDebug>
#endif #endif
#include <qsettings.h> #include <QSettings>
#include <qstring.h> #include <QString>
#include <qstringliteral.h> #include <QUrl>
#include <qurl.h> #include <QVariant>
#include <qvariant.h>
#include <spdlog/fmt/fmt.h> #include <spdlog/fmt/fmt.h>
#include <cstdlib> #include <cstdlib>
#include <exception> #include <exception>

View file

@ -1,8 +1,8 @@
#include "qmldebugger.h" #include "qmldebugger.h"
#include <qhash.h> #include <QHash>
#include <qmetaobject.h> #include <QMetaObject>
#include <qquickitem.h> #include <QQuickItem>
#include <qvariant.h> #include <QVariant>
QString QString
QMLDebugger::properties(QQuickItem* item, bool linebreak) QMLDebugger::properties(QQuickItem* item, bool linebreak)

View file

@ -1,10 +1,9 @@
#ifndef QMLDEBUGGER_H #ifndef QMLDEBUGGER_H
#define QMLDEBUGGER_H #define QMLDEBUGGER_H
#include <qobject.h> #include <QQuickItem>
#include <qobjectdefs.h> #include <QVariant>
#include <qstring.h> #include <QString>
class QQuickItem;
class QMLDebugger : public QObject class QMLDebugger : public QObject
{ {

View file

@ -1,9 +1,9 @@
#include "utils.hpp" #include "utils.hpp"
#include <qapplication.h> #include <QApplication>
#include <qcoreapplication.h> #include <QCoreApplication>
#include <qguiapplication.h> #include <QGuiApplication>
#include <qprocess.h> #include <QProcess>
#include <qstringlist.h> #include <QStringList>
#include <memory> #include <memory>
#include "logger.h" #include "logger.h"
#include "spdlog/logger.h" #include "spdlog/logger.h"

View file

@ -1,9 +1,8 @@
#ifndef UTILS_H #ifndef UTILS_H
#define UTILS_H #define UTILS_H
#include <qobject.h> #include <QObject>
#include <qobjectdefs.h> #include <QString>
#include <qstring.h> #include <QWindow>
#include <qwindowdefs.h>
namespace Utils { namespace Utils {
Q_NAMESPACE Q_NAMESPACE