aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hal/halfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hal/halfactory.cpp')
-rw-r--r--src/plugins/General/hal/halfactory.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/General/hal/halfactory.cpp b/src/plugins/General/hal/halfactory.cpp
index 6046ba105..400e2caa0 100644
--- a/src/plugins/General/hal/halfactory.cpp
+++ b/src/plugins/General/hal/halfactory.cpp
@@ -24,12 +24,11 @@
#include "halplugin.h"
#include "halfactory.h"
-const GeneralProperties HalFactory::properties() const
+GeneralProperties HalFactory::properties() const
{
GeneralProperties properties;
properties.name = tr("HAL Plugin");
properties.shortName = "hal";
- properties.translation = QLatin1String(":/hal_plugin_");
properties.hasAbout = true;
properties.hasSettings = true;
properties.visibilityControl = false;
@@ -54,3 +53,8 @@ void HalFactory::showAbout(QWidget *parent)
tr("Written by: Ilya Kotov <forkotov02@ya.ru>") + "\n" +
tr("Based on Solid (KDE hardware library)"));
}
+
+QString HalFactory::translation() const
+{
+ return QLatin1String(":/hal_plugin_");
+}