aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Effect/soxr
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
commit2111b82728e37a649539076ee4e9fc83103f196b (patch)
tree502932f709108cd76ae393a4904e460c5dd57d0a /src/plugins/Effect/soxr
parent6ca203336305da1b2f8b45e4dca647153da49e3c (diff)
downloadqmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.gz
qmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.bz2
qmmp-2111b82728e37a649539076ee4e9fc83103f196b.zip
changed translation api again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Effect/soxr')
-rw-r--r--src/plugins/Effect/soxr/effectsoxrfactory.cpp8
-rw-r--r--src/plugins/Effect/soxr/effectsoxrfactory.h1
2 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/Effect/soxr/effectsoxrfactory.cpp b/src/plugins/Effect/soxr/effectsoxrfactory.cpp
index afdaf044c..832a25adc 100644
--- a/src/plugins/Effect/soxr/effectsoxrfactory.cpp
+++ b/src/plugins/Effect/soxr/effectsoxrfactory.cpp
@@ -29,7 +29,6 @@ const EffectProperties EffectSoXRFactory::properties() const
EffectProperties properties;
properties.name = tr("SoX Resampler Plugin");
properties.shortName = "soxr";
- properties.translation = QLatin1String(":/soxr_plugin_");
properties.hasSettings = true;
properties.hasAbout = true;
properties.priority = EffectProperties::EFFECT_PRIORITY_HIGH;
@@ -51,5 +50,10 @@ void EffectSoXRFactory::showAbout(QWidget *parent)
{
QMessageBox::about (parent, tr("About SoX Resampler Plugin"),
tr("Qmmp SoX Resampler Plugin")+"\n"+
- tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
+ tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
+}
+
+QString EffectSoXRFactory::translation() const
+{
+ return QLatin1String(":/soxr_plugin_");
}
diff --git a/src/plugins/Effect/soxr/effectsoxrfactory.h b/src/plugins/Effect/soxr/effectsoxrfactory.h
index f4d670d50..5300336d6 100644
--- a/src/plugins/Effect/soxr/effectsoxrfactory.h
+++ b/src/plugins/Effect/soxr/effectsoxrfactory.h
@@ -38,6 +38,7 @@ public:
Effect *create();
void showSettings(QWidget *parent);
void showAbout(QWidget *parent);
+ QString translation() const;
};