diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-12-30 11:45:55 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-12-30 11:45:55 +0000 |
| commit | 4d56c7460d9854b1cedafd201b14b5083f3df87c (patch) | |
| tree | acc5be95bac6f0a88c15d0c1892e058fbf45d8ef /src/plugins | |
| parent | ba892226f0e7dab33f435faca14f48725fddc9d1 (diff) | |
| download | qmmp-4d56c7460d9854b1cedafd201b14b5083f3df87c.tar.gz qmmp-4d56c7460d9854b1cedafd201b14b5083f3df87c.tar.bz2 qmmp-4d56c7460d9854b1cedafd201b14b5083f3df87c.zip | |
removed uninstall plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8539 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins')
33 files changed, 0 insertions, 491 deletions
diff --git a/src/plugins/CommandLineOptions/CommandLineOptions.pro b/src/plugins/CommandLineOptions/CommandLineOptions.pro index 04abf9c37..dce0d9d83 100644 --- a/src/plugins/CommandLineOptions/CommandLineOptions.pro +++ b/src/plugins/CommandLineOptions/CommandLineOptions.pro @@ -3,5 +3,3 @@ unix:SUBDIRS = IncDecVolumeOption \ SeekOption \ StatusOption \ PlayListOption -# -#win32:SUBDIRS += UninstallOption diff --git a/src/plugins/CommandLineOptions/UninstallOption/UninstallOption.pro b/src/plugins/CommandLineOptions/UninstallOption/UninstallOption.pro deleted file mode 100644 index 579c45b3c..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/UninstallOption.pro +++ /dev/null @@ -1,11 +0,0 @@ -include(../../plugins.pri) - -TARGET = $$PLUGINS_PREFIX/CommandLineOptions/uninstalloption - -HEADERS += uninstalloption.h - -SOURCES += uninstalloption.cpp - -LIBS += $$QMMPUI_LIB - -RESOURCES = translations/translations.qrc diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/translations.qrc b/src/plugins/CommandLineOptions/UninstallOption/translations/translations.qrc deleted file mode 100644 index 965658902..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/translations.qrc +++ /dev/null @@ -1,32 +0,0 @@ -<!DOCTYPE RCC> -<RCC version="1.0"> - <qresource> - <file>uninstall_plugin_ru.qm</file> - <file>uninstall_plugin_uk_UA.qm</file> - <file>uninstall_plugin_zh_CN.qm</file> - <file>uninstall_plugin_zh_TW.qm</file> - <file>uninstall_plugin_tr.qm</file> - <file>uninstall_plugin_cs.qm</file> - <file>uninstall_plugin_pt_BR.qm</file> - <file>uninstall_plugin_pt.qm</file> - <file>uninstall_plugin_de.qm</file> - <file>uninstall_plugin_pl_PL.qm</file> - <file>uninstall_plugin_fr.qm</file> - <file>uninstall_plugin_it.qm</file> - <file>uninstall_plugin_kk.qm</file> - <file>uninstall_plugin_lt.qm</file> - <file>uninstall_plugin_hu.qm</file> - <file>uninstall_plugin_nl.qm</file> - <file>uninstall_plugin_ja.qm</file> - <file>uninstall_plugin_sk.qm</file> - <file>uninstall_plugin_es.qm</file> - <file>uninstall_plugin_he.qm</file> - <file>uninstall_plugin_gl_ES.qm</file> - <file>uninstall_plugin_sr_BA.qm</file> - <file>uninstall_plugin_sr_RS.qm</file> - <file>uninstall_plugin_bg.qm</file> - <file>uninstall_plugin_el.qm</file> - <file>uninstall_plugin_id.qm</file> - <file>uninstall_plugin_fi.qm</file> - </qresource> -</RCC> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_bg.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_bg.ts deleted file mode 100644 index f5642acc2..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_bg.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="bg"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_cs.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_cs.ts deleted file mode 100644 index 5c9a50910..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_cs.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="cs"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_de.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_de.ts deleted file mode 100644 index 0504925df..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_de.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="de"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Die alten Dateizuordnungen wiederherstellen und die Registrierungsdatenbank bereinigen</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_el.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_el.ts deleted file mode 100644 index 73c3ebd76..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_el.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="el"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Επαναφορά τον παρωχημένων συσχετισμός αρχείων και καθαρισμός του μητρώου</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_en.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_en.ts deleted file mode 100644 index 64ca6f9a9..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_en.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="en_US"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_es.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_es.ts deleted file mode 100644 index 449c6fea2..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_es.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="es"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Restaurar las antiguas asociaciones de archivos y limpiar el registro</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fi.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fi.ts deleted file mode 100644 index f86f170d4..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fi.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="fi"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Palauta vanhat tiedostosidonnaisuudet ja siivoa rekisteri</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fr.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fr.ts deleted file mode 100644 index 73c4f3409..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fr.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="fr"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Restaurer les anciennes associations de fichiers et nettoyer la base de registre</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_gl_ES.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_gl_ES.ts deleted file mode 100644 index 9f9953bf2..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_gl_ES.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="gl_ES"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Restaurar as antigas asociacións de ficheiros e limpar o rexistro</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_he.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_he.ts deleted file mode 100644 index 3ce802634..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_he.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="he"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>שחזר את שיוכי קובץ ישנים ונקה את הרשומות</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_hu.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_hu.ts deleted file mode 100644 index dedbffe89..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_hu.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="hu_HU"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_id.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_id.ts deleted file mode 100644 index 93182a00a..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_id.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="id"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Pulihkan perkumpulan file lawas dan bersihkan registri</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_it.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_it.ts deleted file mode 100644 index 0fde655de..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_it.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="it_IT"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ja.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ja.ts deleted file mode 100644 index 64a35f310..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ja.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="ja_JP"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>ファイルの関連づけを元の状態に戻し、 レジストリーを清潔にします</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_kk.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_kk.ts deleted file mode 100644 index af29cb135..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_kk.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="kk_KZ"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_lt.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_lt.ts deleted file mode 100644 index 47b79ea6f..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_lt.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="lt_LT"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Atstatyti media bylų asociacijas ir išvalyti registrą</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_nl.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_nl.ts deleted file mode 100644 index 6e4c6911b..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_nl.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="nl_NL"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pl_PL.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pl_PL.ts deleted file mode 100644 index a590b1eb0..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pl_PL.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="pl_PL"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Przywróć stare skojarzenia i wyczyść rejestr</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt.ts deleted file mode 100644 index 4335111ab..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="pt"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Restaurar associação de ficheiros antiga e remover chaves do registo</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt_BR.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt_BR.ts deleted file mode 100644 index 85bcc1f3c..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt_BR.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="pt_BR"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Restaurar associação de arquivos antiga e remover chaves do registo</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ru.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ru.ts deleted file mode 100644 index e1a412cf8..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ru.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="ru"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Восстановить предыдущие файловые ассоциации и очистить реестр</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sk.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sk.ts deleted file mode 100644 index d0a9c405f..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sk.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="sk_SK"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_BA.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_BA.ts deleted file mode 100644 index 60d30b731..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_BA.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="sr_BA"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Врати старе додјеле фајлова и очисти регистар</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_RS.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_RS.ts deleted file mode 100644 index f248f4742..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_RS.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="sr_RS"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Врати старе доделе фајлова и очисти регистар</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_tr.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_tr.ts deleted file mode 100644 index 6c0babe51..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_tr.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="tr_TR"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_uk_UA.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_uk_UA.ts deleted file mode 100644 index 2c41dc5c4..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_uk_UA.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="uk"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>Відновити попередні файлові асоціації та очистити реєстр</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_CN.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_CN.ts deleted file mode 100644 index 536d0158a..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_CN.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="zh_CN"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation>恢复原有的文件关联并清除注册表信息</translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_TW.ts b/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_TW.ts deleted file mode 100644 index a0dcd0f4e..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_TW.ts +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS> -<TS version="2.1" language="zh_TW"> -<context> - <name>UninstallOption</name> - <message> - <location filename="../uninstalloption.cpp" line="32"/> - <source>Restore the old file associations and clean up the registry</source> - <translation type="unfinished"></translation> - </message> -</context> -</TS> diff --git a/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp b/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp deleted file mode 100644 index 9fae17390..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2014-2017 by Ilya Kotov * - * forkotov02@ya.ru * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - -#include <QtPlugin> -#include <QLocale> -#include <QApplication> -#include <qmmpui/winfileassoc.h> -#include <qmmp/metadatamanager.h> -#include "uninstalloption.h" - -CommandLineProperties UninstallOption::properties() const -{ - CommandLineProperties properties; - properties.shortName = "UninstallOption"; - properties.helpString <<QString("--uninstall") + "||" + tr("Restore the old file associations and clean up the registry"); - return properties; -} - -bool UninstallOption::identify(const QString &str) const -{ - QStringList opts; - opts << "--uninstall"; - return opts.contains(str); -} - -QString UninstallOption::executeCommand(const QString &opt_str, const QStringList &args) -{ - Q_UNUSED(args); - if(opt_str == "--uninstall") - { - WinFileAssoc assoc; - QStringList regExts, extsToCheck; - foreach (QString ext, MetaDataManager::instance()->nameFilters()) - { - ext.remove("*."); - extsToCheck.append(ext); - } - assoc.GetRegisteredExtensions(extsToCheck, regExts); - assoc.RemoveClassId(); - QMetaObject::invokeMethod(qApp, "quit", Qt::QueuedConnection); - } - return QString(); -} - -QString UninstallOption::translation() const -{ - return QLatin1String(":/uninstall_plugin_"); -} diff --git a/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.h b/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.h deleted file mode 100644 index b186d3885..000000000 --- a/src/plugins/CommandLineOptions/UninstallOption/uninstalloption.h +++ /dev/null @@ -1,45 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2014-2017 by Ilya Kotov * - * forkotov02@ya.ru * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - -#ifndef STATUSOPTION_H -#define STATUSOPTION_H - -#include <QString> -#include <QObject> -#include <QStringList> -#include <qmmpui/commandlineoption.h> -#include <qmmpui/commandlinemanager.h> - -/** - @author Ilya Kotov <forkotov02@ya.ru> -*/ -class UninstallOption : public QObject, public CommandLineOption -{ -Q_OBJECT -Q_PLUGIN_METADATA(IID "org.qmmp.qmmpui.CommandLineOptionInterface.1.0") -Q_INTERFACES(CommandLineOption) -public: - virtual CommandLineProperties properties() const; - virtual bool identify(const QString& opt_str) const; - virtual QString executeCommand(const QString& opt_str, const QStringList &args); - virtual QString translation() const; -}; - -#endif |
