aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/converter
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/converter')
-rw-r--r--src/plugins/General/converter/converterfactory.cpp8
-rw-r--r--src/plugins/General/converter/converterfactory.h3
2 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/General/converter/converterfactory.cpp b/src/plugins/General/converter/converterfactory.cpp
index 0254cda82..c48deae30 100644
--- a/src/plugins/General/converter/converterfactory.cpp
+++ b/src/plugins/General/converter/converterfactory.cpp
@@ -22,12 +22,11 @@
#include "converterhelper.h"
#include "converterfactory.h"
-const GeneralProperties ConverterFactory::properties() const
+GeneralProperties ConverterFactory::properties() const
{
GeneralProperties properties;
properties.name = tr("Converter Plugin");
properties.shortName = "converter";
- properties.translation = QLatin1String(":/converter_plugin_");
properties.hasAbout = true;
properties.hasSettings = false;
properties.visibilityControl = false;
@@ -53,3 +52,8 @@ void ConverterFactory::showAbout(QWidget *parent)
"using external command-line encoders") +"\n"+
tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
}
+
+QString ConverterFactory::translation() const
+{
+ return QLatin1String(":/converter_plugin_");
+}
diff --git a/src/plugins/General/converter/converterfactory.h b/src/plugins/General/converter/converterfactory.h
index 83a7f3bf3..280a9825c 100644
--- a/src/plugins/General/converter/converterfactory.h
+++ b/src/plugins/General/converter/converterfactory.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