aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/rgscan
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/rgscan')
-rw-r--r--src/plugins/General/rgscan/rgscanfactory.cpp8
-rw-r--r--src/plugins/General/rgscan/rgscanfactory.h3
2 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/General/rgscan/rgscanfactory.cpp b/src/plugins/General/rgscan/rgscanfactory.cpp
index fe89a62c1..9e68e89a9 100644
--- a/src/plugins/General/rgscan/rgscanfactory.cpp
+++ b/src/plugins/General/rgscan/rgscanfactory.cpp
@@ -22,12 +22,11 @@
#include "rgscanhelper.h"
#include "rgscanfactory.h"
-const GeneralProperties RGScanFactory::properties() const
+GeneralProperties RGScanFactory::properties() const
{
GeneralProperties properties;
properties.name = tr("ReplayGain Scanner Plugin");
properties.shortName = "rgscan";
- properties.translation = QLatin1String(":/rgscan_plugin_");
properties.hasAbout = true;
properties.hasSettings = false;
properties.visibilityControl = false;
@@ -57,3 +56,8 @@ void RGScanFactory::showAbout(QWidget *parent)
tr("Frank Klemm"));
}
+
+QString RGScanFactory::translation() const
+{
+ return QLatin1String(":/rgscan_plugin_");
+}
diff --git a/src/plugins/General/rgscan/rgscanfactory.h b/src/plugins/General/rgscan/rgscanfactory.h
index 63c900b7d..e6f3aa7ed 100644
--- a/src/plugins/General/rgscan/rgscanfactory.h
+++ b/src/plugins/General/rgscan/rgscanfactory.h
@@ -34,10 +34,11 @@ Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qmmp.qmmpui.GeneralFactoryInterface.1.0")
Q_INTERFACES(GeneralFactory)
public:
- const GeneralProperties properties() const;
+ GeneralProperties properties() const;
QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
+ QString translation() const;
};
#endif