Commit 0fd79e86 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(app): sort correctly included headers

parent b0378709
......@@ -20,8 +20,6 @@
* Author: Ronan Abhamon
*/
#include <QQuickWindow>
#include "Utils.hpp"
// =============================================================================
......
......@@ -20,6 +20,14 @@
* Author: Ronan Abhamon
*/
#include <QDir>
#include <QFileSelector>
#include <QMenu>
#include <QQmlFileSelector>
#include <QSystemTrayIcon>
#include <QtDebug>
#include <QTimer>
#include "../components/Components.hpp"
#include "../Utils.hpp"
......@@ -30,14 +38,6 @@
#include "App.hpp"
#include <QDir>
#include <QFileSelector>
#include <QMenu>
#include <QQmlFileSelector>
#include <QSystemTrayIcon>
#include <QtDebug>
#include <QTimer>
#define DEFAULT_LOCALE "en"
#define LANGUAGES_PATH ":/languages/"
......
......@@ -23,13 +23,13 @@
#ifndef APP_H_
#define APP_H_
#include "../components/notifier/Notifier.hpp"
#include "../externals/single-application/SingleApplication.hpp"
#include <QCommandLineParser>
#include <QQmlApplicationEngine>
#include <QQuickWindow>
#include "../components/notifier/Notifier.hpp"
#include "../externals/single-application/SingleApplication.hpp"
// =============================================================================
class DefaultTranslator;
......
......@@ -27,9 +27,9 @@
#include <QtDebug>
#include "../../Utils.hpp"
#include "config.h"
#include "Paths.hpp"
#include "config.h"
#define PATH_ASSISTANT_CONFIG "/assistant/"
#define PATH_AVATARS "/avatars/"
......
......@@ -20,15 +20,15 @@
* Author: Ronan Abhamon
*/
#include <QQuickWindow>
#include <QThread>
#include <QTimer>
#include "../core/CoreManager.hpp"
#include "MSFunctions.hpp"
#include "Camera.hpp"
#include <QQuickWindow>
#include <QThread>
#include <QTimer>
#define MAX_FPS 30
using namespace std;
......
......@@ -20,15 +20,15 @@
* Author: Ronan Abhamon
*/
#include <QQuickWindow>
#include <QThread>
#include <QTimer>
#include "../core/CoreManager.hpp"
#include "MSFunctions.hpp"
#include "CameraPreview.hpp"
#include <QQuickWindow>
#include <QThread>
#include <QTimer>
#define MAX_FPS 30
using namespace std;
......
......@@ -23,10 +23,10 @@
#ifndef CHAT_PROXY_MODEL_H_
#define CHAT_PROXY_MODEL_H_
#include "ChatModel.hpp"
#include <QSortFilterProxyModel>
#include "ChatModel.hpp"
// =============================================================================
class ChatProxyModel : public QSortFilterProxyModel {
......
......@@ -24,11 +24,10 @@
#define CONTACTS_LIST_MODEL_H_
#include <linphone++/linphone.hh>
#include <QAbstractListModel>
#include "../contact/ContactModel.hpp"
#include <QAbstractListModel>
// =============================================================================
class ContactsListModel : public QAbstractListModel {
......
......@@ -20,10 +20,10 @@
* Author: Ronan Abhamon
*/
#include <QDebug>
#include <cmath>
#include <QDebug>
#include "../../Utils.hpp"
#include "../core/CoreManager.hpp"
......
......@@ -20,15 +20,15 @@
* Author: Ronan Abhamon
*/
#include <QDir>
#include <QtConcurrent>
#include <QTimer>
#include "../../app/paths/Paths.hpp"
#include "../../Utils.hpp"
#include "CoreManager.hpp"
#include <QDir>
#include <QtConcurrent>
#include <QTimer>
#define CBS_CALL_INTERVAL 20
using namespace std;
......
......@@ -23,6 +23,10 @@
#ifndef CORE_MANAGER_H_
#define CORE_MANAGER_H_
#include <QFuture>
#include <QFutureWatcher>
#include <QMutex>
#include "../calls/CallsListModel.hpp"
#include "../contacts/ContactsListModel.hpp"
#include "../settings/AccountSettingsModel.hpp"
......@@ -31,10 +35,6 @@
#include "CoreHandlers.hpp"
#include <QFuture>
#include <QFutureWatcher>
#include <QMutex>
// =============================================================================
class QTimer;
......
......@@ -23,10 +23,10 @@
#ifndef OWN_PRESENCE_MODEL_H_
#define OWN_PRESENCE_MODEL_H_
#include "../presence/Presence.hpp"
#include <QObject>
#include "../presence/Presence.hpp"
// =============================================================================
// Gives the statuses list informations (icons, label, level, status).
// Can set/get the presence status of the linphone user app.
......
......@@ -23,12 +23,12 @@
#ifndef SIP_ADDRESSES_MODEL_H_
#define SIP_ADDRESSES_MODEL_H_
#include <QAbstractListModel>
#include "../chat/ChatModel.hpp"
#include "../contact/ContactModel.hpp"
#include "SipAddressObserver.hpp"
#include <QAbstractListModel>
// =============================================================================
class CoreHandlers;
......
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