Use "<",">" for Qt includes instead of quotes

This commit is contained in:
leha-bot 2018-05-13 15:41:20 +03:00
parent 6188052c46
commit dea6943df7
19 changed files with 48 additions and 31 deletions

View File

@ -19,9 +19,9 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/ */
#include "mtproto/connection_auto.h" #include "mtproto/connection_auto.h"
#include "mtproto/connection_http.h" #include "mtproto/connection_http.h"
#include "QNetworkProxy"
#include <QNetworkProxy>
namespace MTP { namespace MTP {
namespace internal { namespace internal {

View File

@ -42,15 +42,16 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include <strsafe.h> #include <strsafe.h>
#include <QDesktopWidget>
#include <qpa/qplatformnativeinterface.h>
#include <ObjIdl.h> #include <ObjIdl.h>
#include <wrl/client.h> #include <wrl/client.h>
#include "QStandardPaths"
#include "QDesktopServices"
#include <propvarutil.h> #include <propvarutil.h>
#include <qpa/qplatformnativeinterface.h>
#include <QStandardPaths>
#include <QDesktopServices>
#include <QDesktopWidget>
#ifndef DCX_USESTYLE #ifndef DCX_USESTYLE
#define DCX_USESTYLE 0x00010000 #define DCX_USESTYLE 0x00010000
#endif #endif

View File

@ -20,7 +20,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/ */
#include "platform/win/windows_dlls.h" #include "platform/win/windows_dlls.h"
#include "settings.h" #include "settings.h"
#include "QSysInfo"
#include <QSysInfo>
namespace Platform { namespace Platform {
namespace Dlls { namespace Dlls {

View File

@ -39,7 +39,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "messenger.h" #include "messenger.h"
#include "platform/platform_file_utilities.h" #include "platform/platform_file_utilities.h"
#include "styles/style_widgets.h" #include "styles/style_widgets.h"
#include "QWidget"
#include <QWidget>
namespace Profile { namespace Profile {
namespace { namespace {

View File

@ -30,7 +30,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "observer_peer.h" #include "observer_peer.h"
#include "styles/style_boxes.h" #include "styles/style_boxes.h"
#include "profile/profile_back_button.h" #include "profile/profile_back_button.h"
#include "QWidget"
#include <QWidget>
namespace Profile { namespace Profile {
namespace { namespace {

View File

@ -34,7 +34,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "scheme.h" #include "scheme.h"
#include "facades.h" #include "facades.h"
#include "app.h" #include "app.h"
#include "QDesktopServices"
#include <QDesktopServices>
namespace Settings { namespace Settings {

View File

@ -31,8 +31,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include <QJsonObject> #include <QJsonObject>
#include <QJsonDocument> #include <QJsonDocument>
#include <QDirIterator> #include <QDirIterator>
#include "QShortcut" #include <QShortcut>
#include "QJsonArray" #include <QJsonArray>
namespace ShortcutCommands { namespace ShortcutCommands {

View File

@ -39,10 +39,11 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "base/flags.h" #include "base/flags.h"
#include <openssl/evp.h> #include <openssl/evp.h>
#include "QBuffer"
#include "QImageReader" #include <QBuffer>
#include "QDirIterator" #include <QImageReader>
#include "qendian.h" #include <QDirIterator>
#include <Qendian.h>
namespace Local { namespace Local {
namespace { namespace {

View File

@ -20,7 +20,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/ */
#include "ui/effects/cross_animation.h" #include "ui/effects/cross_animation.h"
#include "ui/twidget.h" #include "ui/twidget.h"
#include "qmath.h"
#include <Qmath.h>
namespace Ui { namespace Ui {
namespace { namespace {

View File

@ -22,7 +22,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/twidget.h" #include "ui/twidget.h"
#include "ui/animation.h" #include "ui/animation.h"
#include "app.h" #include "app.h"
#include "QPainter"
#include <QPainter>
namespace Ui { namespace Ui {

View File

@ -19,11 +19,12 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/ */
#include "ui/effects/widget_fade_wrap.h" #include "ui/effects/widget_fade_wrap.h"
#include "QWidget"
#include "ui/twidget.h" #include "ui/twidget.h"
#include "QPixmap"
#include "app.h" #include "app.h"
#include <QWidget>
#include <QPixmap>
namespace Ui { namespace Ui {
namespace { namespace {

View File

@ -24,11 +24,12 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "styles/style_history.h" #include "styles/style_history.h"
#include "dialogs/dialogs_layout.h" #include "dialogs/dialogs_layout.h"
#include "ui/effects/ripple_animation.h" #include "ui/effects/ripple_animation.h"
#include "qevent.h"
#include "twidget.h" #include "twidget.h"
#include "structs.h" #include "structs.h"
#include "app.h" #include "app.h"
#include <Qevent.h>
namespace Ui { namespace Ui {
namespace { namespace {

View File

@ -19,11 +19,12 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/ */
#include "ui/style/style_core_icon.h" #include "ui/style/style_core_icon.h"
#include "QPainter"
#include "settings.h" #include "settings.h"
#include "style_core.h" #include "style_core.h"
#include "app.h" #include "app.h"
#include <QPainter>
namespace style { namespace style {
namespace internal { namespace internal {
namespace { namespace {

View File

@ -21,11 +21,12 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "application.h" #include "application.h"
#include "twidget.h" #include "twidget.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "QWindow"
#include "window\main_window.h" #include "window\main_window.h"
#include "messenger.h" #include "messenger.h"
#include "app.h" #include "app.h"
#include "QFontDatabase"
#include <QWindow>
#include <QFontDatabase>
namespace Fonts { namespace Fonts {
namespace { namespace {

View File

@ -22,8 +22,9 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/effects/ripple_animation.h" #include "ui/effects/ripple_animation.h"
#include "styles/style_widgets.h" #include "styles/style_widgets.h"
#include <QPainter> #include <QPainter>
#include "qevent.h" #include <Qevent.h>
namespace Ui { namespace Ui {

View File

@ -25,7 +25,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/widgets/shadow.h" #include "ui/widgets/shadow.h"
#include "ui/effects/panel_animation.h" #include "ui/effects/panel_animation.h"
#include "app.h" #include "app.h"
#include "QWindow"
#include <QWindow>
namespace { namespace {

View File

@ -25,7 +25,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "lang/lang_keys.h" #include "lang/lang_keys.h"
#include "app.h" #include "app.h"
#include "facades.h" #include "facades.h"
#include "QDrag"
#include <QDrag>
namespace Ui { namespace Ui {
namespace { namespace {

View File

@ -24,7 +24,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/twidget.h" #include "ui/twidget.h"
#include "window_slide_animation.h" #include "window_slide_animation.h"
#include "facades.h" #include "facades.h"
#include "qevent.h"
#include <Qevent.h>
namespace Window { namespace Window {

View File

@ -24,10 +24,11 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/effects/ripple_animation.h" #include "ui/effects/ripple_animation.h"
#include "boxes/edit_color_box.h" #include "boxes/edit_color_box.h"
#include "lang/lang_keys.h" #include "lang/lang_keys.h"
#include "QColor"
#include "QString"
#include "facades.h" #include "facades.h"
#include <QColor>
#include <QString>
namespace Window { namespace Window {
namespace Theme { namespace Theme {
namespace { namespace {