Commit c6c1e266 authored by Laurent Montel's avatar Laurent Montel 😁

Remove Qt module from include

parent f5c118e8
......@@ -24,7 +24,7 @@
#include "types.h"
#include "kgapiblogger_export.h"
#include <QtCore/QUrl>
#include <QUrl>
namespace KGAPI2
{
......
......@@ -27,7 +27,7 @@
#include "../debug.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
......
......@@ -28,8 +28,8 @@
#include "../debug.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -29,7 +29,7 @@
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -39,7 +39,7 @@
#include <KDateTime>
#include <KSystemTimeZones>
#include <QtCore/QVariant>
#include <QVariant>
namespace KGAPI2
{
......
......@@ -29,8 +29,8 @@
#include "utils.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -27,7 +27,7 @@
#include "event.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
......
......@@ -27,8 +27,8 @@
#include "event.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -28,8 +28,8 @@
#include "utils.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -28,8 +28,8 @@
#include "utils.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -28,9 +28,9 @@
#include "account.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QtCore/QBuffer>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QBuffer>
#include <QImage>
using namespace KGAPI2;
......
......@@ -28,7 +28,7 @@
#include "account.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
......
......@@ -27,8 +27,8 @@
#include "utils.h"
#include "account.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -26,8 +26,8 @@
#include "contactsservice.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QImage>
Q_DECLARE_METATYPE(KGAPI2::ContactPtr)
......
......@@ -28,9 +28,9 @@
#include "account.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QtCore/QBuffer>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QBuffer>
#include <QImage>
using namespace KGAPI2;
......
......@@ -28,7 +28,7 @@
#include "types.h"
#include "kgapicontacts_export.h"
#include <QtCore/QDateTime>
#include <QDateTime>
namespace KGAPI2
{
......
......@@ -28,8 +28,8 @@
#include "account.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -28,7 +28,7 @@
#include "account.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
......
......@@ -27,8 +27,8 @@
#include "utils.h"
#include "account.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -28,8 +28,8 @@
#include "account.h"
#include "private/queuehelper_p.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -24,7 +24,7 @@
#include "types.h"
#include "kgapicontacts_export.h"
#include <QtCore/QUrl>
#include <QUrl>
namespace KGAPI2
{
......
......@@ -25,11 +25,11 @@
#include "object.h"
#include "kgapidrive_export.h"
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QSharedPointer>
#include <QtCore/QUrl>
#include <QtCore/QVariantMap>
#include <QString>
#include <QStringList>
#include <QSharedPointer>
#include <QUrl>
#include <QVariantMap>
namespace KGAPI2
{
......
......@@ -28,8 +28,8 @@
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -25,10 +25,10 @@
#include "object.h"
#include "kgapidrive_export.h"
#include <QtCore/QSharedPointer>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <QUrl>
namespace KGAPI2
{
......
......@@ -27,8 +27,8 @@
#include "driveservice.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -25,8 +25,8 @@
#include "object.h"
#include "kgapidrive_export.h"
#include <QtCore/QString>
#include <QtCore/QUrl>
#include <QString>
#include <QUrl>
namespace KGAPI2
{
......
......@@ -27,8 +27,8 @@
#include "driveservice.h"
#include "utils.h"
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
#include <QNetworkReply>
#include <QNetworkRequest>
using namespace KGAPI2;
......
......@@ -25,8 +25,8 @@
#include "object.h"
#include "kgapidrive_export.h"
#include <QtCore/QString>
#include <QtCore/QUrl>
#include <QString>
#include <QUrl>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "driveservice.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -26,7 +26,7 @@
#include "createjob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace KGAPI2
{
......
......@@ -25,7 +25,7 @@
#include "childreference.h"
#include "driveservice.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -26,7 +26,7 @@
#include "deletejob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "driveservice.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -26,7 +26,7 @@
#include "types.h"
#include "kgapidrive_export.h"
#include <QtCore/QUrl>
#include <QUrl>
namespace KGAPI2
{
......
......@@ -23,7 +23,7 @@
#include "file.h"
#include <QtCore/QVariantMap>
#include <QVariantMap>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "file.h"
#include "utils.h"
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
#include <QNetworkReply>
#include <QNetworkRequest>
using namespace KGAPI2;
......
......@@ -26,7 +26,7 @@
#include "modifyjob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace KGAPI2
{
......
......@@ -27,8 +27,8 @@
#include "fileabstractdatajob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QtCore/QMap>
#include <QStringList>
#include <QMap>
namespace KGAPI2
{
......
......@@ -25,8 +25,8 @@
#include "file.h"
#include "utils.h"
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
#include <QNetworkReply>
#include <QNetworkRequest>
using namespace KGAPI2;
......
......@@ -26,7 +26,7 @@
#include "fileabstractdatajob.h"
#include "kgapidrive_export.h"
#include <QtCore/QMap>
#include <QMap>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "driveservice.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkAccessManager>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -25,7 +25,7 @@
#include "driveservice.h"
#include "file.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -26,7 +26,7 @@
#include "deletejob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace KGAPI2
{
......
......@@ -25,8 +25,8 @@
#include "account.h"
#include "file.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -28,8 +28,8 @@
#include "file.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -26,8 +26,8 @@
#include "fetchjob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QtCore/QMap>
#include <QStringList>
#include <QMap>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "driveservice.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkAccessManager>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -26,8 +26,8 @@
#include "file.h"
#include "kgapidrive_export.h"
#include <QtCore/QString>
#include <QtCore/QUrl>
#include <QString>
#include <QUrl>
namespace KGAPI2
{
......
......@@ -25,7 +25,7 @@
#include "parentreference.h"
#include <QtCore/QVariantMap>
#include <QVariantMap>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "parentreference.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -26,7 +26,7 @@
#include "createjob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace KGAPI2
{
......
......@@ -27,7 +27,7 @@
#include "driveservice.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -27,7 +27,7 @@
#include "deletejob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "parentreference.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -26,10 +26,10 @@
#include "file.h"
#include "kgapidrive_export.h"
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include <QtCore/QVariantMap>
#include <QString>
#include <QStringList>
#include <QUrl>
#include <QVariantMap>
namespace KGAPI2
{
......
......@@ -26,8 +26,8 @@
#include "permission.h"
#include "utils.h"
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkReply>
using namespace KGAPI2;
......
......@@ -26,7 +26,7 @@
#include "account.h"
#include "driveservice.h"
#include <QtNetwork/QNetworkRequest>
#include <QNetworkRequest>
using namespace KGAPI2;
using namespace KGAPI2::Drive;
......
......@@ -27,7 +27,7 @@
#include "deletejob.h"
#include "kgapidrive_export.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace KGAPI2