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

@@ -40,7 +40,7 @@
#include "tidalservice.h"
#include "tidalbaserequest.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
TidalBaseRequest::TidalBaseRequest(TidalService *service, SharedPtr<NetworkAccessManager> network, QObject *parent)
: QObject(parent),

View File

@@ -39,7 +39,7 @@
#include "tidalbaserequest.h"
#include "tidalfavoriterequest.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
TidalFavoriteRequest::TidalFavoriteRequest(TidalService *service, SharedPtr<NetworkAccessManager> network, QObject *parent)
: TidalBaseRequest(service, network, parent),

View File

@@ -49,7 +49,7 @@
#include "tidalbaserequest.h"
#include "tidalrequest.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
namespace {
constexpr char kResourcesUrl[] = "https://resources.tidal.com";

View File

@@ -66,7 +66,7 @@
#include "settings/tidalsettingspage.h"
using namespace std::chrono_literals;
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
using std::make_shared;
const Song::Source TidalService::kSource = Song::Source::Tidal;

View File

@@ -42,7 +42,7 @@
#include "tidalbaserequest.h"
#include "tidalstreamurlrequest.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
TidalStreamURLRequest::TidalStreamURLRequest(TidalService *service, SharedPtr<NetworkAccessManager> network, const QUrl &media_url, const uint id, QObject *parent)
: TidalBaseRequest(service, network, parent),