Commit 6c29f0aa authored by Davide Gianforte's avatar Davide Gianforte
Browse files

cleaning qt #includes in krusader/VFS

according to KDE's Code Policy, there's no need to specify the Qt module

https://community.kde.org/Policies/Library_Code_Policy#Qt_includes
parent 537fc69c
......@@ -30,13 +30,15 @@
#include "abstractthreadedjob.h"
#include <QtCore/QTimer>
#include <QtCore/QDir>
#include <QtCore/QPointer>
#include <QtCore/QEventLoop>
#include <QtCore/QTemporaryDir>
#include <QtCore/QTemporaryFile>
#include <QtWidgets/QApplication>
// QtCore
#include <QTimer>
#include <QDir>
#include <QPointer>
#include <QEventLoop>
#include <QTemporaryDir>
#include <QTemporaryFile>
// QtWidgets
#include <QApplication>
#include <KI18n/KLocalizedString>
#include <KIO/JobUiDelegate>
......
......@@ -31,17 +31,18 @@
#ifndef ABSTRACTTHREADEDJOB_H
#define ABSTRACTTHREADEDJOB_H
#include <QtCore/QThread>
#include <QtCore/QEvent>
#include <QtCore/QMimeDatabase>
#include <QtCore/QMutex>
#include <QtCore/QWaitCondition>
#include <QtCore/QStack>
#include <QtCore/QVariant>
#include <QtCore/QList>
#include <QtCore/QEventLoop>
#include <QtCore/QTime>
#include <QtCore/QUrl>
// QtCore
#include <QThread>
#include <QEvent>
#include <QMimeDatabase>
#include <QMutex>
#include <QWaitCondition>
#include <QStack>
#include <QVariant>
#include <QList>
#include <QEventLoop>
#include <QTime>
#include <QUrl>
#include <KIO/Job>
......
......@@ -30,10 +30,11 @@
#include "ftp_vfs.h"
#include <QtCore/QDir>
#include <QtCore/QRegExp>
#include <QtCore/QTimer>
#include <QtCore/QEventLoop>
// QtCore
#include <QDir>
#include <QRegExp>
#include <QTimer>
#include <QEventLoop>
#include <KI18n/KLocalizedString>
#include <KIO/Job>
......
......@@ -33,9 +33,12 @@
#include <cstdio>
#include <iostream>
#include <QtCore/QEvent>
#include <QtGui/QTextDocument>
#include <QtWidgets/QApplication>
// QtCore
#include <QEvent>
// QtGui
#include <QTextDocument>
// QtWidgets
#include <QApplication>
#include <KI18n/KLocalizedString>
#include <KIO/Global>
......
......@@ -31,10 +31,11 @@
#ifndef KIOJOBWRAPPER_H
#define KIOJOBWRAPPER_H
#include <QtCore/QObject>
#include <QtCore/QPointer>
#include <QtCore/QMap>
#include <QtCore/QUrl>
// QtCore
#include <QObject>
#include <QPointer>
#include <QMap>
#include <QUrl>
#include <KIO/Job>
......
......@@ -30,10 +30,12 @@
#include "krarchandler.h"
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtWidgets/QApplication>
// QtCore
#include <QDebug>
#include <QDir>
#include <QFile>
// QtWidgets
#include <QApplication>
#include <KArchive/KTar>
#include <KConfigCore/KSharedConfig>
......
......@@ -30,9 +30,10 @@
#ifndef KRARCHANDLER_H
#define KRARCHANDLER_H
#include <QtCore/QStringList>
#include <QtCore/QObject>
#include <QtCore/QUrl>
// QtCore
#include <QStringList>
#include <QObject>
#include <QUrl>
#include <KCoreAddons/KProcess>
......
......@@ -30,9 +30,10 @@
#include "krpermhandler.h"
#include <QtCore/QDateTime>
#include <QtCore/QDir>
#include <QtCore/QLocale>
// QtCore
#include <QDateTime>
#include <QDir>
#include <QLocale>
#include <qplatformdefs.h>
QHash<QString, uid_t> *KRpermHandler::passwdCache = 0L;
......
......@@ -32,9 +32,10 @@
#ifndef KRPERMHANDLER_H
#define KRPERMHANDLER_H
#include <QtCore/QString>
#include <QtCore/QFileInfo>
#include <QtCore/QHash>
// QtCore
#include <QString>
#include <QFileInfo>
#include <QHash>
#include <KIO/Global>
......
......@@ -30,10 +30,11 @@
#include "krquery.h"
#include <QtCore/QMetaMethod>
#include <QtCore/QTextCodec>
#include <QtCore/QRegExp>
#include <QtCore/QFile>
// QtCore
#include <QMetaMethod>
#include <QTextCodec>
#include <QRegExp>
#include <QFile>
#include <KI18n/KLocalizedString>
#include <KIOWidgets/KUrlCompletion>
......
......@@ -30,9 +30,10 @@
#ifndef KRQUERY_H
#define KRQUERY_H
#include <QtCore/QStringList>
#include <QtCore/QDateTime>
#include <QtCore/QUrl>
// QtCore
#include <QStringList>
#include <QDateTime>
#include <QUrl>
#include <KIO/Job>
#include <KConfigCore/KConfigGroup>
......
......@@ -23,7 +23,8 @@
#include "virt_vfs.h"
#include "../krservices.h"
#include <QtCore/QDir>
// QtCore
#include <QDir>
KrVfsHandler::KrVfsHandler()
{
......
......@@ -20,8 +20,9 @@
#ifndef KRVFSHANDLER_H
#define KRVFSHANDLER_H
#include <QtCore/QObject>
#include <QtCore/QUrl>
// QtCore
#include <QObject>
#include <QUrl>
#include "vfs.h"
......
......@@ -37,9 +37,10 @@
#endif
#endif
#include <QtCore/QTimer>
#include <QtCore/QByteArray>
#include <QtCore/QDir>
// QtCore
#include <QTimer>
#include <QByteArray>
#include <QDir>
#include <qplatformdefs.h>
#include <KConfigCore/KSharedConfig>
......
......@@ -31,9 +31,10 @@
#ifndef NORMAL_VFS_H
#define NORMAL_VFS_H
#include <QtCore/QString>
#include <QtCore/QTimer>
#include <QtCore/QUrl>
// QtCore
#include <QString>
#include <QTimer>
#include <QUrl>
#include <KIOCore/KFileItem>
#include <KCoreAddons/KDirWatch>
......
......@@ -31,10 +31,11 @@
#include "packjob.h"
#include "krarchandler.h"
#include <QtCore/QDir>
#include <QtCore/QMimeDatabase>
#include <QtCore/QMimeType>
#include <QtCore/QTimer>
// QtCore
#include <QDir>
#include <QMimeDatabase>
#include <QMimeType>
#include <QTimer>
#include <KI18n/KLocalizedString>
......
......@@ -31,7 +31,8 @@
#ifndef PACKJOB_H
#define PACKJOB_H
#include <QtCore/QMap>
// QtCore
#include <QMap>
#include "abstractthreadedjob.h"
......
......@@ -31,9 +31,10 @@
#ifndef PRESERVINGCOPYJOB_H
#define PRESERVINGCOPYJOB_H
#include <QtCore/QMap>
#include <QtCore/QList>
#include <QtCore/QUrl>
// QtCore
#include <QMap>
#include <QList>
#include <QUrl>
#include <KIO/CopyJob>
......
......@@ -30,9 +30,10 @@
#include "vfile.h"
#include <QtCore/QDateTime>
#include <QtCore/QMimeDatabase>
#include <QtCore/QMimeType>
// QtCore
#include <QDateTime>
#include <QMimeDatabase>
#include <QMimeType>
#include <KConfigCore/KDesktopFile>
......
......@@ -31,9 +31,10 @@
#include <sys/types.h>
#include <QtCore/QString>
#include <QtCore/QObject>
#include <QtCore/QUrl>
// QtCore
#include <QString>
#include <QObject>
#include <QUrl>
#include <KIO/Global>
#include <KIO/UDSEntry>
......
......@@ -19,7 +19,8 @@
#ifndef _VFILECONTAINER_H__
#define _VFILECONTAINER_H__
#include <QtCore/QObject>
// QtCore
#include <QObject>
class vfile;
......
......@@ -33,10 +33,12 @@
#include "vfs.h"
#include <QtCore/QEventLoop>
#include <QtCore/QList>
#include <QtCore/QDir>
#include <QtWidgets/QApplication>
// QtCore
#include <QEventLoop>
#include <QList>
#include <QDir>
// QtWidgets
#include <QApplication>
#include <qplatformdefs.h>
#include <KConfigCore/KSharedConfig>
......
......@@ -32,13 +32,15 @@
#include "vfilecontainer.h"
#include <QtCore/QString>
#include <QtCore/QList>
#include <QtCore/QObject>
#include <QtCore/QHash>
#include <QtCore/QPointer>
#include <QtCore/QUrl>
#include <QtWidgets/QWidget>
// QtCore
#include <QString>
#include <QList>
#include <QObject>
#include <QHash>
#include <QPointer>
#include <QUrl>
// QtWidgets
#include <QWidget>
#include "vfile.h"
#include "preservingcopyjob.h"
......
......@@ -19,7 +19,8 @@
#include "virt_vfs.h"
#include <QtCore/QUrl>
// QtCore
#include <QUrl>
#include <KI18n/KLocalizedString>
#include <KIOCore/KFileItem>
......
......@@ -20,7 +20,8 @@
#ifndef VIRT_VFS_H
#define VIRT_VFS_H
#include <QtCore/QHash>
// QtCore
#include <QHash>
#include <KConfigCore/KConfig>
......
......@@ -32,7 +32,8 @@
#include "vfs.h"
#include "vfile.h"
#include <QtCore/QDir>
// QtCore
#include <QDir>
#include <KCoreAddons/KJobTrackerInterface>
#include <KI18n/KLocalizedString>
......
......@@ -31,10 +31,11 @@
#ifndef VIRTUALCOPYJOB_H
#define VIRTUALCOPYJOB_H
#include <QtCore/QList>
#include <QtCore/QTimer>
#include <QtCore/QHash>
#include <QtCore/QMap>
// QtCore
#include <QList>
#include <QTimer>
#include <QHash>
#include <QMap>
#include <KIO/Job>
......
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