aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-09-13 16:38:23 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-09-13 16:38:23 +0000
commit9408303fad1efd3b889f7677dd255b9437276cfc (patch)
tree0657a5fd272ab0eb8469626d059e9d1f9f560238 /src
parentd0e1f9e4e1e44dbe3372a6cdb621bf0ee9baa668 (diff)
downloadqmmp-9408303fad1efd3b889f7677dd255b9437276cfc.tar.gz
qmmp-9408303fad1efd3b889f7677dd255b9437276cfc.tar.bz2
qmmp-9408303fad1efd3b889f7677dd255b9437276cfc.zip
fixed general plugin api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2351 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/plugins/General/covermanager/covermanager.cpp2
-rw-r--r--src/plugins/General/covermanager/covermanager.h4
-rw-r--r--src/plugins/General/covermanager/covermanagerfactory.cpp4
-rw-r--r--src/plugins/General/covermanager/covermanagerfactory.h6
-rw-r--r--src/plugins/General/fileops/fileops.cpp3
-rw-r--r--src/plugins/General/fileops/fileops.h4
-rw-r--r--src/plugins/General/fileops/fileopsfactory.cpp4
-rw-r--r--src/plugins/General/fileops/fileopsfactory.h6
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_cs.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_de.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_es.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_it.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_ja.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_lt.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_nl.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_pl.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_ru.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_tr.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_uk_UA.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_zh_CN.ts14
-rw-r--r--src/plugins/General/fileops/translations/fileops_plugin_zh_TW.ts14
-rw-r--r--src/plugins/General/hal/halfactory.cpp4
-rw-r--r--src/plugins/General/hal/halfactory.h6
-rw-r--r--src/plugins/General/hal/halplugin.cpp6
-rw-r--r--src/plugins/General/hal/halplugin.h6
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_cs.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_de.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_es.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_it.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_ja.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_lt.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_nl.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_pl.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_ru.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_tr.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_uk_UA.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_zh_CN.ts4
-rw-r--r--src/plugins/General/hal/translations/hal_plugin_zh_TW.ts4
-rw-r--r--src/plugins/General/hotkey/hotkeyfactory.cpp4
-rw-r--r--src/plugins/General/hotkey/hotkeyfactory.h6
-rw-r--r--src/plugins/General/hotkey/hotkeymanager.cpp4
-rw-r--r--src/plugins/General/hotkey/hotkeymanager.h4
-rw-r--r--src/plugins/General/kdenotify/kdenotify.cpp4
-rw-r--r--src/plugins/General/kdenotify/kdenotify.h4
-rw-r--r--src/plugins/General/kdenotify/kdenotifyfactory.cpp2
-rw-r--r--src/plugins/General/kdenotify/kdenotifyfactory.h4
-rw-r--r--src/plugins/General/lyrics/lyrics.cpp6
-rw-r--r--src/plugins/General/lyrics/lyrics.h6
-rw-r--r--src/plugins/General/lyrics/lyricsfactory.cpp2
-rw-r--r--src/plugins/General/lyrics/lyricsfactory.h10
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_cs.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_de.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_es.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_it.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_ja.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_lt.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_nl.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_pl.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_ru.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_tr.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_uk_UA.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_zh_CN.ts4
-rw-r--r--src/plugins/General/lyrics/translations/lyrics_plugin_zh_TW.ts4
-rw-r--r--src/plugins/General/mpris/mpris.cpp2
-rw-r--r--src/plugins/General/mpris/mpris.h6
-rw-r--r--src/plugins/General/mpris/mprisfactory.cpp4
-rw-r--r--src/plugins/General/mpris/mprisfactory.h6
-rw-r--r--src/plugins/General/notifier/notifier.cpp3
-rw-r--r--src/plugins/General/notifier/notifier.h6
-rw-r--r--src/plugins/General/notifier/notifierfactory.cpp4
-rw-r--r--src/plugins/General/notifier/notifierfactory.h6
-rw-r--r--src/plugins/General/scrobbler/scrobblerfactory.cpp4
-rw-r--r--src/plugins/General/scrobbler/scrobblerfactory.h6
-rw-r--r--src/plugins/General/scrobbler/scrobblerhandler.cpp4
-rw-r--r--src/plugins/General/scrobbler/scrobblerhandler.h2
-rw-r--r--src/plugins/General/statusicon/statusicon.cpp3
-rw-r--r--src/plugins/General/statusicon/statusicon.h4
-rw-r--r--src/plugins/General/statusicon/statusiconfactory.cpp4
-rw-r--r--src/plugins/General/statusicon/statusiconfactory.h6
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_cs.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_de.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_es.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_it.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_ja.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_lt.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_nl.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_pl.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_ru.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_tr.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_uk_UA.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_zh_CN.ts14
-rw-r--r--src/plugins/General/statusicon/translations/statusicon_plugin_zh_TW.ts14
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_cs.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_de.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_es.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_it.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_ja.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_lt.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_nl.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_pl.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_ru.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_tr.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_uk_UA.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_zh_CN.ts4
-rw-r--r--src/plugins/General/udisks/translations/udisks_plugin_zh_TW.ts4
-rw-r--r--src/plugins/General/udisks/udisksfactory.cpp2
-rw-r--r--src/plugins/General/udisks/udisksfactory.h4
-rw-r--r--src/plugins/General/udisks/udisksplugin.cpp3
-rw-r--r--src/plugins/General/udisks/udisksplugin.h4
-rw-r--r--src/qmmpui/general.cpp20
-rw-r--r--src/qmmpui/general.h21
-rw-r--r--src/qmmpui/generalfactory.h6
112 files changed, 365 insertions, 396 deletions
diff --git a/src/plugins/General/covermanager/covermanager.cpp b/src/plugins/General/covermanager/covermanager.cpp
index 528c6c18d..60ef2ef6a 100644
--- a/src/plugins/General/covermanager/covermanager.cpp
+++ b/src/plugins/General/covermanager/covermanager.cpp
@@ -30,7 +30,7 @@
#include "coverwidget.h"
#include "covermanager.h"
-CoverManager::CoverManager(QObject *parent) : General(parent)
+CoverManager::CoverManager(QObject *parent) : QObject(parent)
{
m_action = new QAction(tr("Show Cover"), this);
m_action->setShortcut(tr("Ctrl+M"));
diff --git a/src/plugins/General/covermanager/covermanager.h b/src/plugins/General/covermanager/covermanager.h
index a235faa54..7bf5b9075 100644
--- a/src/plugins/General/covermanager/covermanager.h
+++ b/src/plugins/General/covermanager/covermanager.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2010 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -29,7 +29,7 @@ class QAction;
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class CoverManager : public General
+class CoverManager : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/covermanager/covermanagerfactory.cpp b/src/plugins/General/covermanager/covermanagerfactory.cpp
index 126b76bbe..3f3a6271f 100644
--- a/src/plugins/General/covermanager/covermanagerfactory.cpp
+++ b/src/plugins/General/covermanager/covermanagerfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -34,7 +34,7 @@ const GeneralProperties CoverManagerFactory::properties() const
return properties;
}
-General *CoverManagerFactory::create(QObject *parent)
+QObject *CoverManagerFactory::create(QObject *parent)
{
return new CoverManager(parent);
}
diff --git a/src/plugins/General/covermanager/covermanagerfactory.h b/src/plugins/General/covermanager/covermanagerfactory.h
index 5c825a574..143a38705 100644
--- a/src/plugins/General/covermanager/covermanagerfactory.h
+++ b/src/plugins/General/covermanager/covermanagerfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,10 +32,10 @@
class CoverManagerFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/fileops/fileops.cpp b/src/plugins/General/fileops/fileops.cpp
index e661b646c..83896e6b5 100644
--- a/src/plugins/General/fileops/fileops.cpp
+++ b/src/plugins/General/fileops/fileops.cpp
@@ -37,8 +37,7 @@
#define COPY_BLOCK_SIZE 102400
-FileOps::FileOps(QObject *parent)
- : General(parent)
+FileOps::FileOps(QObject *parent) : QObject(parent)
{
//separators
QAction *separator1 = new QAction(this);
diff --git a/src/plugins/General/fileops/fileops.h b/src/plugins/General/fileops/fileops.h
index 1ba862308..ad261df9e 100644
--- a/src/plugins/General/fileops/fileops.h
+++ b/src/plugins/General/fileops/fileops.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2010 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -31,7 +31,7 @@ class PlayListItem;
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class FileOps : public General
+class FileOps : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/fileops/fileopsfactory.cpp b/src/plugins/General/fileops/fileopsfactory.cpp
index 606eec457..028b18e42 100644
--- a/src/plugins/General/fileops/fileopsfactory.cpp
+++ b/src/plugins/General/fileops/fileopsfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -35,7 +35,7 @@ const GeneralProperties FileOpsFactory::properties() const
return properties;
}
-General *FileOpsFactory::create(QObject *parent)
+QObject *FileOpsFactory::create(QObject *parent)
{
return new FileOps(parent);
}
diff --git a/src/plugins/General/fileops/fileopsfactory.h b/src/plugins/General/fileops/fileopsfactory.h
index 6b0665be3..ebf9177c8 100644
--- a/src/plugins/General/fileops/fileopsfactory.h
+++ b/src/plugins/General/fileops/fileopsfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -33,10 +33,10 @@
class FileOpsFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_cs.ts b/src/plugins/General/fileops/translations/fileops_plugin_cs.ts
index 682d991b3..ebb988c19 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_cs.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_cs.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Chyba</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Cílový adresář neexistuje</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Kopíruje se</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Přerušit</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Kopíruje se soubor %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Odstranit soubory</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Jste si jisti, že chcete z disku odstranit %n soubor?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_de.ts b/src/plugins/General/fileops/translations/fileops_plugin_de.ts
index 4dc416e12..41d13b8a0 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_de.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_de.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Das Zielverzeichnis existiert nicht</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Kopiere</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Stopp</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Datei %1/%2 wird kopiert</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Dateien entfernen</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Möchten Sie wirklich %n Datei von der Festplatte entfernen?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_es.ts b/src/plugins/General/fileops/translations/fileops_plugin_es.ts
index 35b63c7e7..8d10c699a 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_es.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_es.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>El directorio de destino no existe</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Copiando</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Detener</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Copiando archivo %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Eliminar archivos</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation type="unfinished">
<numerusform>¿Seguro que quiere eliminar %n archivo(s) del disco?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_it.ts b/src/plugins/General/fileops/translations/fileops_plugin_it.ts
index ba7758fe1..22fd5b00f 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_it.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_it.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Cartella di destinazione</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Copia</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Ferma</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Copia del file</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Rimuovi file</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Vuoi davvero rimuovere %n file(s) dal disco?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_ja.ts b/src/plugins/General/fileops/translations/fileops_plugin_ja.ts
index 62f8dffa1..d9022c88c 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_ja.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_ja.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>事故</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>移動先ディレクトリが存在しません</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>コピーしています</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>中止</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>%1/%2 ファイルをコピーしています</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>ファイルを削除</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>%n 個のファイルをディスク上から削除しようとしています。 よろしいですか?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_lt.ts b/src/plugins/General/fileops/translations/fileops_plugin_lt.ts
index 4af39f554..028cf85e2 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_lt.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_lt.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Klaida</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Aplankas neegzistuoja</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Kopijuoju</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Stop</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Kopijuoju bylą %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Ištrinti bylas</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Ar tu tikras, jog nori ištrinti %n bylą(as) iš disko?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_nl.ts b/src/plugins/General/fileops/translations/fileops_plugin_nl.ts
index 5a3172463..8b6054f56 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_nl.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_nl.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Fout</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Doelmap bestaat niet</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Bezig met kopiëren</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Stop</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Kopiëer bestand: %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Verwijder bestanden</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Weet u zeker dat u deze %n bestanden wilt verwijderen?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_pl.ts b/src/plugins/General/fileops/translations/fileops_plugin_pl.ts
index a770574eb..f56a6f4cd 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_pl.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_pl.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Błąd</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Katalog docelowy nie istnieje</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Kopiowanie</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation></translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Kopiowanie pliku %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Usuń pliki</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Czy napewno chcesz usunąć %n plik(ów) z dysku?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_ru.ts b/src/plugins/General/fileops/translations/fileops_plugin_ru.ts
index 82a900e6b..f85e0aec5 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_ru.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_ru.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Ошибка</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Директория назначения не существует</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Копирование</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Остановить</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Копирование файла %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Удалить файлы</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Вы уверены, что хотите удалить %n файл с диска?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_tr.ts b/src/plugins/General/fileops/translations/fileops_plugin_tr.ts
index 933914679..14c07ed31 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_tr.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_tr.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Hata</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Hedef dizin mevcut değil</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Kopyalıyor</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Dur</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>%1/%2 dosyası kopyalanıyor</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Dosyaları kaldır</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation type="unfinished">
<numerusform></numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_uk_UA.ts b/src/plugins/General/fileops/translations/fileops_plugin_uk_UA.ts
index 94543deef..079085b50 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_uk_UA.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_uk_UA.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>Помилка</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>Тека призначення не існує</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>Копіювання</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>Зупинити</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>Копіювання файла %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>Видалити файли</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>Ви дійсно бажаєте видалити %n файл з диску?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_zh_CN.ts b/src/plugins/General/fileops/translations/fileops_plugin_zh_CN.ts
index 5ab4e8782..283e790e7 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_zh_CN.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_zh_CN.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>错误</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>目标目录不存在</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>正在复制</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>停止</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>正在复制文件 %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>删除文件</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>你确认要从磁盘中删除 %n 文件?</numerusform>
diff --git a/src/plugins/General/fileops/translations/fileops_plugin_zh_TW.ts b/src/plugins/General/fileops/translations/fileops_plugin_zh_TW.ts
index 459ae292f..aa94cf61d 100644
--- a/src/plugins/General/fileops/translations/fileops_plugin_zh_TW.ts
+++ b/src/plugins/General/fileops/translations/fileops_plugin_zh_TW.ts
@@ -4,37 +4,37 @@
<context>
<name>FileOps</name>
<message>
- <location filename="../fileops.cpp" line="98"/>
+ <location filename="../fileops.cpp" line="97"/>
<source>Error</source>
<translation>錯誤</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="99"/>
+ <location filename="../fileops.cpp" line="98"/>
<source>Destination directory doesn&apos;t exist</source>
<translation>目標目錄早已存在</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="104"/>
+ <location filename="../fileops.cpp" line="103"/>
<source>Copying</source>
<translation>正在復制</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="105"/>
+ <location filename="../fileops.cpp" line="104"/>
<source>Stop</source>
<translation>停止</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="146"/>
+ <location filename="../fileops.cpp" line="145"/>
<source>Copying file %1/%2</source>
<translation>復制檔案 %1/%2</translation>
</message>
<message>
- <location filename="../fileops.cpp" line="189"/>
+ <location filename="../fileops.cpp" line="188"/>
<source>Remove files</source>
<translation>刪除檔案</translation>
</message>
<message numerus="yes">
- <location filename="../fileops.cpp" line="190"/>
+ <location filename="../fileops.cpp" line="189"/>
<source>Are you sure you want to remove %n file(s) from disk?</source>
<translation>
<numerusform>你確認要從磁盤中刪除%n文件?</numerusform>
diff --git a/src/plugins/General/hal/halfactory.cpp b/src/plugins/General/hal/halfactory.cpp
index 8e7014e50..6820ed5f3 100644
--- a/src/plugins/General/hal/halfactory.cpp
+++ b/src/plugins/General/hal/halfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -35,7 +35,7 @@ const GeneralProperties HalFactory::properties() const
return properties;
}
-General *HalFactory::create(QObject *parent)
+QObject *HalFactory::create(QObject *parent)
{
return new HalPlugin(parent);
}
diff --git a/src/plugins/General/hal/halfactory.h b/src/plugins/General/hal/halfactory.h
index 632cf9f5e..744cd1683 100644
--- a/src/plugins/General/hal/halfactory.h
+++ b/src/plugins/General/hal/halfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,10 +32,10 @@
class HalFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/hal/halplugin.cpp b/src/plugins/General/hal/halplugin.cpp
index c500ae2b4..876de9761 100644
--- a/src/plugins/General/hal/halplugin.cpp
+++ b/src/plugins/General/hal/halplugin.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -31,8 +31,7 @@
#include "halmanager.h"
#include "halplugin.h"
-HalPlugin::HalPlugin(QObject *parent)
- : General(parent)
+HalPlugin::HalPlugin(QObject *parent) : QObject(parent)
{
m_manager = new HalManager(this);
m_actions = new QActionGroup(this);
@@ -58,7 +57,6 @@ HalPlugin::HalPlugin(QObject *parent)
settings.endGroup();
}
-
HalPlugin::~HalPlugin()
{
}
diff --git a/src/plugins/General/hal/halplugin.h b/src/plugins/General/hal/halplugin.h
index cd90046a2..bb236f746 100644
--- a/src/plugins/General/hal/halplugin.h
+++ b/src/plugins/General/hal/halplugin.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -29,10 +29,10 @@ class QActionGroup;
class QAction;
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class HalPlugin : public General
+class HalPlugin : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/hal/translations/hal_plugin_cs.ts b/src/plugins/General/hal/translations/hal_plugin_cs.ts
index 94a835847..2e69aa95a 100644
--- a/src/plugins/General/hal/translations/hal_plugin_cs.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_cs.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Přidat CD „%1“</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Přidat svazek „%1“</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_de.ts b/src/plugins/General/hal/translations/hal_plugin_de.ts
index 46c29f36a..bbff7e1c0 100644
--- a/src/plugins/General/hal/translations/hal_plugin_de.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_de.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>CD „%1“ hinzufügen</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Gerät „%1“ hinzufügen</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_es.ts b/src/plugins/General/hal/translations/hal_plugin_es.ts
index a3361dd8b..f8e1e26dd 100644
--- a/src/plugins/General/hal/translations/hal_plugin_es.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_es.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Añadir CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Añadir volumen &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_it.ts b/src/plugins/General/hal/translations/hal_plugin_it.ts
index 9b619b59a..64688a491 100644
--- a/src/plugins/General/hal/translations/hal_plugin_it.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_it.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Aggiungi CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Aggiungi libreria &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_ja.ts b/src/plugins/General/hal/translations/hal_plugin_ja.ts
index 9878516ab..49a48af4a 100644
--- a/src/plugins/General/hal/translations/hal_plugin_ja.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_ja.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Cd &quot;%1&quot; を追加</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>量目 &quot;%1&quot; を追加</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_lt.ts b/src/plugins/General/hal/translations/hal_plugin_lt.ts
index 8538581bb..c2e489462 100644
--- a/src/plugins/General/hal/translations/hal_plugin_lt.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_lt.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Pridėti CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Pridėti tomą &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_nl.ts b/src/plugins/General/hal/translations/hal_plugin_nl.ts
index 287e1c04c..85d35303d 100644
--- a/src/plugins/General/hal/translations/hal_plugin_nl.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_nl.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Voeg CD &quot;%1&quot; toe</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Voeg Station &quot;%1&quot; toe</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_pl.ts b/src/plugins/General/hal/translations/hal_plugin_pl.ts
index df733a2cd..301e9efc2 100644
--- a/src/plugins/General/hal/translations/hal_plugin_pl.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_pl.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Dodaj CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Dodaj urządzenie &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_ru.ts b/src/plugins/General/hal/translations/hal_plugin_ru.ts
index b516aadbd..766b24988 100644
--- a/src/plugins/General/hal/translations/hal_plugin_ru.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_ru.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Добавить CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Добавить том &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_tr.ts b/src/plugins/General/hal/translations/hal_plugin_tr.ts
index b1cc55e2a..cb39fb2df 100644
--- a/src/plugins/General/hal/translations/hal_plugin_tr.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_tr.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>CD &quot;%1&quot; Ekle</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>&quot;%1&quot; Aygıtını Ekle</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_uk_UA.ts b/src/plugins/General/hal/translations/hal_plugin_uk_UA.ts
index bf9db94a4..8553f3d2e 100644
--- a/src/plugins/General/hal/translations/hal_plugin_uk_UA.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_uk_UA.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Додати CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Додати том &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_zh_CN.ts b/src/plugins/General/hal/translations/hal_plugin_zh_CN.ts
index 659ad10b4..25ef32d0d 100644
--- a/src/plugins/General/hal/translations/hal_plugin_zh_CN.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_zh_CN.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>添加 CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>添加卷 &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hal/translations/hal_plugin_zh_TW.ts b/src/plugins/General/hal/translations/hal_plugin_zh_TW.ts
index dfd701863..0d373c36d 100644
--- a/src/plugins/General/hal/translations/hal_plugin_zh_TW.ts
+++ b/src/plugins/General/hal/translations/hal_plugin_zh_TW.ts
@@ -37,12 +37,12 @@
<context>
<name>HalPlugin</name>
<message>
- <location filename="../halplugin.cpp" line="162"/>
+ <location filename="../halplugin.cpp" line="160"/>
<source>Add CD &quot;%1&quot;</source>
<translation>添加 CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../halplugin.cpp" line="168"/>
+ <location filename="../halplugin.cpp" line="166"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>添加卷 &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/hotkey/hotkeyfactory.cpp b/src/plugins/General/hotkey/hotkeyfactory.cpp
index 423437892..34922d739 100644
--- a/src/plugins/General/hotkey/hotkeyfactory.cpp
+++ b/src/plugins/General/hotkey/hotkeyfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -35,7 +35,7 @@ const GeneralProperties HotkeyFactory::properties() const
return properties;
}
-General *HotkeyFactory::create(QObject *parent)
+QObject *HotkeyFactory::create(QObject *parent)
{
return new HotkeyManager(parent);
}
diff --git a/src/plugins/General/hotkey/hotkeyfactory.h b/src/plugins/General/hotkey/hotkeyfactory.h
index f1ca46d1f..e00aa7f30 100644
--- a/src/plugins/General/hotkey/hotkeyfactory.h
+++ b/src/plugins/General/hotkey/hotkeyfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,10 +32,10 @@
class HotkeyFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/hotkey/hotkeymanager.cpp b/src/plugins/General/hotkey/hotkeymanager.cpp
index 6a6b3b685..212601a7b 100644
--- a/src/plugins/General/hotkey/hotkeymanager.cpp
+++ b/src/plugins/General/hotkey/hotkeymanager.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* Copyright (C) 2003-2007 by Justin Karneges and Michail Pishchagin *
@@ -69,7 +69,7 @@ quint32 Hotkey::defaultKey(int act)
return keyMap[act];
}
-HotkeyManager::HotkeyManager(QObject *parent) : General(parent)
+HotkeyManager::HotkeyManager(QObject *parent) : QObject(parent)
{
QCoreApplication::instance()->installEventFilter(this);
WId rootWindow = QX11Info::appRootWindow();
diff --git a/src/plugins/General/hotkey/hotkeymanager.h b/src/plugins/General/hotkey/hotkeymanager.h
index dddb10a9e..793bb74d9 100644
--- a/src/plugins/General/hotkey/hotkeymanager.h
+++ b/src/plugins/General/hotkey/hotkeymanager.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -63,7 +63,7 @@ public:
static quint32 defaultKey(int act);
};
-class HotkeyManager : public General
+class HotkeyManager : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/kdenotify/kdenotify.cpp b/src/plugins/General/kdenotify/kdenotify.cpp
index d1d196362..9f5e648e5 100644
--- a/src/plugins/General/kdenotify/kdenotify.cpp
+++ b/src/plugins/General/kdenotify/kdenotify.cpp
@@ -36,7 +36,7 @@
#include "kdenotify.h"
-KdeNotify::KdeNotify(QObject *parent) : General(parent),m_useFreedesktopSpec(false)
+KdeNotify::KdeNotify(QObject *parent) : QObject(parent),m_useFreedesktopSpec(false)
{
m_notifier = new QDBusInterface("org.kde.VisualNotifications",
"/VisualNotifications", "org.kde.VisualNotifications",
@@ -44,7 +44,7 @@ KdeNotify::KdeNotify(QObject *parent) : General(parent),m_useFreedesktopSpec(fal
if(m_notifier->lastError().type() != QDBusError::NoError)
{
delete(m_notifier);
- m_notifier = new QDBusInterface("org.freedesktop.Notifications",
+ m_notifier = new QDBusInterface("org.freedesktop.Notifications",
"/org/freedesktop/Notifications","org.freedesktop.Notifications",
QDBusConnection::sessionBus(), this);
if(m_notifier->lastError().type() != QDBusError::NoError)
diff --git a/src/plugins/General/kdenotify/kdenotify.h b/src/plugins/General/kdenotify/kdenotify.h
index d6c4d7300..06b559938 100644
--- a/src/plugins/General/kdenotify/kdenotify.h
+++ b/src/plugins/General/kdenotify/kdenotify.h
@@ -32,9 +32,9 @@
class QDBusInterface;
-class KdeNotify : public General
+class KdeNotify : public QObject
{
- Q_OBJECT;
+ Q_OBJECT
public:
KdeNotify(QObject *parent = 0);
~KdeNotify();
diff --git a/src/plugins/General/kdenotify/kdenotifyfactory.cpp b/src/plugins/General/kdenotify/kdenotifyfactory.cpp
index 59fca89b7..abd2ca214 100644
--- a/src/plugins/General/kdenotify/kdenotifyfactory.cpp
+++ b/src/plugins/General/kdenotify/kdenotifyfactory.cpp
@@ -35,7 +35,7 @@ const GeneralProperties KdeNotifyFactory::properties() const
return properties;
}
-General *KdeNotifyFactory::create(QObject *parent)
+QObject *KdeNotifyFactory::create(QObject *parent)
{
return new KdeNotify(parent);
}
diff --git a/src/plugins/General/kdenotify/kdenotifyfactory.h b/src/plugins/General/kdenotify/kdenotifyfactory.h
index b9d5634eb..f4c9ea238 100644
--- a/src/plugins/General/kdenotify/kdenotifyfactory.h
+++ b/src/plugins/General/kdenotify/kdenotifyfactory.h
@@ -30,11 +30,11 @@
class KdeNotifyFactory : public QObject, public GeneralFactory
{
- Q_OBJECT;
+ Q_OBJECT
Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/lyrics/lyrics.cpp b/src/plugins/General/lyrics/lyrics.cpp
index e3fe003c3..f38787ded 100644
--- a/src/plugins/General/lyrics/lyrics.cpp
+++ b/src/plugins/General/lyrics/lyrics.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -20,7 +20,6 @@
#include <QAction>
#include <QApplication>
-
#include <qmmp/soundcore.h>
#include <qmmpui/uihelper.h>
#include <qmmpui/playlistmanager.h>
@@ -29,8 +28,7 @@
#include "lyricswindow.h"
#include "lyrics.h"
-Lyrics::Lyrics(QObject *parent)
- : General(parent)
+Lyrics::Lyrics(QObject *parent) : QObject(parent)
{
m_action = new QAction(tr("View Lyrics"), this);
m_action->setShortcut(tr("Ctrl+L"));
diff --git a/src/plugins/General/lyrics/lyrics.h b/src/plugins/General/lyrics/lyrics.h
index 1fdd6ebfe..95f637d4e 100644
--- a/src/plugins/General/lyrics/lyrics.h
+++ b/src/plugins/General/lyrics/lyrics.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -30,10 +30,10 @@ class QAction;
class SoundCore;
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class Lyrics : public General
+class Lyrics : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/lyrics/lyricsfactory.cpp b/src/plugins/General/lyrics/lyricsfactory.cpp
index 2a4f16143..1cdd01584 100644
--- a/src/plugins/General/lyrics/lyricsfactory.cpp
+++ b/src/plugins/General/lyrics/lyricsfactory.cpp
@@ -34,7 +34,7 @@ const GeneralProperties LyricsFactory::properties() const
return properties;
}
-General *LyricsFactory::create(QObject *parent)
+QObject *LyricsFactory::create(QObject *parent)
{
return new Lyrics(parent);
}
diff --git a/src/plugins/General/lyrics/lyricsfactory.h b/src/plugins/General/lyrics/lyricsfactory.h
index 67bdccac6..9b90135ab 100644
--- a/src/plugins/General/lyrics/lyricsfactory.h
+++ b/src/plugins/General/lyrics/lyricsfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -17,8 +17,8 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#ifndef NOTIFIERFACTORY_H
-#define NOTIFIERFACTORY_H
+#ifndef CONVERTERFACTORY_H
+#define CONVERTERFACTORY_H
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
@@ -33,10 +33,10 @@
class LyricsFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_cs.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_cs.ts
index e4377067b..bcbe2c244 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_cs.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_cs.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Zobrazit text</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_de.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_de.ts
index 0d683358d..7d65effc2 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_de.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_de.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Liedtext anzeigen</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Strg+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_es.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_es.ts
index 77a62fe90..fdf18a28c 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_es.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_es.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Ver letras</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_it.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_it.ts
index 3a09e69c8..90452067d 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_it.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_it.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Vedi testi lirica</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_ja.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_ja.ts
index 5b41ef477..37a679a9a 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_ja.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_ja.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>歌詞を表示</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_lt.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_lt.ts
index be97df4ec..fb1e8c9b1 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_lt.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_lt.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Rodyti tekstą</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation type="unfinished"></translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_nl.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_nl.ts
index 1fcf9c608..8aeae8fda 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_nl.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_nl.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Laat Tekst zien</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_pl.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_pl.ts
index a618baf93..c4b945934 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_pl.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_pl.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Pokaż tekst piosenki</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation></translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_ru.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_ru.ts
index 0261df293..78cb6c5a5 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_ru.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_ru.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Показать текст</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation type="unfinished"></translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_tr.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_tr.ts
index 11f77b6dd..00c4111f3 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_tr.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_tr.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Şarkı Sözlerini Göster</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_uk_UA.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_uk_UA.ts
index 4b6f2ac32..db458d142 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_uk_UA.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_uk_UA.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>Огляд текстів</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation></translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_zh_CN.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_zh_CN.ts
index c4dae511f..6f0042d5c 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_zh_CN.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_zh_CN.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>显示歌词</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/lyrics/translations/lyrics_plugin_zh_TW.ts b/src/plugins/General/lyrics/translations/lyrics_plugin_zh_TW.ts
index ee44bed11..6a5bc76c7 100644
--- a/src/plugins/General/lyrics/translations/lyrics_plugin_zh_TW.ts
+++ b/src/plugins/General/lyrics/translations/lyrics_plugin_zh_TW.ts
@@ -4,12 +4,12 @@
<context>
<name>Lyrics</name>
<message>
- <location filename="../lyrics.cpp" line="35"/>
+ <location filename="../lyrics.cpp" line="33"/>
<source>View Lyrics</source>
<translation>察看歌詞</translation>
</message>
<message>
- <location filename="../lyrics.cpp" line="36"/>
+ <location filename="../lyrics.cpp" line="34"/>
<source>Ctrl+L</source>
<translation>Ctrl+L</translation>
</message>
diff --git a/src/plugins/General/mpris/mpris.cpp b/src/plugins/General/mpris/mpris.cpp
index 61caaae64..c45bb44c5 100644
--- a/src/plugins/General/mpris/mpris.cpp
+++ b/src/plugins/General/mpris/mpris.cpp
@@ -26,7 +26,7 @@
#include "mpris2/player2object.h"
#include "mpris.h"
-MPRIS::MPRIS(QObject *parent) : General(parent)
+MPRIS::MPRIS(QObject *parent) : QObject(parent)
{
QDBusConnection connection = QDBusConnection::sessionBus();
//MPRISv1.0
diff --git a/src/plugins/General/mpris/mpris.h b/src/plugins/General/mpris/mpris.h
index 370809da7..1cab01efe 100644
--- a/src/plugins/General/mpris/mpris.h
+++ b/src/plugins/General/mpris/mpris.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -26,10 +26,10 @@
class DBUSAdaptor;
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class MPRIS : public General
+class MPRIS : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/mpris/mprisfactory.cpp b/src/plugins/General/mpris/mprisfactory.cpp
index 079f3b674..a13f62d23 100644
--- a/src/plugins/General/mpris/mprisfactory.cpp
+++ b/src/plugins/General/mpris/mprisfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -34,7 +34,7 @@ const GeneralProperties MPRISFactory::properties() const
return properties;
}
-General *MPRISFactory::create(QObject *parent)
+QObject *MPRISFactory::create(QObject *parent)
{
return new MPRIS(parent);
}
diff --git a/src/plugins/General/mpris/mprisfactory.h b/src/plugins/General/mpris/mprisfactory.h
index 27708dd6e..38d1b66ed 100644
--- a/src/plugins/General/mpris/mprisfactory.h
+++ b/src/plugins/General/mpris/mprisfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,10 +32,10 @@
class MPRISFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/notifier/notifier.cpp b/src/plugins/General/notifier/notifier.cpp
index 9b1cf5de6..be414c9a6 100644
--- a/src/plugins/General/notifier/notifier.cpp
+++ b/src/plugins/General/notifier/notifier.cpp
@@ -27,8 +27,7 @@
#include "popupwidget.h"
#include "notifier.h"
-Notifier::Notifier(QObject *parent)
- : General(parent)
+Notifier::Notifier(QObject *parent) : QObject(parent)
{
m_popupWidget = 0;
m_l = -1;
diff --git a/src/plugins/General/notifier/notifier.h b/src/plugins/General/notifier/notifier.h
index d9cbb7faf..2f3d433ed 100644
--- a/src/plugins/General/notifier/notifier.h
+++ b/src/plugins/General/notifier/notifier.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -29,10 +29,10 @@ class PopupWidget;
class SoundCore;
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class Notifier : public General
+class Notifier : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/notifier/notifierfactory.cpp b/src/plugins/General/notifier/notifierfactory.cpp
index e3ba30fea..63fff569f 100644
--- a/src/plugins/General/notifier/notifierfactory.cpp
+++ b/src/plugins/General/notifier/notifierfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -35,7 +35,7 @@ const GeneralProperties NotifierFactory::properties() const
return properties;
}
-General *NotifierFactory::create(QObject *parent)
+QObject *NotifierFactory::create(QObject *parent)
{
return new Notifier(parent);
}
diff --git a/src/plugins/General/notifier/notifierfactory.h b/src/plugins/General/notifier/notifierfactory.h
index 68c22bbde..80f798c0a 100644
--- a/src/plugins/General/notifier/notifierfactory.h
+++ b/src/plugins/General/notifier/notifierfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -33,10 +33,10 @@
class NotifierFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/scrobbler/scrobblerfactory.cpp b/src/plugins/General/scrobbler/scrobblerfactory.cpp
index 6ed89e551..acbec4e8d 100644
--- a/src/plugins/General/scrobbler/scrobblerfactory.cpp
+++ b/src/plugins/General/scrobbler/scrobblerfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2009 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -35,7 +35,7 @@ const GeneralProperties ScrobblerFactory::properties() const
return properties;
}
-General *ScrobblerFactory::create(QObject *parent)
+QObject *ScrobblerFactory::create(QObject *parent)
{
return new ScrobblerHandler(parent);
}
diff --git a/src/plugins/General/scrobbler/scrobblerfactory.h b/src/plugins/General/scrobbler/scrobblerfactory.h
index a0bd0a626..cd37ee696 100644
--- a/src/plugins/General/scrobbler/scrobblerfactory.h
+++ b/src/plugins/General/scrobbler/scrobblerfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,10 +32,10 @@
class ScrobblerFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/scrobbler/scrobblerhandler.cpp b/src/plugins/General/scrobbler/scrobblerhandler.cpp
index 6248578e3..be280b19f 100644
--- a/src/plugins/General/scrobbler/scrobblerhandler.cpp
+++ b/src/plugins/General/scrobbler/scrobblerhandler.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -26,7 +26,7 @@
#include "scrobbler2.h"
#include "scrobblerhandler.h"
-ScrobblerHandler::ScrobblerHandler(QObject *parent) : General(parent)
+ScrobblerHandler::ScrobblerHandler(QObject *parent) : QObject(parent)
{
QSettings settings(Qmmp::configFile(), QSettings::IniFormat);
settings.beginGroup("Scrobbler");
diff --git a/src/plugins/General/scrobbler/scrobblerhandler.h b/src/plugins/General/scrobbler/scrobblerhandler.h
index 9a6bd3828..501ee349c 100644
--- a/src/plugins/General/scrobbler/scrobblerhandler.h
+++ b/src/plugins/General/scrobbler/scrobblerhandler.h
@@ -28,7 +28,7 @@
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class ScrobblerHandler : public General
+class ScrobblerHandler : public QObject
{
Q_OBJECT
diff --git a/src/plugins/General/statusicon/statusicon.cpp b/src/plugins/General/statusicon/statusicon.cpp
index 6191ee725..8a64cb733 100644
--- a/src/plugins/General/statusicon/statusicon.cpp
+++ b/src/plugins/General/statusicon/statusicon.cpp
@@ -35,8 +35,7 @@
#include "qmmptrayicon.h"
#include "statusicon.h"
-StatusIcon::StatusIcon(QObject *parent)
- : General(parent)
+StatusIcon::StatusIcon(QObject *parent) : QObject(parent)
{
m_tray = new QmmpTrayIcon(this);
connect(m_tray, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), SLOT(trayActivated(QSystemTrayIcon::ActivationReason)));
diff --git a/src/plugins/General/statusicon/statusicon.h b/src/plugins/General/statusicon/statusicon.h
index c7ff2e7ca..bda950d87 100644
--- a/src/plugins/General/statusicon/statusicon.h
+++ b/src/plugins/General/statusicon/statusicon.h
@@ -31,10 +31,10 @@ class QEvent;
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class StatusIcon : public General
+class StatusIcon : public QObject
{
Q_OBJECT
public:
diff --git a/src/plugins/General/statusicon/statusiconfactory.cpp b/src/plugins/General/statusicon/statusiconfactory.cpp
index 0ecb9ec5c..c4c51f16a 100644
--- a/src/plugins/General/statusicon/statusiconfactory.cpp
+++ b/src/plugins/General/statusicon/statusiconfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2009 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -35,7 +35,7 @@ const GeneralProperties StatusIconFactory::properties() const
return properties;
}
-General *StatusIconFactory::create(QObject *parent)
+QObject *StatusIconFactory::create(QObject *parent)
{
return new StatusIcon(parent);
}
diff --git a/src/plugins/General/statusicon/statusiconfactory.h b/src/plugins/General/statusicon/statusiconfactory.h
index c2dc76bc5..402d2c604 100644
--- a/src/plugins/General/statusicon/statusiconfactory.h
+++ b/src/plugins/General/statusicon/statusiconfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -33,10 +33,10 @@
class StatusIconFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_cs.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_cs.ts
index 61cbd7190..6a69780fd 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_cs.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_cs.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Přehrát</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Pauza</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Stop</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Další</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Předchozí</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Ukončit</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Nyní hraje</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_de.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_de.ts
index 1f374e0e1..6b7b0665f 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_de.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_de.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Wiedergabe</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Pause</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Stopp</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Nächster</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Vorheriger</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Beenden</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Aktueller Titel</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_es.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_es.ts
index 3a3534c4c..1b2d56b40 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_es.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_es.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Reproducir</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Pausar</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Detener</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Siguiente</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Anterior</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Salir</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Ahora reproduciendo: </translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_it.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_it.ts
index 15fe932f0..8c092faee 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_it.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_it.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Esegui</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Pausa</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Ferma</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Successivo</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Precedente</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Esci</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Brano in esecuzione: </translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_ja.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_ja.ts
index 5d2acf74a..bfc6641b1 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_ja.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_ja.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>再生</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>一時停止</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>終止</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>次の曲</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>前の曲</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>終了</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>今の曲</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_lt.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_lt.ts
index f4002ebac..75d0a8b9e 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_lt.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_lt.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Groti</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Pauzė</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Stop</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Sekantis takelis</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Ankstesnis takelis</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Uždaryti</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Dabar groju</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_nl.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_nl.ts
index 9be7e80d4..92b173775 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_nl.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_nl.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Afspelen</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Pauze</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Stop</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Volgende</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Vorige</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Afsluiten</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Aan het Afspelen</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_pl.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_pl.ts
index f3732e93d..34d534d7e 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_pl.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_pl.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Odtwarzaj</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Pauza</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Zatrzymaj</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Następny</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Poprzedni</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Wyjdź</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Teraz odtwarza</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_ru.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_ru.ts
index 05a026d84..ec13b3ed7 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_ru.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_ru.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Воспроизвести</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Пауза</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Стоп</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Следующий фрагмент</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Предыдущий фрагмент</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Выход</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Сейчас играет</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_tr.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_tr.ts
index fa428a3a3..3fba5a507 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_tr.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_tr.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Oynat</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Duraklat</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Durdur</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Sonraki</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Önceki</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Çık</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Şimdi Oynatılıyor</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_uk_UA.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_uk_UA.ts
index 3c162fff9..a207c4fb7 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_uk_UA.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_uk_UA.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>Грати</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>Пауза</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>Стоп</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>Вперед</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>Назад</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>Вихід</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>Зараз грає</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_zh_CN.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_zh_CN.ts
index aed74b9d8..7090b82f4 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_zh_CN.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_zh_CN.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>播放</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>暂停</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>停止</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>下一曲</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>上一曲</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>退出</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>正在播放</translation>
</message>
diff --git a/src/plugins/General/statusicon/translations/statusicon_plugin_zh_TW.ts b/src/plugins/General/statusicon/translations/statusicon_plugin_zh_TW.ts
index a892901c1..e96109603 100644
--- a/src/plugins/General/statusicon/translations/statusicon_plugin_zh_TW.ts
+++ b/src/plugins/General/statusicon/translations/statusicon_plugin_zh_TW.ts
@@ -73,37 +73,37 @@
<context>
<name>StatusIcon</name>
<message>
- <location filename="../statusicon.cpp" line="66"/>
+ <location filename="../statusicon.cpp" line="65"/>
<source>Play</source>
<translation>播放</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="67"/>
+ <location filename="../statusicon.cpp" line="66"/>
<source>Pause</source>
<translation>暫停</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="68"/>
+ <location filename="../statusicon.cpp" line="67"/>
<source>Stop</source>
<translation>停止</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="70"/>
+ <location filename="../statusicon.cpp" line="69"/>
<source>Next</source>
<translation>下一曲</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="71"/>
+ <location filename="../statusicon.cpp" line="70"/>
<source>Previous</source>
<translation>上一曲</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="73"/>
+ <location filename="../statusicon.cpp" line="72"/>
<source>Exit</source>
<translation>結束</translation>
</message>
<message>
- <location filename="../statusicon.cpp" line="126"/>
+ <location filename="../statusicon.cpp" line="125"/>
<source>Now Playing</source>
<translation>正在播放</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_cs.ts b/src/plugins/General/udisks/translations/udisks_plugin_cs.ts
index e6b4e7c5d..3959679f4 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_cs.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_cs.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation type="unfinished">Přidat CD „%1“</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation type="unfinished">Přidat svazek „%1“</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_de.ts b/src/plugins/General/udisks/translations/udisks_plugin_de.ts
index 07a042cff..8575e5b34 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_de.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_de.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>CD „%1“ hinzufügen</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Gerät „%1“ hinzufügen</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_es.ts b/src/plugins/General/udisks/translations/udisks_plugin_es.ts
index 3556975d4..86e67d93a 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_es.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_es.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Añadir CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Añadir volumen &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_it.ts b/src/plugins/General/udisks/translations/udisks_plugin_it.ts
index 849ae8c72..3ebf27916 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_it.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_it.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation type="unfinished">Aggiungi CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation type="unfinished">Aggiungi libreria &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_ja.ts b/src/plugins/General/udisks/translations/udisks_plugin_ja.ts
index 48a4e3aaa..a1cfb49d7 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_ja.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_ja.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>CD &quot;%1&quot; を追加</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>量目 &quot;%1&quot; を追加</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_lt.ts b/src/plugins/General/udisks/translations/udisks_plugin_lt.ts
index 01faa0139..1745c099f 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_lt.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_lt.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Pridėti CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Pridėti tomą &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_nl.ts b/src/plugins/General/udisks/translations/udisks_plugin_nl.ts
index 77c51a9c9..b2b9381ba 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_nl.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_nl.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation type="unfinished">Voeg CD &quot;%1&quot; toe</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation type="unfinished">Voeg Station &quot;%1&quot; toe</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_pl.ts b/src/plugins/General/udisks/translations/udisks_plugin_pl.ts
index e3288e2bb..30c37463d 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_pl.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_pl.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Dodaj CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Dodaj urządzenie &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_ru.ts b/src/plugins/General/udisks/translations/udisks_plugin_ru.ts
index afbf2c85a..3f2eb49a1 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_ru.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_ru.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Добавить CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Добавить том &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_tr.ts b/src/plugins/General/udisks/translations/udisks_plugin_tr.ts
index 00947b127..c217a368f 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_tr.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_tr.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation type="unfinished">CD &quot;%1&quot; Ekle</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation type="unfinished">&quot;%1&quot; Aygıtını Ekle</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_uk_UA.ts b/src/plugins/General/udisks/translations/udisks_plugin_uk_UA.ts
index 2d7c3146b..8cc150225 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_uk_UA.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_uk_UA.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>Додати CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>Додати том &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_zh_CN.ts b/src/plugins/General/udisks/translations/udisks_plugin_zh_CN.ts
index 78736aece..d98211df5 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_zh_CN.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_zh_CN.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>添加 CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>添加卷 &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/translations/udisks_plugin_zh_TW.ts b/src/plugins/General/udisks/translations/udisks_plugin_zh_TW.ts
index 7cfbc5841..640240c07 100644
--- a/src/plugins/General/udisks/translations/udisks_plugin_zh_TW.ts
+++ b/src/plugins/General/udisks/translations/udisks_plugin_zh_TW.ts
@@ -70,12 +70,12 @@
<context>
<name>UDisksPlugin</name>
<message>
- <location filename="../udisksplugin.cpp" line="155"/>
+ <location filename="../udisksplugin.cpp" line="154"/>
<source>Add CD &quot;%1&quot;</source>
<translation>添加 CD &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../udisksplugin.cpp" line="161"/>
+ <location filename="../udisksplugin.cpp" line="160"/>
<source>Add Volume &quot;%1&quot;</source>
<translation>添加卷 &quot;%1&quot;</translation>
</message>
diff --git a/src/plugins/General/udisks/udisksfactory.cpp b/src/plugins/General/udisks/udisksfactory.cpp
index 44c9f425e..74754ad9a 100644
--- a/src/plugins/General/udisks/udisksfactory.cpp
+++ b/src/plugins/General/udisks/udisksfactory.cpp
@@ -35,7 +35,7 @@ const GeneralProperties UDisksFactory::properties() const
return properties;
}
-General *UDisksFactory::create(QObject *parent)
+QObject *UDisksFactory::create(QObject *parent)
{
return new UDisksPlugin(parent);
}
diff --git a/src/plugins/General/udisks/udisksfactory.h b/src/plugins/General/udisks/udisksfactory.h
index 73e7195ce..4718e419c 100644
--- a/src/plugins/General/udisks/udisksfactory.h
+++ b/src/plugins/General/udisks/udisksfactory.h
@@ -32,10 +32,10 @@
class UDisksFactory : public QObject, public GeneralFactory
{
Q_OBJECT
-Q_INTERFACES(GeneralFactory);
+Q_INTERFACES(GeneralFactory)
public:
const GeneralProperties properties() const;
- General *create(QObject *parent);
+ QObject *create(QObject *parent);
QDialog *createConfigDialog(QWidget *parent);
void showAbout(QWidget *parent);
QTranslator *createTranslator(QObject *parent);
diff --git a/src/plugins/General/udisks/udisksplugin.cpp b/src/plugins/General/udisks/udisksplugin.cpp
index 57b54eb9d..38135e437 100644
--- a/src/plugins/General/udisks/udisksplugin.cpp
+++ b/src/plugins/General/udisks/udisksplugin.cpp
@@ -31,8 +31,7 @@
#include "udisksmanager.h"
#include "udisksplugin.h"
-UDisksPlugin::UDisksPlugin(QObject *parent)
- : General(parent)
+UDisksPlugin::UDisksPlugin(QObject *parent) : QObject(parent)
{
m_manager = new UDisksManager(this);
m_actions = new QActionGroup(this);
diff --git a/src/plugins/General/udisks/udisksplugin.h b/src/plugins/General/udisks/udisksplugin.h
index b42f012c6..a29532cf4 100644
--- a/src/plugins/General/udisks/udisksplugin.h
+++ b/src/plugins/General/udisks/udisksplugin.h
@@ -29,10 +29,10 @@ class QActionGroup;
class QAction;
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class UDisksPlugin : public General
+class UDisksPlugin : public QObject
{
Q_OBJECT
public:
diff --git a/src/qmmpui/general.cpp b/src/qmmpui/general.cpp
index 8b2b36f22..2ae7b7199 100644
--- a/src/qmmpui/general.cpp
+++ b/src/qmmpui/general.cpp
@@ -27,7 +27,7 @@
QList<GeneralFactory*> *General::m_factories = 0;
QStringList General::m_files;
-QMap <GeneralFactory*, General*> *General::m_generals = 0;
+QMap <GeneralFactory*, QObject*> *General::m_generals = 0;
QObject *General::m_parent = 0;
void General::checkFactories()
@@ -61,28 +61,18 @@ void General::checkFactories()
}
}
-General::General(QObject *parent)
- : QObject(parent)
-{
- Q_UNUSED(parent);
-}
-
-
-General::~General()
-{}
-
void General::create(QObject *parent)
{
if(m_generals)
return;
- m_generals = new QMap <GeneralFactory*, General*>();
+ m_generals = new QMap <GeneralFactory*, QObject*>();
m_parent = parent;
checkFactories();
foreach(GeneralFactory* factory, *General::factories())
{
if (General::isEnabled(factory))
{
- General *general = factory->create(parent);
+ QObject *general = factory->create(parent);
m_generals->insert(factory, general);
}
}
@@ -126,7 +116,7 @@ void General::setEnabled(GeneralFactory* factory, bool enable)
return;
if (enable)
{
- General *general = factory->create(m_parent);
+ QObject *general = factory->create(m_parent);
m_generals->insert(factory, general);
}
else
@@ -145,7 +135,7 @@ void General::showSettings(GeneralFactory* factory, QWidget* parentWidget)
if (m_generals && dialog->exec() == QDialog::Accepted && m_generals->keys().contains(factory))
{
delete m_generals->value(factory);
- General *general = factory->create(m_parent);
+ QObject *general = factory->create(m_parent);
m_generals->insert(factory, general);
}
dialog->deleteLater();
diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h
index 6afd75517..502867957 100644
--- a/src/qmmpui/general.h
+++ b/src/qmmpui/general.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2010 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -25,23 +25,13 @@
#include <QMap>
#include "generalfactory.h"
-/*! @brief The General class provides the basic functionality for the general plugin objects
+/*! @brief The General class provides simple access to general plugins
* @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class General : public QObject
+class General
{
- Q_OBJECT
public:
/*!
- * Object constructor,
- * @param parent Parent object
- */
- General(QObject *parent = 0);
- /*!
- * Destructor
- */
- ~General();
- /*!
* Prepares general plugins for usage.
* @param parent Parent object.
*/
@@ -72,14 +62,11 @@ public:
*/
static bool isEnabled(GeneralFactory* factory);
-
private:
- QMap <uint, QString> m_strValues;
- QMap <uint, uint> m_numValues;
static QList<GeneralFactory*> *m_factories;
static QStringList m_files;
static void checkFactories();
- static QMap <GeneralFactory*, General*> *m_generals;
+ static QMap <GeneralFactory*, QObject*> *m_generals;
static QObject *m_parent;
};
diff --git a/src/qmmpui/generalfactory.h b/src/qmmpui/generalfactory.h
index 41a4eb488..7670f6bae 100644
--- a/src/qmmpui/generalfactory.h
+++ b/src/qmmpui/generalfactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2009 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -66,7 +66,7 @@ public:
/*!
* Creates object of the General class.
*/
- virtual General *create(QObject *parent) = 0;
+ virtual QObject *create(QObject *parent) = 0;
/*!
* Creates configuration dialog.
* @param parent Parent widget.
@@ -85,5 +85,5 @@ public:
virtual QTranslator *createTranslator(QObject *parent) = 0;
};
-Q_DECLARE_INTERFACE(GeneralFactory, "GeneralFactory/1.0");
+Q_DECLARE_INTERFACE(GeneralFactory, "GeneralFactory/1.0")
#endif