Avoid QtDBus module include in commonly used headers
Because all of QtCore and QtDBus is no longer pulled in, a few placed had to get explicit includes
This commit is contained in:
parent
f9aa624d5b
commit
0d3b017b23
10 changed files with 23 additions and 5 deletions
|
@ -46,7 +46,7 @@
|
|||
|
||||
#include <QFutureWatcher>
|
||||
#include <QThread>
|
||||
#include <QtConcurrent>
|
||||
#include <QtConcurrentRun>
|
||||
|
||||
// system
|
||||
#include <sys/socket.h>
|
||||
|
|
|
@ -420,7 +420,7 @@ public:
|
|||
{
|
||||
auto list = defaultValue("CalibrationMatrix", QList<float>{});
|
||||
if (list.size() == 16) {
|
||||
return QMatrix4x4{list.toVector().constData()};
|
||||
return QMatrix4x4{list.constData()};
|
||||
}
|
||||
|
||||
return m_defaultCalibrationMatrix;
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#endif
|
||||
|
||||
// Qt
|
||||
#include <QDBusConnection>
|
||||
#include <QOpenGLContext>
|
||||
|
||||
namespace KWin
|
||||
|
|
|
@ -9,8 +9,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <QDBusContext>
|
||||
#include <QDBusMessage>
|
||||
#include <QObject>
|
||||
#include <QtDBus>
|
||||
|
||||
#include "virtualdesktopsdbustypes.h"
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include <KConfigGroup>
|
||||
#include <KLocalizedString>
|
||||
#include <KPluginFactory>
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusMessage>
|
||||
|
||||
K_PLUGIN_FACTORY_WITH_JSON(VirtualDesktopsFactory,
|
||||
"kcm_kwin_virtualdesktops.json",
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusMessage>
|
||||
#include <QDBusPendingCallWatcher>
|
||||
#include <QDBusPendingReply>
|
||||
|
||||
#include <KConfig>
|
||||
#include <KLocalizedString>
|
||||
|
|
|
@ -11,9 +11,15 @@
|
|||
#include "activities.h"
|
||||
#endif
|
||||
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusMessage>
|
||||
#include <QDBusMetaType>
|
||||
#include <QDBusPendingCallWatcher>
|
||||
#include <QDBusPendingReply>
|
||||
#include <QFileInfo>
|
||||
#include <QIcon>
|
||||
#include <QQmlEngine>
|
||||
#include <QtDBus>
|
||||
#include <QTimer>
|
||||
|
||||
#include <KColorSchemeManager>
|
||||
#include <KConfig>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <KConfigGroup>
|
||||
#include <KPluginFactory>
|
||||
#include <KPluginMetaData>
|
||||
#include <QPluginLoader>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <QtDBus>
|
||||
#include <QDBusArgument>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -66,6 +66,11 @@
|
|||
#include <KConfigGroup>
|
||||
#include <KLocalizedString>
|
||||
#include <KStartupInfo>
|
||||
// Qt
|
||||
#include <QCryptographicHash>
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusPendingCall>
|
||||
#include <QMetaProperty>
|
||||
// xcb
|
||||
#include <xcb/xinerama.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue