Commit 1f01f045 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

use forward declaration here

parent 46ac490b
Pipeline #60157 failed with stage
in 24 minutes and 44 seconds
......@@ -9,7 +9,7 @@
#include "migratorbase.h"
#include <QAbstractItemModel>
#include <QObject>
class QObject;
#include <QPointer>
#include <QSharedPointer>
#include <QStandardItemModel>
......
......@@ -8,7 +8,7 @@
#pragma once
#include "migrationscheduler.h"
#include <QItemSelectionModel>
class QItemSelectionModel;
#include <QWidget>
class MigrationStatusWidget : public QWidget
......
......@@ -6,7 +6,7 @@
#pragma once
#include <KJob>
class KJob;
#include <migratorbase.h>
class GidMigrator : public MigratorBase
......
......@@ -20,6 +20,7 @@
#include <QComboBox>
#include <QFormLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QRadioButton>
#include <QRegularExpressionValidator>
......
......@@ -8,7 +8,6 @@
#include <KDAV/Enums>
#include <QLabel>
#include <QWizard>
#include <QWizardPage>
......@@ -16,6 +15,7 @@ class KJob;
class QLineEdit;
class QTextBrowser;
class QLabel;
class QButtonGroup;
class QCheckBox;
class QComboBox;
......
......@@ -6,8 +6,8 @@
#pragma once
#include <QLabel>
#include <QProgressBar>
class QLabel;
class QProgressBar;
#include <QWizard>
#include <QWizardPage>
......
......@@ -6,7 +6,7 @@
#pragma once
#include <QObject>
class QObject;
#include <QScopedPointer>
#include "ewsabstractauth.h"
......
......@@ -6,7 +6,7 @@
#pragma once
#include <QString>
class QString;
#include <QVector>
extern const QString soapEnvNsUri;
......
......@@ -13,7 +13,7 @@
#include <QMutex>
#include <QPointer>
#include <QTcpServer>
#include <QTcpSocket>
class QTcpSocket;
class FakeEwsConnection;
class QXmlResultItems;
......
......@@ -6,7 +6,7 @@
#pragma once
#include <QObject>
class QObject;
#include <QString>
#include <Akonadi/KMime/SpecialMailCollections>
......
......@@ -15,7 +15,7 @@
#include "resourcestateinterface.h"
#include <AkonadiAgentBase/agentsearchinterface.h>
#include <AkonadiAgentBase/resourcebase.h>
#include <QDialog>
class QDialog;
class QTimer;
......
......@@ -7,7 +7,7 @@
#pragma once
#include <QDialog>
class QDialog;
#include <passwordrequesterinterface.h>
class ImapResourceBase;
......
......@@ -9,7 +9,7 @@
#pragma once
#include <KJob>
class KJob;
#include <QDialog>
#include <collection.h>
......
......@@ -11,7 +11,7 @@
#include <kalarmcal/kacalendar.h>
#include <kalarmcal/kaevent.h>
#include <QObject>
class QObject;
namespace KCalendarCore
{
......
......@@ -10,6 +10,8 @@
// Qt
#include <QDebug>
#include <QTcpServer>
#include <QTcpSocket>
FakeServerThread::FakeServerThread(QObject *parent)
: QThread(parent)
......
......@@ -8,10 +8,10 @@
#pragma once
#include <QMutex>
#include <QTcpServer>
#include <QTcpSocket>
#include <QThread>
class QTcpServer;
class QTcpSocket;
class FakeServer : public QObject
{
Q_OBJECT
......
......@@ -6,7 +6,7 @@
#pragma once
#include <KJob>
class KJob;
#include <KMime/Message>
#include <QSet>
#include <ResourceBase>
......
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