Commit 6435f389 authored by Laurent Montel's avatar Laurent Montel 😁

Remove Qt prefix include

parent 6d0f7413
......@@ -20,8 +20,8 @@
#include "fakehardwaretest.h"
// Qt includes
#include <QtTest/QtTest>
#include <QtCore/QStringList>
#include <QtTest>
#include <QStringList>
// Solid includes
#include <solid/devices/ifaces/device.h>
......
......@@ -20,7 +20,7 @@
#ifndef FAKEHARDWARETEST_H
#define FAKEHARDWARETEST_H
#include <QtCore/QObject>
#include <QObject>
class FakeHardwareTest : public QObject
{
......
......@@ -23,7 +23,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <QtCore/qtemporaryfile.h>
#include <qtemporaryfile.h>
#include <QDebug>
#include <QTimer>
......
......@@ -20,7 +20,7 @@
#include "halbasictest.h"
#include <QtTest/QtTest>
#include <QtTest>
#include "solid/devices/backends/hal/halmanager.h"
......@@ -30,7 +30,7 @@
#include <solid/devices/ifaces/processor.h>
#include "solid/devices/backends/hal/halprocessor.h"
#include <QtDBus/QDBusConnection>
#include <QDBusConnection>
QTEST_MAIN(HalBasicTest)
......
......@@ -21,9 +21,9 @@
#ifndef HALBASICTEST_H
#define HALBASICTEST_H
#include <QtCore/QObject>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QObject>
#include <QMap>
#include <QString>
#include "solid/devices/backends/hal/haldevice.h"
......
......@@ -20,7 +20,7 @@
#include "solidhwtest.h"
#include <QtTest/QtTest>
#include <QtTest>
#include <solid/devicenotifier.h>
#include <solid/device.h>
......
......@@ -21,8 +21,8 @@
#ifndef SOLIDHWTEST_H
#define SOLIDHWTEST_H
#include <QtCore/QObject>
#include <QtCore/QMap>
#include <QObject>
#include <QMap>
namespace Solid
{
......
......@@ -18,12 +18,12 @@
License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtCore/QObject>
#include <QtCore/QThread>
#include <QtCore/QThreadPool>
#include <QObject>
#include <QThread>
#include <QThreadPool>
#include <qtconcurrentrun.h>
#include <QtTest/QtTest>
#include <QtTest>
#include <solid/device.h>
#include <solid/predicate.h>
......
......@@ -18,7 +18,7 @@
#ifndef SOLID_EXTENSION_PLUGIN_H
#define SOLID_EXTENSION_PLUGIN_H
#include <QtQml/QQmlExtensionPlugin>
#include <QQmlExtensionPlugin>
class SolidExtensionPlugin: public QQmlExtensionPlugin
{
......
......@@ -20,7 +20,7 @@
#include "fakecdrom.h"
#include <QtCore/QStringList>
#include <QStringList>
using namespace Solid::Backends::Fake;
......
......@@ -22,8 +22,8 @@
#include <solid/devices/ifaces/device.h>
#include <QtCore/QMap>
#include <QtCore/QSharedPointer>
#include <QMap>
#include <QSharedPointer>
namespace Solid
{
......
......@@ -20,10 +20,10 @@
#ifndef SOLID_BACKENDS_FAKEHW_FAKEDEVICE_P_H
#define SOLID_BACKENDS_FAKEHW_FAKEDEVICE_P_H
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QVariant>
#include <QtCore/QObject>
#include <QMap>
#include <QString>
#include <QVariant>
#include <QObject>
#include "fakedevice.h"
......
......@@ -20,7 +20,7 @@
#ifndef SOLID_BACKENDS_FAKEHW_FAKEDEVICEINTERFACE_H
#define SOLID_BACKENDS_FAKEHW_FAKEDEVICEINTERFACE_H
#include <QtCore/QObject>
#include <QObject>
#include <solid/devices/ifaces/deviceinterface.h>
#include "fakedevice.h"
......
......@@ -22,14 +22,14 @@
#include "fakedevice.h"
// Qt includes
#include <QtXml/QDomDocument>
#include <QtXml/QDomElement>
#include <QtXml/QDomNode>
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QtCore/QString>
#include <QtCore/QTimer>
#include <QtDBus/QDBusConnection>
#include <QDomDocument>
#include <QDomElement>
#include <QDomNode>
#include <QDebug>
#include <QFile>
#include <QString>
#include <QTimer>
#include <QDBusConnection>
using namespace Solid::Backends::Fake;
......
......@@ -20,7 +20,7 @@
#include "fakeopticaldisc.h"
#include <QtCore/QStringList>
#include <QStringList>
using namespace Solid::Backends::Fake;
......
......@@ -21,7 +21,7 @@
#include "fakeportablemediaplayer.h"
#include <QtCore/QStringList>
#include <QStringList>
using namespace Solid::Backends::Fake;
......
......@@ -20,7 +20,7 @@
#include "fakeprocessor.h"
#include <QtCore/QStringList>
#include <QStringList>
using namespace Solid::Backends::Fake;
......
......@@ -20,7 +20,7 @@
#include "fakevolume.h"
#include <QtDBus/QDBusConnection>
#include <QDBusConnection>
using namespace Solid::Backends::Fake;
......
......@@ -23,9 +23,9 @@
#include "fstabnetworkshare.h"
#include "fstabstorageaccess.h"
#include "fstabservice.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include <QCoreApplication>
#include <QStringList>
#include <QUrl>
using namespace Solid::Backends::Fstab;
......
......@@ -22,8 +22,8 @@
#define SOLID_BACKENDS_FSTAB_FSTAB_DEVICE_H
#include <solid/devices/ifaces/device.h>
#include <QtCore/QStringList>
#include <QtCore/QPointer>
#include <QStringList>
#include <QPointer>
#include "fstabstorageaccess.h"
namespace Solid
......
......@@ -22,8 +22,8 @@
#ifndef SOLID_BACKENDS_FSTAB_FSTABHANDLING_H
#define SOLID_BACKENDS_FSTAB_FSTABHANDLING_H
#include <QtCore/QString>
#include <QtCore/QMultiHash>
#include <QString>
#include <QMultiHash>
#include <functional>
......
......@@ -23,8 +23,8 @@
#include <solid/devices/ifaces/devicemanager.h>
#include <solid/deviceinterface.h>
#include <QtCore/QStringList>
#include <QtCore/QSet>
#include <QStringList>
#include <QSet>
namespace Solid
{
......
......@@ -23,7 +23,7 @@
#include <solid/devices/ifaces/networkshare.h>
#include <QtCore/QObject>
#include <QObject>
namespace Solid
{
......
......@@ -23,7 +23,7 @@
#include <solid/devices/backends/fstab/fstabdevice.h>
#include <solid/devices/backends/fstab/fstabhandling.h>
#include <solid/devices/backends/fstab/fstabservice.h>
#include <QtCore/QStringList>
#include <QStringList>
#include <QTimer>
......
......@@ -23,8 +23,8 @@
#include <solid/devices/ifaces/storageaccess.h>
#include <QtCore/QObject>
#include <QtCore/QProcess>
#include <QObject>
#include <QProcess>
namespace Solid
{
......
......@@ -21,11 +21,11 @@
#include "fstabwatcher.h"
#include "soliddefs_p.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QFileSystemWatcher>
#include <QtCore/QSocketNotifier>
#include <QtCore/QFile>
#include <QtCore/QStringList>
#include <QCoreApplication>
#include <QFileSystemWatcher>
#include <QSocketNotifier>
#include <QFile>
#include <QStringList>
using namespace Solid::Backends::Fstab;
......
......@@ -20,11 +20,11 @@
#include "halcdrom.h"
#include <QtCore/QStringList>
#include <QtDBus/QDBusInterface>
#include <QtDBus/QDBusReply>
#include <QtDBus/QDBusError>
#include <QtDBus/QDBusVariant>
#include <QStringList>
#include <QDBusInterface>
#include <QDBusReply>
#include <QDBusError>
#include <QDBusVariant>
#include "halfstabhandling.h"
......
......@@ -24,10 +24,10 @@
#include <solid/devices/ifaces/opticaldrive.h>
#include "halstorage.h"
#include <QtCore/QProcess>
#include <QtDBus/QDBusMessage>
#include <QtDBus/QDBusError>
#include <QtDBus/QDBusVariant>
#include <QProcess>
#include <QDBusMessage>
#include <QDBusError>
#include <QDBusVariant>
namespace Solid
{
......
......@@ -20,13 +20,13 @@
#include "haldevice.h"
#include <QtCore/QDebug>
#include <QtDBus/QDBusConnection>
#include <QtDBus/QDBusInterface>
#include <QtDBus/QDBusReply>
#include <QtDBus/QDBusArgument>
#include <QtDBus/QDBusMetaType>
#include <QtDBus/QDBusVariant>
#include <QDebug>
#include <QDBusConnection>
#include <QDBusInterface>
#include <QDBusReply>
#include <QDBusArgument>
#include <QDBusMetaType>
#include <QDBusVariant>
#include <solid/genericinterface.h>
......
......@@ -24,8 +24,8 @@
#include <solid/devices/ifaces/deviceinterface.h>
#include "haldevice.h"
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include <QObject>
#include <QStringList>
namespace Solid
{
......
......@@ -20,12 +20,12 @@
#include "halfstabhandling.h"
#include <QtCore/QFile>
#include <QtCore/QMultiHash>
#include <QtCore/QObject>
#include <QtCore/QProcess>
#include <QtCore/QTextStream>
#include <QtCore/QTime>
#include <QFile>
#include <QMultiHash>
#include <QObject>
#include <QProcess>
#include <QTextStream>
#include <QTime>
#include <soliddefs_p.h>
#include <config-solid.h>
......
......@@ -21,7 +21,7 @@
#ifndef SOLID_BACKENDS_HAL_FSTABHANDLING_H
#define SOLID_BACKENDS_HAL_FSTABHANDLING_H
#include <QtCore/QString>
#include <QString>
class QProcess;
class QObject;
......
......@@ -22,10 +22,10 @@
#include "haldevice.h"
#include "haldeviceinterface.h"
#include <QtCore/QDebug>
#include <QtDBus/QDBusConnection>
#include <QtDBus/QDBusInterface>
#include <QtDBus/QDBusReply>
#include <QDebug>
#include <QDBusConnection>
#include <QDBusInterface>
#include <QDBusReply>
using namespace Solid::Backends::Hal;
......
......@@ -24,8 +24,8 @@
#include <solid/devices/ifaces/devicemanager.h>
#include <solid/deviceinterface.h>
#include <QtCore/QVariant>
#include <QtCore/QStringList>
#include <QVariant>
#include <QStringList>
namespace Solid
{
......
......@@ -25,7 +25,7 @@
#include <solid/devices/ifaces/portablemediaplayer.h>
#include "haldeviceinterface.h"
#include <QtCore/QStringList>
#include <QStringList>
namespace Solid
{
......
......@@ -23,14 +23,14 @@
#include "halfstabhandling.h"
#include "halgenericinterface.h"
#include <QtCore/QLocale>
#include <QtCore/QDebug>
#include <QtCore/QProcess>
#include <QtCore/QTimer>
#include <QtDBus/QDBusConnection>
#include <QtDBus/QDBusInterface>
#include <QtDBus/QDBusReply>
#include <QtDBus/QDBusVariant>
#include <QLocale>
#include <QDebug>
#include <QProcess>
#include <QTimer>
#include <QDBusConnection>
#include <QDBusInterface>
#include <QDBusReply>
#include <QDBusVariant>
#include <QApplication>
#include <QWidget>
......
......@@ -24,10 +24,10 @@
#include <solid/devices/ifaces/storageaccess.h>
#include "haldeviceinterface.h"
#include <QtCore/QProcess>
#include <QtDBus/QDBusMessage>
#include <QtDBus/QDBusError>
#include <QtDBus/QDBusVariant>
#include <QProcess>
#include <QDBusMessage>
#include <QDBusError>
#include <QDBusVariant>
namespace Solid
{
......
......@@ -19,12 +19,12 @@
License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtCore/qvarlengtharray.h>
#include <QtCore/qstring.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qvariant.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qdebug.h>
#include <qvarlengtharray.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qvariant.h>
#include <qdatetime.h>
#include <qdebug.h>
#include <CoreFoundation/CoreFoundation.h>
......
......@@ -25,8 +25,8 @@
#include <solid/devices/ifaces/deviceinterface.h>
#include "iokitdevice.h"
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include <QObject>
#include <QStringList>
namespace Solid
{
......
......@@ -21,7 +21,7 @@
#include "iokitmanager.h"
#include "iokitdevice.h"
#include <QtCore/qdebug.h>
#include <qdebug.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/usb/IOUSBLib.h>
......
......@@ -24,8 +24,8 @@
#include <solid/devices/ifaces/devicemanager.h>
#include <solid/deviceinterface.h>
#include <QtCore/QVariant>
#include <QtCore/QStringList>
#include <QVariant>
#include <QStringList>
namespace Solid
{
......
......@@ -26,7 +26,7 @@
#ifdef EJECT_USING_DISKARBITRATION
// for QCFType:
#include <QtCore/private/qcore_mac_p.h>
#include <private/qcore_mac_p.h>
#else
#include <QStandardPaths>
#endif
......
......@@ -22,7 +22,7 @@
#include "iokitprocessor.h"
#include "iokitdevice.h"
#include <QtCore/qdebug.h>
#include <qdebug.h>
#include <sys/types.h>
#include <sys/sysctl.h>
......
......@@ -19,7 +19,7 @@
*/
#include "rootdevice.h"
#include <QtCore/QStringList>
#include <QStringList>
using namespace Solid::Backends::Shared;
......
......@@ -23,7 +23,7 @@
#include <solid/devices/ifaces/device.h>
#include <QtCore/QStringList>
#include <QStringList>