aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/dbuscontrol
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/dbuscontrol')
-rw-r--r--src/plugins/General/dbuscontrol/CMakeLists.txt61
-rw-r--r--src/plugins/General/dbuscontrol/dbusadaptor.cpp200
-rw-r--r--src/plugins/General/dbuscontrol/dbusadaptor.h99
-rw-r--r--src/plugins/General/dbuscontrol/dbuscontrol.cpp51
-rw-r--r--src/plugins/General/dbuscontrol/dbuscontrol.h58
-rw-r--r--src/plugins/General/dbuscontrol/dbuscontrol.pro44
-rw-r--r--src/plugins/General/dbuscontrol/dbuscontrolfactory.cpp61
-rw-r--r--src/plugins/General/dbuscontrol/dbuscontrolfactory.h45
-rw-r--r--src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_cs.ts26
-rw-r--r--src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_de.ts26
-rw-r--r--src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_ru.ts26
-rw-r--r--src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_uk_UA.ts27
-rw-r--r--src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_CN.ts26
-rw-r--r--src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_TW.ts26
-rw-r--r--src/plugins/General/dbuscontrol/translations/translations.qrc11
15 files changed, 0 insertions, 787 deletions
diff --git a/src/plugins/General/dbuscontrol/CMakeLists.txt b/src/plugins/General/dbuscontrol/CMakeLists.txt
deleted file mode 100644
index b646cee80..000000000
--- a/src/plugins/General/dbuscontrol/CMakeLists.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-project(libdbuscontrol)
-
-cmake_minimum_required(VERSION 2.4.8 FATAL_ERROR)
-
-SET (QT_USE_QTDBUS TRUE)
-
-INCLUDE(FindQt4)
-
-include(${QT_USE_FILE})
-
-if(COMMAND cmake_policy)
-cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
-
-# qt plugin
-ADD_DEFINITIONS( -Wall )
-ADD_DEFINITIONS(${QT_DEFINITIONS})
-ADD_DEFINITIONS(-DQT_PLUGIN)
-ADD_DEFINITIONS(-DQT_NO_DEBUG)
-ADD_DEFINITIONS(-DQT_SHARED)
-ADD_DEFINITIONS(-DQT_THREAD)
-
-
-
-include_directories(${CMAKE_CURRENT_BINARY_DIR})
-
-# libqmmpui & libqmmp
-include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../)
-link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmpui)
-link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp)
-
-SET(libdbuscontrol_SRCS
- dbuscontrol.cpp
- dbuscontrolfactory.cpp
- dbusadaptor.cpp
-)
-
-SET(libdbuscontrol_MOC_HDRS
- dbuscontrolfactory.h
- dbuscontrol.h
- dbusadaptor.h
-)
-
-SET(libdbuscontrol_RCCS translations/translations.qrc)
-
-QT4_ADD_RESOURCES(libdbuscontrol_RCC_SRCS ${libdbuscontrol_RCCS})
-
-QT4_WRAP_CPP(libdbuscontrol_MOC_SRCS ${libdbuscontrol_MOC_HDRS})
-
-# user interface
-
-
-# QT4_WRAP_UI(libdbuscontrol_UIS_H ${libdbuscontrol_UIS})
-# Don't forget to include output directory, otherwise
-# the UI file won't be wrapped!
-include_directories(${CMAKE_CURRENT_BINARY_DIR})
-
-ADD_LIBRARY(dbuscontrol SHARED ${libdbuscontrol_SRCS} ${libdbuscontrol_MOC_SRCS} ${libdbuscontrol_RCC_SRCS})
-add_dependencies(dbuscontrol qmmpui libqmmp)
-target_link_libraries(dbuscontrol ${QT_LIBRARIES} -lqmmpui -lqmmp)
-install(TARGETS dbuscontrol DESTINATION ${LIB_DIR}/qmmp/General)
diff --git a/src/plugins/General/dbuscontrol/dbusadaptor.cpp b/src/plugins/General/dbuscontrol/dbusadaptor.cpp
deleted file mode 100644
index 415ec35dc..000000000
--- a/src/plugins/General/dbuscontrol/dbusadaptor.cpp
+++ /dev/null
@@ -1,200 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
- * forkotov02@hotmail.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., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-
-#include "dbuscontrol.h"
-#include "dbusadaptor.h"
-
-DBUSAdaptor::DBUSAdaptor(QObject *parent)
- : QDBusAbstractAdaptor(parent)
-{
- setAutoRelaySignals(TRUE);
- connect(parent, SIGNAL(stateChanged()), SLOT (processState()));
- connect(parent, SIGNAL(volumeChanged()), SLOT (processVolume()));
- connect(parent, SIGNAL(timeChanged()), SLOT (processTime()));
- connect(parent, SIGNAL(songChanged()), SIGNAL(songChanged()));
-}
-
-DBUSAdaptor::~DBUSAdaptor()
-{}
-
-int DBUSAdaptor::volume()
-{
- int left, right;
- QMetaObject::invokeMethod(parent(), "leftVolume", Q_RETURN_ARG(int, left));
- QMetaObject::invokeMethod(parent(), "rightVolume", Q_RETURN_ARG(int, right));
- return qMax(left, right);
-}
-
-void DBUSAdaptor::setVolume(int volume)
-{
- volume = qMin(volume, 100);
- volume = qMax(volume, 0);
- int bal = balance();
- int left = volume-qMax(bal,0)*volume/100;
- int right = volume+qMin(bal,0)*volume/100;
- //QMetaObject::invokeMethod(m_control, "setVolume", Q_ARG(int, left), Q_ARG(int, right));
-}
-
-int DBUSAdaptor::balance()
-{
- int left, right;
- QMetaObject::invokeMethod(parent(), "leftVolume", Q_RETURN_ARG(int, left));
- QMetaObject::invokeMethod(parent(), "rightVolume", Q_RETURN_ARG(int, right));
- if(left || right)
- return (right-left)*100/qMax(left, right);
- else
- return 0;
-}
-
-void DBUSAdaptor::setBalance(int bal)
-{
- bal = qMin(bal,100);
- bal = qMax(bal,-100);
- int left = volume()-qMax(bal,0)*volume()/100;
- int right = volume()+qMin(bal,0)*volume()/100;
- //QMetaObject::invokeMethod(m_control, "setVolume", Q_ARG(int, left), Q_ARG(int, right));
-}
-
-int DBUSAdaptor::length()
-{
- return 0;//qobject_cast<DBUSControl *>(parent())->info()->length();
-}
-
-int DBUSAdaptor::year()
-{
- return 0;//qobject_cast<DBUSControl *>(parent())->info()->year();
-}
-
-QString DBUSAdaptor::title()
-{
- return QString();//qobject_cast<DBUSControl *>(parent())->info()->title();
-}
-
-QString DBUSAdaptor::artist()
-{
- return QString();//qobject_cast<DBUSControl *>(parent())->info()->artist();
-}
-
-QString DBUSAdaptor::album()
-{
- return QString();//qobject_cast<DBUSControl *>(parent())->info()->album();
-}
-
-QString DBUSAdaptor::comment()
-{
- return QString();//qobject_cast<DBUSControl *>(parent())->info()->comment();
-}
-
-QString DBUSAdaptor::genre()
-{
- return QString();//qobject_cast<DBUSControl *>(parent())->info()->genre();
-}
-
-QString DBUSAdaptor::path()
-{
- return QString();//qobject_cast<DBUSControl *>(parent())->info()->path();
-}
-
-bool DBUSAdaptor::isPlaying()
-{
- //return qobject_cast<DBUSControl *>(parent())->state() == General::Playing;
- return FALSE;
-}
-
-bool DBUSAdaptor::isPaused()
-{
- //return qobject_cast<DBUSControl *>(parent())->state() == General::Paused;
- return FALSE;
-}
-
-bool DBUSAdaptor::isStopped()
-{
- //return qobject_cast<DBUSControl *>(parent())->state() == General::Stopped;
- return FALSE;
-}
-
-int DBUSAdaptor::elapsedTime()
-{
- //return qobject_cast<DBUSControl *>(parent())->elapsedTime();
- return 0;
-}
-
-void DBUSAdaptor::play()
-{
- //QMetaObject::invokeMethod(m_control, "play");
-}
-
-void DBUSAdaptor::stop()
-{
- //QMetaObject::invokeMethod(m_control, "stop");
-}
-
-void DBUSAdaptor::next()
-{
- //QMetaObject::invokeMethod(m_control, "next");
-}
-
-void DBUSAdaptor::previous()
-{
- //QMetaObject::invokeMethod(m_control, "previous");
-}
-
-void DBUSAdaptor::pause()
-{
- //QMetaObject::invokeMethod(m_control, "pause");
-}
-
-void DBUSAdaptor::toggleVisibility()
-{
- //QMetaObject::invokeMethod(m_control, "toggleVisibility");
-}
-
-void DBUSAdaptor::exit()
-{
- //QMetaObject::invokeMethod(m_control, "exit");
-}
-
-void DBUSAdaptor::seek(int time)
-{
- if ((time < 0) || (time > length()))
- return;
- //QMetaObject::invokeMethod(m_control, "seek", Q_ARG(int, time));
-}
-
-void DBUSAdaptor::processState()
-{
- /*uint state = qobject_cast<DBUSControl *>(parent())->state();
- if(state == General::Playing)
- emit started();
- else if(state == General::Stopped)
- emit stopped();
- else if(state == General::Paused)
- emit paused();*/
-}
-
-void DBUSAdaptor::processVolume()
-{
- emit volumeChanged(volume(), balance());
-}
-
-void DBUSAdaptor::processTime()
-{
- emit timeChanged(elapsedTime());
-}
diff --git a/src/plugins/General/dbuscontrol/dbusadaptor.h b/src/plugins/General/dbuscontrol/dbusadaptor.h
deleted file mode 100644
index 5d82db044..000000000
--- a/src/plugins/General/dbuscontrol/dbusadaptor.h
+++ /dev/null
@@ -1,99 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
- * forkotov02@hotmail.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., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-#ifndef DBUSADAPTOR_H
-#define DBUSADAPTOR_H
-
-#include <QtDBus>
-
-class Control;
-
-/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
-*/
-class DBUSAdaptor : public QDBusAbstractAdaptor
-{
-Q_OBJECT
-Q_CLASSINFO("D-Bus Interface", "org.qmmp.dbus")
-Q_PROPERTY(int volume READ volume WRITE setVolume)
-Q_PROPERTY(int balance READ balance WRITE setBalance)
-Q_PROPERTY(int length READ length)
-Q_PROPERTY(int year READ year)
-Q_PROPERTY(QString title READ title)
-Q_PROPERTY(QString artist READ artist)
-Q_PROPERTY(QString album READ album)
-Q_PROPERTY(QString comment READ comment)
-Q_PROPERTY(QString genre READ genre)
-Q_PROPERTY(QString path READ path)
-Q_PROPERTY(bool isPlaying READ isPlaying)
-Q_PROPERTY(bool isPaused READ isPaused)
-Q_PROPERTY(bool isStopped READ isStopped)
-Q_PROPERTY(int elapsedTime READ elapsedTime)
-
-
-public:
- DBUSAdaptor(QObject *parent = 0);
-
- ~DBUSAdaptor();
-
- int volume();
- void setVolume(int);
- int balance();
- void setBalance(int);
- int length();
- int year();
- QString title();
- QString artist();
- QString album();
- QString comment();
- QString genre();
- QString path();
- bool isPlaying();
- bool isPaused();
- bool isStopped();
- int elapsedTime();
-
-signals:
- void started();
- void paused();
- void stopped();
- void volumeChanged(int vol, int bal);
- void timeChanged(int newTime);
- void songChanged();
-
-public slots:
- void play();
- void stop();
- void next();
- void previous();
- void pause();
- void toggleVisibility();
- void exit();
- void seek(int time);
-
-private slots:
- void processState();
- void processVolume();
- void processTime();
-
-private:
- Control *m_control;
-};
-
-#endif
diff --git a/src/plugins/General/dbuscontrol/dbuscontrol.cpp b/src/plugins/General/dbuscontrol/dbuscontrol.cpp
deleted file mode 100644
index bc734ab35..000000000
--- a/src/plugins/General/dbuscontrol/dbuscontrol.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
- * forkotov02@hotmail.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., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-
-#include "dbusadaptor.h"
-#include "dbuscontrol.h"
-
-DBUSControl::DBUSControl(QObject *parent)
- : General(parent)
-{
- new DBUSAdaptor(this);
- QDBusConnection connection = QDBusConnection::sessionBus();
- connection.registerObject("/Qmmp", this);
- connection.registerService("org.qmmp.dbus");
- m_left = 0;
- m_right = 0;
- m_time = 0;
- //m_state = General::Stopped;
-}
-
-
-DBUSControl::~DBUSControl()
-{
-}
-
-int DBUSControl::leftVolume()
-{
- return m_left;
-}
-
-int DBUSControl::rightVolume()
-{
- return m_right;
-}
-
diff --git a/src/plugins/General/dbuscontrol/dbuscontrol.h b/src/plugins/General/dbuscontrol/dbuscontrol.h
deleted file mode 100644
index 9079f3e27..000000000
--- a/src/plugins/General/dbuscontrol/dbuscontrol.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
- * forkotov02@hotmail.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., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-#ifndef STATUSICON_H
-#define STATUSICON_H
-
-
-#include <qmmpui/general.h>
-
-class Control;
-class DBUSAdaptor;
-
-/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
-*/
-
-class DBUSControl : public General
-{
-Q_OBJECT
-public:
- DBUSControl(QObject *parent = 0);
-
- ~DBUSControl();
-
-signals:
- void stateChanged();
- void timeChanged();
- void volumeChanged();
- void songChanged();
-
-public slots:
- int leftVolume();
- int rightVolume();
-
-private:
- DBUSAdaptor *m_adaptor;
- int m_left, m_right;
- uint m_state;
- int m_time;
-};
-
-#endif
diff --git a/src/plugins/General/dbuscontrol/dbuscontrol.pro b/src/plugins/General/dbuscontrol/dbuscontrol.pro
deleted file mode 100644
index ca13031f8..000000000
--- a/src/plugins/General/dbuscontrol/dbuscontrol.pro
+++ /dev/null
@@ -1,44 +0,0 @@
-include(../../plugins.pri)
-
-CONFIG += release \
-warn_on \
-plugin \
- lib \
- qdbus
-
-TARGET=$$PLUGINS_PREFIX/General/dbuscontrol
-QMAKE_CLEAN =$$PLUGINS_PREFIX/General/libdbuscontrol.so
-
-TEMPLATE = lib
-QMAKE_LIBDIR += ../../../../lib
-
-TRANSLATIONS = translations/dbuscontrol_plugin_cs.ts \
- translations/dbuscontrol_plugin_de.ts \
- translations/dbuscontrol_plugin_zh_CN.ts \
- translations/dbuscontrol_plugin_zh_TW.ts \
- translations/dbuscontrol_plugin_ru.ts \
- translations/dbuscontrol_plugin_uk_UA.ts
-RESOURCES = translations/translations.qrc
-
-isEmpty(LIB_DIR){
- LIB_DIR = /lib
-}
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
-#FORMS += settingsdialog.ui
-
-#RESOURCES += images/images.qrc
-
-
-HEADERS += dbuscontrolfactory.h \
- dbuscontrol.h \
- dbusadaptor.h
-
-SOURCES += dbuscontrolfactory.cpp \
- dbuscontrol.cpp \
- dbusadaptor.cpp
-
-INCLUDEPATH += ../../../../src
-
-LIBS += -lqmmpui -lqmmp
-
diff --git a/src/plugins/General/dbuscontrol/dbuscontrolfactory.cpp b/src/plugins/General/dbuscontrol/dbuscontrolfactory.cpp
deleted file mode 100644
index 88c071d05..000000000
--- a/src/plugins/General/dbuscontrol/dbuscontrolfactory.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
- * forkotov02@hotmail.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., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-
-#include <QtGui>
-
-#include "dbuscontrol.h"
-#include "dbuscontrolfactory.h"
-
-const GeneralProperties DBUSControlFactory::properties() const
-{
- GeneralProperties properties;
- properties.name = tr("D-Bus Plugin");
- properties.hasAbout = TRUE;
- properties.hasSettings = FALSE;
- properties.visibilityControl = FALSE;
- return properties;
-}
-
-General *DBUSControlFactory::create(QObject *parent)
-{
- return new DBUSControl(parent);
-}
-
-QDialog *DBUSControlFactory::createConfigDialog(QWidget *)
-{
- return 0;
-}
-
-void DBUSControlFactory::showAbout(QWidget *parent)
-{
- QMessageBox::about (parent, tr("About D-Bus Plugin"),
- tr("Qmmp D-Bus Plugin")+"\n"+
- tr("Writen by: Ilya Kotov <forkotov02@hotmail.ru>"));
-}
-
-QTranslator *DBUSControlFactory::createTranslator(QObject *parent)
-{
- QTranslator *translator = new QTranslator(parent);
- QString locale = QLocale::system().name();
- translator->load(QString(":/dbuscontrol_plugin_") + locale);
- return translator;
-}
-
-Q_EXPORT_PLUGIN(DBUSControlFactory)
diff --git a/src/plugins/General/dbuscontrol/dbuscontrolfactory.h b/src/plugins/General/dbuscontrol/dbuscontrolfactory.h
deleted file mode 100644
index af06b30bc..000000000
--- a/src/plugins/General/dbuscontrol/dbuscontrolfactory.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
- * forkotov02@hotmail.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., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-#ifndef STATUSICONFACTORY_H
-#define STATUSICONFACTORY_H
-
-/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
-*/
-#include <QObject>
-#include <QTranslator>
-
-#include <qmmpui/general.h>
-#include <qmmpui/generalfactory.h>
-
-class DBUSControlFactory : public QObject, public GeneralFactory
-{
-Q_OBJECT
-Q_INTERFACES(GeneralFactory);
-public:
- const GeneralProperties properties() const;
- General *create(QObject *parent);
- QDialog *createConfigDialog(QWidget *parent);
- void showAbout(QWidget *parent);
- QTranslator *createTranslator(QObject *parent);
-
-};
-
-#endif
diff --git a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_cs.ts b/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_cs.ts
deleted file mode 100644
index 19acbfa81..000000000
--- a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_cs.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="cs">
-<context>
- <name>DBUSControlFactory</name>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="29"/>
- <source>D-Bus Plugin</source>
- <translation>Modul D-Bus</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="48"/>
- <source>About D-Bus Plugin</source>
- <translation>O modulu D-Bus</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="49"/>
- <source>Qmmp D-Bus Plugin</source>
- <translation>Modul Qmmp D-Bus</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="50"/>
- <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
- <translation>Autor: Ilja Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
- </message>
-</context>
-</TS>
diff --git a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_de.ts b/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_de.ts
deleted file mode 100644
index be6fae6c1..000000000
--- a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_de.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="de">
-<context>
- <name>DBUSControlFactory</name>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="29"/>
- <source>D-Bus Plugin</source>
- <translation>D-Bus Plugin</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="48"/>
- <source>About D-Bus Plugin</source>
- <translation>Über D-Bus Plugin</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="49"/>
- <source>Qmmp D-Bus Plugin</source>
- <translation>Qmmp D-Bus Plugin</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="50"/>
- <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
- <translation>Autor: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
- </message>
-</context>
-</TS>
diff --git a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_ru.ts b/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_ru.ts
deleted file mode 100644
index aaaa99ab8..000000000
--- a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_ru.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="ru">
-<context>
- <name>DBUSControlFactory</name>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="29"/>
- <source>D-Bus Plugin</source>
- <translation>Модуль D-Bus</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="48"/>
- <source>About D-Bus Plugin</source>
- <translation>О модуле D-bus</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="49"/>
- <source>Qmmp D-Bus Plugin</source>
- <translation>Модуль D-Bus для Qmmp</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="50"/>
- <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
- <translation>Разработчик: Илья Котов &lt;forkotov02@hotmail.ru&gt;</translation>
- </message>
-</context>
-</TS>
diff --git a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_uk_UA.ts b/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_uk_UA.ts
deleted file mode 100644
index 787c9b70c..000000000
--- a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_uk_UA.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="uk">
-<defaultcodec></defaultcodec>
-<context>
- <name>DBUSControlFactory</name>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="29"/>
- <source>D-Bus Plugin</source>
- <translation>Модуль D-Bus</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="48"/>
- <source>About D-Bus Plugin</source>
- <translation>Про модуль D-bus</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="49"/>
- <source>Qmmp D-Bus Plugin</source>
- <translation>Модуль D-Bus для Qmmp</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="50"/>
- <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
- <translation>Розробник: Ілля Котов &lt;forkotov02@hotmail.ru&gt;</translation>
- </message>
-</context>
-</TS>
diff --git a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_CN.ts b/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_CN.ts
deleted file mode 100644
index a2fb5d6ce..000000000
--- a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_CN.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="zh_CN">
-<context>
- <name>DBUSControlFactory</name>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="29"/>
- <source>D-Bus Plugin</source>
- <translation>D-Bus 插件</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="48"/>
- <source>About D-Bus Plugin</source>
- <translation>关于 D-Bus 插件</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="49"/>
- <source>Qmmp D-Bus Plugin</source>
- <translation>Qmmp D-Bus 插件</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="50"/>
- <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
- <translation>作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
- </message>
-</context>
-</TS>
diff --git a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_TW.ts b/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_TW.ts
deleted file mode 100644
index eeafbc6b6..000000000
--- a/src/plugins/General/dbuscontrol/translations/dbuscontrol_plugin_zh_TW.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="zh_TW">
-<context>
- <name>DBUSControlFactory</name>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="29"/>
- <source>D-Bus Plugin</source>
- <translation>D-Bus 插件</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="48"/>
- <source>About D-Bus Plugin</source>
- <translation>關於 D-Bus 插件</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="49"/>
- <source>Qmmp D-Bus Plugin</source>
- <translation>Qmmp D-Bus 插件</translation>
- </message>
- <message>
- <location filename="../dbuscontrolfactory.cpp" line="50"/>
- <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
- <translation>作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
- </message>
-</context>
-</TS>
diff --git a/src/plugins/General/dbuscontrol/translations/translations.qrc b/src/plugins/General/dbuscontrol/translations/translations.qrc
deleted file mode 100644
index da4731d6c..000000000
--- a/src/plugins/General/dbuscontrol/translations/translations.qrc
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE RCC>
-<RCC version="1.0">
- <qresource>
- <file>dbuscontrol_plugin_cs.qm</file>
- <file>dbuscontrol_plugin_de.qm</file>
- <file>dbuscontrol_plugin_zh_CN.qm</file>
- <file>dbuscontrol_plugin_zh_TW.qm</file>
- <file>dbuscontrol_plugin_ru.qm</file>
- <file>dbuscontrol_plugin_uk_UA.qm</file>
- </qresource>
-</RCC>