aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/qsui/hotkeyeditor.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-09-01 17:57:05 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-09-01 17:57:05 +0000
commitcff18fc980fcc031613a3e7d0bd32fe47bded6c7 (patch)
tree4ccf0052734c1314c373322573e7015ae132c591 /src/plugins/Ui/qsui/hotkeyeditor.cpp
parent5f0246e0ad17d3f317cfdc1569f51f85287a495c (diff)
downloadqmmp-cff18fc980fcc031613a3e7d0bd32fe47bded6c7.tar.gz
qmmp-cff18fc980fcc031613a3e7d0bd32fe47bded6c7.tar.bz2
qmmp-cff18fc980fcc031613a3e7d0bd32fe47bded6c7.zip
dropped some old libs
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8279 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/qsui/hotkeyeditor.cpp')
0 files changed, 0 insertions, 0 deletions
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 <QtGui> #include <qmmp/qmmp.h> #include "settingsdialog.h" #include "halplugin.h" #include "halfactory.h" const GeneralProperties HalFactory::properties() const { GeneralProperties properties; properties.name = tr("HAL Plugin"); properties.shortName = "hal"; properties.hasAbout = true; properties.hasSettings = true; properties.visibilityControl = false; return properties; } QObject *HalFactory::create(QObject *parent) { return new HalPlugin(parent); } QDialog *HalFactory::createConfigDialog(QWidget *parent) { return new SettingsDialog(parent); } void HalFactory::showAbout(QWidget *parent) { QMessageBox::about (parent, tr("About HAL Plugin"), tr("Qmmp HAL Plugin") + "\n" + tr("This plugin provides removable devices detection using HAL") + "\n" + tr("Written by: Ilya Kotov <forkotov02@hotmail.ru>") + "\n" + tr("Based on Solid (KDE hardware library)")); } QTranslator *HalFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); QString locale = Qmmp::systemLanguageID(); translator->load(QString(":/hal_plugin_") + locale); return translator; } Q_EXPORT_PLUGIN2(hal, HalFactory)