1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

Use QStringLiteral when it make sense

This commit is contained in:
Kacper Michajłow
2020-11-21 15:38:04 +01:00
parent 74d0c74830
commit cf70d9430f
75 changed files with 417 additions and 417 deletions
+6 -6
View File
@@ -32,13 +32,13 @@
const int AirspyPlugin::m_maxDevices = 32;
const PluginDescriptor AirspyPlugin::m_pluginDescriptor = {
QString("Airspy"),
QString("Airspy Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("Airspy"),
QStringLiteral("Airspy Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString AirspyPlugin::m_hardwareID = "Airspy";
@@ -30,13 +30,13 @@
const PluginDescriptor AirspyHFPlugin::m_pluginDescriptor = {
QString("AirspyHF"),
QString("AirspyHF Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("AirspyHF"),
QStringLiteral("AirspyHF Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString AirspyHFPlugin::m_hardwareID = "AirspyHF";
@@ -29,13 +29,13 @@
#endif
const PluginDescriptor AudioInputPlugin::m_pluginDescriptor = {
QString("AudioInput"),
QString("Audio Input"),
QString("6.0.1"),
QString("(c) Jon Beniston, M7RCE and Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("AudioInput"),
QStringLiteral("Audio Input"),
QStringLiteral("6.0.1"),
QStringLiteral("(c) Jon Beniston, M7RCE and Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString AudioInputPlugin::m_hardwareID = "AudioInput";
@@ -30,13 +30,13 @@
#endif
const PluginDescriptor Blderf1InputPlugin::m_pluginDescriptor = {
QString("BladeRF1"),
QString("BladeRF1 Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("BladeRF1"),
QStringLiteral("BladeRF1 Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString Blderf1InputPlugin::m_hardwareID = "BladeRF1";
@@ -30,13 +30,13 @@
#endif
const PluginDescriptor Blderf2InputPlugin::m_pluginDescriptor = {
QString("BladeRF2"),
QString("BladeRF2 Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("BladeRF2"),
QStringLiteral("BladeRF2 Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString Blderf2InputPlugin::m_hardwareID = "BladeRF2";
+6 -6
View File
@@ -29,13 +29,13 @@
#include "fcdtraits.h"
const PluginDescriptor FCDProPlugin::m_pluginDescriptor = {
QString("FCDPro"),
QString(fcd_traits<Pro>::pluginDisplayedName),
QString(fcd_traits<Pro>::pluginVersion),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("FCDPro"),
fcd_traits<Pro>::pluginDisplayedName,
fcd_traits<Pro>::pluginVersion,
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
FCDProPlugin::FCDProPlugin(QObject* parent) :
@@ -29,13 +29,13 @@
#include "fcdtraits.h"
const PluginDescriptor FCDProPlusPlugin::m_pluginDescriptor = {
QString("FCDProPlus"),
QString(fcd_traits<ProPlus>::pluginDisplayedName),
QString(fcd_traits<ProPlus>::pluginVersion),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("FCDProPlus"),
fcd_traits<ProPlus>::pluginDisplayedName,
fcd_traits<ProPlus>::pluginVersion,
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString FCDProPlusPlugin::m_deviceTypeID = FCDPROPLUS_DEVICE_TYPE_ID;
@@ -29,13 +29,13 @@
#include "fileinputwebapiadapter.h"
const PluginDescriptor FileInputPlugin::m_pluginDescriptor = {
QString("FileInput"),
QString("File device input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("FileInput"),
QStringLiteral("File device input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString FileInputPlugin::m_hardwareID = "FileInput";
@@ -31,13 +31,13 @@
#include "hackrfinputwebapiadapter.h"
const PluginDescriptor HackRFInputPlugin::m_pluginDescriptor = {
QString("HackRF"),
QString("HackRF Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("HackRF"),
QStringLiteral("HackRF Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString HackRFInputPlugin::m_hardwareID = "HackRF";
@@ -30,13 +30,13 @@
#include "kiwisdrwebapiadapter.h"
const PluginDescriptor KiwiSDRPlugin::m_pluginDescriptor = {
QString("KiwiSDR"),
QString("KiwiSDR input"),
QString("4.21.2"),
QString("(c) Vort (c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("KiwiSDR"),
QStringLiteral("KiwiSDR input"),
QStringLiteral("4.21.2"),
QStringLiteral("(c) Vort (c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString KiwiSDRPlugin::m_hardwareID = "KiwiSDR";
@@ -33,13 +33,13 @@
#include "limesdrinputwebapiadapter.h"
const PluginDescriptor LimeSDRInputPlugin::m_pluginDescriptor = {
QString("LimeSDR"),
QString("LimeSDR Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("LimeSDR"),
QStringLiteral("LimeSDR Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString LimeSDRInputPlugin::m_hardwareID = "LimeSDR";
@@ -29,13 +29,13 @@
#include "localinputwebapiadapter.h"
const PluginDescriptor LocalInputPlugin::m_pluginDescriptor = {
QString("LocalInput"),
QString("Local device input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("LocalInput"),
QStringLiteral("Local device input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString LocalInputPlugin::m_hardwareID = "LocalInput";
@@ -31,13 +31,13 @@
#endif
const PluginDescriptor PerseusPlugin::m_pluginDescriptor = {
QString("Perseus"),
QString("Perseus Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("Perseus"),
QStringLiteral("Perseus Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString PerseusPlugin::m_hardwareID = "Perseus";
@@ -31,13 +31,13 @@
class DeviceAPI;
const PluginDescriptor PlutoSDRInputPlugin::m_pluginDescriptor = {
QString("PlutoSDR"),
QString("PlutoSDR Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("PlutoSDR"),
QStringLiteral("PlutoSDR Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString PlutoSDRInputPlugin::m_hardwareID = "PlutoSDR";
@@ -29,13 +29,13 @@
#include "remoteinputwebapiadapter.h"
const PluginDescriptor RemoteInputPlugin::m_pluginDescriptor = {
QString("RemoteInput"),
QString("Remote device input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("RemoteInput"),
QStringLiteral("Remote device input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString RemoteInputPlugin::m_hardwareID = "RemoteInput";
+6 -6
View File
@@ -13,13 +13,13 @@
#include "rtlsdrwebapiadapter.h"
const PluginDescriptor RTLSDRPlugin::m_pluginDescriptor = {
QString("RTLSDR"),
QString("RTL-SDR Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("RTLSDR"),
QStringLiteral("RTL-SDR Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString RTLSDRPlugin::m_hardwareID = "RTLSDR";
@@ -29,13 +29,13 @@
#include "sdrplaywebapiadapter.h"
const PluginDescriptor SDRPlayPlugin::m_pluginDescriptor = {
QString("SDRPlay"),
QString("SDRPlay RSP1 Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("SDRPlay"),
QStringLiteral("SDRPlay RSP1 Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString SDRPlayPlugin::m_hardwareID = "SDRplay1";
@@ -29,13 +29,13 @@
#include "sigmffileinputwebapiadapter.h"
const PluginDescriptor SigMFFileInputPlugin::m_pluginDescriptor = {
QString("SigMFFileInput"),
QString("File device input (SigMF)"),
QString("6.0.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("SigMFFileInput"),
QStringLiteral("File device input (SigMF)"),
QStringLiteral("6.0.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString SigMFFileInputPlugin::m_hardwareID = "SigMFFileInput";
@@ -30,13 +30,13 @@
#endif
const PluginDescriptor SoapySDRInputPlugin::m_pluginDescriptor = {
QString("SoapySDR"),
QString("SoapySDR Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("SoapySDR"),
QStringLiteral("SoapySDR Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString SoapySDRInputPlugin::m_hardwareID = "SoapySDR";
@@ -29,13 +29,13 @@
#include "testsourcewebapiadapter.h"
const PluginDescriptor TestSourcePlugin::m_pluginDescriptor = {
QString("TestSource"),
QString("Test Source input"),
QString("4.21.1"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("TestSource"),
QStringLiteral("Test Source input"),
QStringLiteral("4.21.1"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString TestSourcePlugin::m_hardwareID = "TestSource";
@@ -33,13 +33,13 @@
#include "usrpinputwebapiadapter.h"
const PluginDescriptor USRPInputPlugin::m_pluginDescriptor = {
QString("USRP"),
QString("USRP Input"),
QString("4.21.0"),
QString("(c) Jon Beniston, M7RCE and Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("USRP"),
QStringLiteral("USRP Input"),
QStringLiteral("4.21.0"),
QStringLiteral("(c) Jon Beniston, M7RCE and Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString USRPInputPlugin::m_hardwareID = "USRP";
@@ -36,13 +36,13 @@
#endif
const PluginDescriptor XTRXInputPlugin::m_pluginDescriptor = {
QString("XTRX"),
QString("XTRX Input"),
QString("4.19.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
QStringLiteral("XTRX"),
QStringLiteral("XTRX Input"),
QStringLiteral("4.19.0"),
QStringLiteral("(c) Edouard Griffiths, F4EXB"),
QStringLiteral("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString XTRXInputPlugin::m_hardwareID = "XTRX";