Commit ecb9108e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused includes

parent 05ce0fe6
......@@ -23,7 +23,6 @@
#include <QLoggingCategory>
#include <KLocalizedString>
Q_LOGGING_CATEGORY(XdgDesktopPortalKdeAccess, "xdp-kde-access")
......
......@@ -22,7 +22,6 @@
#include "ui_accessdialog.h"
#include <QLoggingCategory>
#include <QSettings>
#include <QStandardPaths>
#include <QPushButton>
......
......@@ -23,7 +23,6 @@
#include <QLoggingCategory>
#include <KLocalizedString>
Q_LOGGING_CATEGORY(XdgDesktopPortalKdeAppChooser, "xdp-kde-app-chooser")
......
......@@ -21,7 +21,6 @@
#include "appchooserdialog.h"
#include "appchooserdialogitem.h"
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QVBoxLayout>
#include <QLabel>
......
......@@ -21,7 +21,6 @@
#ifndef XDG_DESKTOP_PORTAL_KDE_APPCHOOSER_DIALOG_H
#define XDG_DESKTOP_PORTAL_KDE_APPCHOOSER_DIALOG_H
#include <QAbstractListModel>
#include <QDialog>
class QGridLayout;
......
......@@ -22,9 +22,7 @@
#include <QMouseEvent>
#include <QFontMetrics>
#include <QVBoxLayout>
#include <QDebug>
AppChooserDialogItem::AppChooserDialogItem(const QString &applicationName, const QString &icon, const QString &applicationExec, QWidget *parent)
: QToolButton(parent)
......
......@@ -20,10 +20,6 @@
#include "desktopportal.h"
#include <QDialog>
#include <QDBusArgument>
#include <QDBusMessage>
#include <QDBusConnection>
#include <QLoggingCategory>
Q_LOGGING_CATEGORY(XdgDesktopPortalKdeDesktopPortal, "xdp-kde-desktop-portal")
......
......@@ -22,7 +22,6 @@
#define XDG_DESKTOP_PORTAL_KDE_DESKTOP_PORTAL_H
#include <QObject>
#include <QDBusVirtualObject>
#include <QDBusContext>
#include "access.h"
......
......@@ -22,7 +22,6 @@
#define XDG_DESKTOP_PORTAL_KDE_FILECHOOSER_H
#include <QDBusObjectPath>
#include <QMetaType>
#include <QDBusAbstractAdaptor>
#include <QDialog>
......
......@@ -21,7 +21,6 @@
#include "inhibit.h"
#include "request.h"
#include <QDBusArgument>
#include <QDBusConnection>
#include <QDBusMessage>
#include <QDBusPendingCall>
......
......@@ -25,7 +25,6 @@
#include <QDBusObjectPath>
#include <QDBusUnixFileDescriptor>
#include <QPrinter>
#include <QPageSize>
class PrintPortal : public QDBusAbstractAdaptor
{
......
......@@ -21,7 +21,6 @@
#ifndef XDG_DESKTOP_PORTAL_KDE_REMOTEDESKTOP_DIALOG_H
#define XDG_DESKTOP_PORTAL_KDE_REMOTEDESKTOP_DIALOG_H
#include <QAbstractListModel>
#include <QDialog>
#include "remotedesktop.h"
......
......@@ -20,7 +20,6 @@
#include "desktopportal.h"
#include <QDBusArgument>
#include <QDBusConnection>
#include <QDBusMessage>
#include <QDBusPendingCall>
......
......@@ -26,7 +26,6 @@
#include <stdio.h>
#include <QLoggingCategory>
#include <QTimer>
#include <QSize>
#include <QSocketNotifier>
......
......@@ -22,13 +22,11 @@
#include "screenshotdialog.h"
#include "utils.h"
#include <QColorDialog>
#include <QDateTime>
#include <QtDBus>
#include <QDBusArgument>
#include <QDBusReply>
#include <QLoggingCategory>
#include <QTemporaryFile>
#include <QStandardPaths>
#include <QPointer>
......
......@@ -21,11 +21,9 @@
#include "session.h"
#include "desktopportal.h"
#include <QDBusArgument>
#include <QDBusConnection>
#include <QDBusMessage>
#include <QDBusPendingCall>
#include <QDBusPendingReply>
#include <QDBusPendingCallWatcher>
#include <QLoggingCategory>
......
......@@ -24,7 +24,6 @@
#include <QDBusAbstractAdaptor>
#include <QDBusObjectPath>
#include <KConfigCore/KConfig>
#include <KConfigCore/KSharedConfig>
class SettingsPortal : public QDBusAbstractAdaptor
......
......@@ -21,7 +21,6 @@
#include <QString>
#include <QWidget>
#include <QWindow>
void Utils::setParentWindow(QWidget *w, const QString &parent_window)
{
......
......@@ -26,7 +26,6 @@
#include <QSize>
#include <QVariant>
#include <QtGlobal>
namespace WaylandIntegration
{
......
......@@ -24,7 +24,6 @@
#include "waylandintegration.h"
#include <QDateTime>
#include <QObject>
#include <QMap>
#include <gbm.h>
......
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