aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/gme/settingsdialog.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-03-10 16:41:22 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-03-10 16:41:22 +0000
commitd0410efb806718095fbea725e88695cc463a0c0a (patch)
tree65bca279c473cf7af4a909f278e07f3e52b0fafb /src/plugins/Input/gme/settingsdialog.cpp
parentee59d7430e43ecd3e9bd5867875278dcdfc80e70 (diff)
downloadqmmp-d0410efb806718095fbea725e88695cc463a0c0a.tar.gz
qmmp-d0410efb806718095fbea725e88695cc463a0c0a.tar.bz2
qmmp-d0410efb806718095fbea725e88695cc463a0c0a.zip
refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8754 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/gme/settingsdialog.cpp')
0 files changed, 0 insertions, 0 deletions
- Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #include <QtGui> #include "lyrics.h" #include "lyricsfactory.h" const GeneralProperties LyricsFactory::properties() const { GeneralProperties properties; properties.name = tr("Lyrics Plugin"); properties.shortName = "lyrics"; properties.hasAbout = TRUE; properties.hasSettings = FALSE; properties.visibilityControl = FALSE; return properties; } General *LyricsFactory::create(QObject *parent) { return new Lyrics(parent); } QDialog *LyricsFactory::createConfigDialog(QWidget *parent) { Q_UNUSED(parent); return 0; } void LyricsFactory::showAbout(QWidget *parent) { QMessageBox::about (parent, tr("About Lyrics Plugin"), tr("Qmmp Lyrics Plugin")+"\n"+ tr("This plugin retrieves lyrics from LyricWiki.org")+"\n"+ tr("Writen by: Ilya Kotov <forkotov02@hotmail.ru>")); } QTranslator *LyricsFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); QString locale = QLocale::system().name(); translator->load(QString(":/lyrics_plugin_") + locale); return translator; } Q_EXPORT_PLUGIN(LyricsFactory)