Use Qt::Literals::StringLiterals
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "devicemanager.h"
|
||||
#include "deviceinfo.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
using std::make_shared;
|
||||
|
||||
ConnectedDevice::ConnectedDevice(const QUrl &url, DeviceLister *lister, const QString &unique_id, SharedPtr<DeviceManager> manager, Application *app, const int database_id, const bool first_time, QObject *parent)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "core/scopedtransaction.h"
|
||||
#include "devicedatabasebackend.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
namespace {
|
||||
constexpr int kDeviceSchemaVersion = 5;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "devicedatabasebackend.h"
|
||||
#include "deviceinfo.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
DeviceDatabaseBackend::Device DeviceInfo::SaveToDb() const {
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include "core/logging.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
DeviceLister::DeviceLister(QObject *parent)
|
||||
: QObject(parent),
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
# include "gpoddevice.h"
|
||||
#endif
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
using std::make_unique;
|
||||
|
||||
const int DeviceManager::kDeviceIconSize = 32;
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#include "deviceproperties.h"
|
||||
#include "deviceview.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
using std::make_unique;
|
||||
|
||||
const int DeviceItemDelegate::kIconPadding = 6;
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include "devicelister.h"
|
||||
#include "giolister.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
QString GioLister::DeviceInfo::unique_id() const {
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "mtploader.h"
|
||||
#include "mtpconnection.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
class DeviceLister;
|
||||
class DeviceManager;
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
#include "udisks2filesystem.h"
|
||||
#include "udisks2job.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
using std::make_unique;
|
||||
using std::make_shared;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user