From 4d56c7460d9854b1cedafd201b14b5083f3df87c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 30 Dec 2018 11:45:55 +0000 Subject: removed uninstall plugin git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8539 90c681e8-e032-0410-971d-27865f9a5e38 --- .../CommandLineOptions/CommandLineOptions.pro | 2 - .../UninstallOption/UninstallOption.pro | 11 ---- .../UninstallOption/translations/translations.qrc | 32 ----------- .../translations/uninstall_plugin_bg.ts | 12 ---- .../translations/uninstall_plugin_cs.ts | 12 ---- .../translations/uninstall_plugin_de.ts | 12 ---- .../translations/uninstall_plugin_el.ts | 12 ---- .../translations/uninstall_plugin_en.ts | 12 ---- .../translations/uninstall_plugin_es.ts | 12 ---- .../translations/uninstall_plugin_fi.ts | 12 ---- .../translations/uninstall_plugin_fr.ts | 12 ---- .../translations/uninstall_plugin_gl_ES.ts | 12 ---- .../translations/uninstall_plugin_he.ts | 12 ---- .../translations/uninstall_plugin_hu.ts | 12 ---- .../translations/uninstall_plugin_id.ts | 12 ---- .../translations/uninstall_plugin_it.ts | 12 ---- .../translations/uninstall_plugin_ja.ts | 12 ---- .../translations/uninstall_plugin_kk.ts | 12 ---- .../translations/uninstall_plugin_lt.ts | 12 ---- .../translations/uninstall_plugin_nl.ts | 12 ---- .../translations/uninstall_plugin_pl_PL.ts | 12 ---- .../translations/uninstall_plugin_pt.ts | 12 ---- .../translations/uninstall_plugin_pt_BR.ts | 12 ---- .../translations/uninstall_plugin_ru.ts | 12 ---- .../translations/uninstall_plugin_sk.ts | 12 ---- .../translations/uninstall_plugin_sr_BA.ts | 12 ---- .../translations/uninstall_plugin_sr_RS.ts | 12 ---- .../translations/uninstall_plugin_tr.ts | 12 ---- .../translations/uninstall_plugin_uk_UA.ts | 12 ---- .../translations/uninstall_plugin_zh_CN.ts | 12 ---- .../translations/uninstall_plugin_zh_TW.ts | 12 ---- .../UninstallOption/uninstalloption.cpp | 65 ---------------------- .../UninstallOption/uninstalloption.h | 45 --------------- 33 files changed, 491 deletions(-) delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/UninstallOption.pro delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/translations.qrc delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_bg.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_cs.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_de.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_el.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_en.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_es.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fi.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_fr.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_gl_ES.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_he.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_hu.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_id.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_it.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ja.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_kk.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_lt.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_nl.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pl_PL.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_pt_BR.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_ru.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sk.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_BA.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_sr_RS.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_tr.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_uk_UA.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_CN.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/translations/uninstall_plugin_zh_TW.ts delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/uninstalloption.cpp delete mode 100644 src/plugins/CommandLineOptions/UninstallOption/uninstalloption.h (limited to 'src/plugins') 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 @@ - - - - uninstall_plugin_ru.qm - uninstall_plugin_uk_UA.qm - uninstall_plugin_zh_CN.qm - uninstall_plugin_zh_TW.qm - uninstall_plugin_tr.qm - uninstall_plugin_cs.qm - uninstall_plugin_pt_BR.qm - uninstall_plugin_pt.qm - uninstall_plugin_de.qm - uninstall_plugin_pl_PL.qm - uninstall_plugin_fr.qm - uninstall_plugin_it.qm - uninstall_plugin_kk.qm - uninstall_plugin_lt.qm - uninstall_plugin_hu.qm - uninstall_plugin_nl.qm - uninstall_plugin_ja.qm - uninstall_plugin_sk.qm - uninstall_plugin_es.qm - uninstall_plugin_he.qm - uninstall_plugin_gl_ES.qm - uninstall_plugin_sr_BA.qm - uninstall_plugin_sr_RS.qm - uninstall_plugin_bg.qm - uninstall_plugin_el.qm - uninstall_plugin_id.qm - uninstall_plugin_fi.qm - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Die alten Dateizuordnungen wiederherstellen und die Registrierungsdatenbank bereinigen - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Επαναφορά τον παρωχημένων συσχετισμός αρχείων και καθαρισμός του μητρώου - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Restaurar las antiguas asociaciones de archivos y limpiar el registro - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Palauta vanhat tiedostosidonnaisuudet ja siivoa rekisteri - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Restaurer les anciennes associations de fichiers et nettoyer la base de registre - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Restaurar as antigas asociacións de ficheiros e limpar o rexistro - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - שחזר את שיוכי קובץ ישנים ונקה את הרשומות - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Pulihkan perkumpulan file lawas dan bersihkan registri - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - ファイルの関連づけを元の状態に戻し、 レジストリーを清潔にします - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Atstatyti media bylų asociacijas ir išvalyti registrą - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Przywróć stare skojarzenia i wyczyść rejestr - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Restaurar associação de ficheiros antiga e remover chaves do registo - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Restaurar associação de arquivos antiga e remover chaves do registo - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Восстановить предыдущие файловые ассоциации и очистить реестр - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Врати старе додјеле фајлова и очисти регистар - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Врати старе доделе фајлова и очисти регистар - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - Відновити попередні файлові асоціації та очистити реєстр - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - 恢复原有的文件关联并清除注册表信息 - - - 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 @@ - - - - - UninstallOption - - - Restore the old file associations and clean up the registry - - - - 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 -#include -#include -#include -#include -#include "uninstalloption.h" - -CommandLineProperties UninstallOption::properties() const -{ - CommandLineProperties properties; - properties.shortName = "UninstallOption"; - properties.helpString <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 -#include -#include -#include -#include - -/** - @author Ilya Kotov -*/ -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 -- cgit v1.2.3-13-gbd6f