Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
include std headers, avoid transitive include
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Jul 29, 2023
1 parent 4ed2158 commit c6ca6cc
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/FramelessHelper/Core/private/chromepalette_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#pragma once

#include <FramelessHelper/Core/framelesshelpercore_global.h>
#include <optional>

FRAMELESSHELPER_BEGIN_NAMESPACE

Expand Down
1 change: 1 addition & 0 deletions include/FramelessHelper/Core/private/framelessmanager_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#pragma once

#include <FramelessHelper/Core/framelesshelpercore_global.h>
#include <optional>

FRAMELESSHELPER_BEGIN_NAMESPACE

Expand Down
1 change: 1 addition & 0 deletions include/FramelessHelper/Core/private/registrykey_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <FramelessHelper/Core/framelesshelpercore_global.h>
#include <QtCore/qvariant.h>
#include <optional>

#ifndef REGISTRYKEY_FORCE_QSETTINGS
# define REGISTRYKEY_FORCE_QSETTINGS (0)
Expand Down
1 change: 1 addition & 0 deletions include/FramelessHelper/Core/private/versionnumber_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#pragma once

#include <FramelessHelper/Core/framelesshelpercore_global.h>
#include <array>

FRAMELESSHELPER_BEGIN_NAMESPACE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#pragma once

#include <FramelessHelper/Core/framelesshelpercore_global.h>
#include <optional>

FRAMELESSHELPER_BEGIN_NAMESPACE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#pragma once

#include <FramelessHelper/Quick/framelesshelperquick_global.h>
#include <optional>

QT_BEGIN_NAMESPACE
class QQuickItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#pragma once

#include <FramelessHelper/Widgets/framelesshelperwidgets_global.h>
#include <optional>

QT_BEGIN_NAMESPACE
class QEnterEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <FramelessHelper/Widgets/framelesshelperwidgets_global.h>
#include <QtGui/qfont.h>
#include <optional>

QT_BEGIN_NAMESPACE
class QPaintEvent;
Expand Down
1 change: 1 addition & 0 deletions src/core/framelessconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include "framelessconfig_p.h"
#include <array>
#include <QtCore/qdir.h>
#include <QtCore/qsettings.h>
#include <QtCore/qcoreapplication.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/framelesshelper_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "winverhelper_p.h"
#include "framelesshelper_windows.h"
#include "framelesshelpercore_global_p.h"
#include <optional>
#include <QtCore/qhash.h>
#include <QtCore/qvariant.h>
#include <QtCore/qcoreapplication.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/micamaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "utils.h"
#include "framelessconfig_p.h"
#include "framelesshelpercore_global_p.h"
#include <optional>
#include <QtCore/qsysinfo.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qmutex.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/registrykey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include "registrykey_p.h"
#include "framelesshelper_windows.h"
#include <array>
#include <QtCore/qloggingcategory.h>
#if REGISTRYKEY_QWINREGISTRYKEY
# include <QtCore/private/qwinregistry_p.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#ifdef Q_OS_WINDOWS
# include "winverhelper_p.h"
#endif // Q_OS_WINDOWS
#include <array>
#include <QtCore/qloggingcategory.h>
#include <QtGui/qwindow.h>
#include <QtGui/qscreen.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/utils_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "framelesshelpercore_global_p.h"
#include "versionnumber_p.h"
#include "scopeguard_p.h"
#include <optional>
#include <QtCore/qhash.h>
#include <QtCore/qloggingcategory.h>
#include <QtGui/qwindow.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/winverhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include "winverhelper_p.h"
#include "utils.h"
#include <array>

FRAMELESSHELPER_BEGIN_NAMESPACE

Expand Down

0 comments on commit c6ca6cc

Please sign in to comment.