Use Qt::Literals::StringLiterals

This commit is contained in:
Jonas Kvinge
2024-10-18 20:17:23 +02:00
parent 6931538ebf
commit 0e330b81db
156 changed files with 160 additions and 172 deletions

View File

@@ -43,7 +43,7 @@
#include "qobuzservice.h"
#include "qobuzbaserequest.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
QobuzBaseRequest::QobuzBaseRequest(QobuzService *service, SharedPtr<NetworkAccessManager> network, QObject *parent)
: QObject(parent),

View File

@@ -49,7 +49,7 @@
#include "qobuzbaserequest.h"
#include "qobuzrequest.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
namespace {
constexpr int kMaxConcurrentArtistsRequests = 3;

View File

@@ -60,7 +60,7 @@
#include "settings/settingsdialog.h"
#include "settings/qobuzsettingspage.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
using std::make_shared;
const Song::Source QobuzService::kSource = Song::Source::Qobuz;

View File

@@ -43,7 +43,7 @@
#include "qobuzbaserequest.h"
#include "qobuzstreamurlrequest.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
QobuzStreamURLRequest::QobuzStreamURLRequest(QobuzService *service, SharedPtr<NetworkAccessManager> network, const QUrl &media_url, const uint id, QObject *parent)
: QobuzBaseRequest(service, network, parent),