diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-11-04 14:33:07 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-11-04 14:33:07 +0000 |
| commit | d702e2cbfb777184b12a2b232ddd6ab6112900cb (patch) | |
| tree | 540bf4f55cffb3a781e6b8562fa3a6ae50c707bc /src/plugins/General/lyrics | |
| parent | f80b033223797f3f71e8dd465b4d25aae1b5bf05 (diff) | |
| download | qmmp-d702e2cbfb777184b12a2b232ddd6ab6112900cb.tar.gz qmmp-d702e2cbfb777184b12a2b232ddd6ab6112900cb.tar.bz2 qmmp-d702e2cbfb777184b12a2b232ddd6ab6112900cb.zip | |
updated copyright
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9096 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/lyrics')
| -rw-r--r-- | src/plugins/General/lyrics/lyricsfactory.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/General/lyrics/lyricsprovider.cpp | 27 | ||||
| -rw-r--r-- | src/plugins/General/lyrics/lyricsprovider.h | 23 | ||||
| -rw-r--r-- | src/plugins/General/lyrics/ultimatelyricsparser.cpp | 27 | ||||
| -rw-r--r-- | src/plugins/General/lyrics/ultimatelyricsparser.h | 23 |
5 files changed, 97 insertions, 7 deletions
diff --git a/src/plugins/General/lyrics/lyricsfactory.cpp b/src/plugins/General/lyrics/lyricsfactory.cpp index be8b2fee5..83101007e 100644 --- a/src/plugins/General/lyrics/lyricsfactory.cpp +++ b/src/plugins/General/lyrics/lyricsfactory.cpp @@ -49,7 +49,9 @@ void LyricsFactory::showAbout(QWidget *parent) QMessageBox::about (parent, tr("About Lyrics Plugin"), tr("Qmmp Lyrics Plugin")+"\n"+ tr("This plugin retrieves lyrics from LyricWiki")+"\n"+ - tr("Written by: Ilya Kotov <forkotov02@ya.ru>")); + tr("Written by: Ilya Kotov <forkotov02@ya.ru>")+"\n"+ + tr("Based on Ultimate Lyrics script by Vladimir Brkic <vladimir_brkic@yahoo.com>") + ); } QString LyricsFactory::translation() const diff --git a/src/plugins/General/lyrics/lyricsprovider.cpp b/src/plugins/General/lyrics/lyricsprovider.cpp index 755e1ba06..7094163c5 100644 --- a/src/plugins/General/lyrics/lyricsprovider.cpp +++ b/src/plugins/General/lyrics/lyricsprovider.cpp @@ -1,3 +1,26 @@ +/*************************************************************************** + * Copyright (C) 2019 by Ilya Kotov * + * forkotov02@ya.ru * + * * + * Based on Amarok 2 Ultimate Lyrics script * + * Copyright (C) 2009-2010 Vladimir Brkic <vladimir_brkic@yahoo.com> * + * * + * 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 <QtDebug> #include <QRegularExpression> #include <QTextCodec> @@ -5,9 +28,7 @@ #include "lyricsprovider.h" LyricsProvider::LyricsProvider() -{ - -} +{} void LyricsProvider::setName(const QString &name) { diff --git a/src/plugins/General/lyrics/lyricsprovider.h b/src/plugins/General/lyrics/lyricsprovider.h index 734f0749c..fa1489b2d 100644 --- a/src/plugins/General/lyrics/lyricsprovider.h +++ b/src/plugins/General/lyrics/lyricsprovider.h @@ -1,3 +1,26 @@ +/*************************************************************************** + * Copyright (C) 2019 by Ilya Kotov * + * forkotov02@ya.ru * + * * + * Based on Amarok 2 Ultimate Lyrics script * + * Copyright (C) 2009-2010 Vladimir Brkic <vladimir_brkic@yahoo.com> * + * * + * 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 LYRICSPROVIDER_H #define LYRICSPROVIDER_H diff --git a/src/plugins/General/lyrics/ultimatelyricsparser.cpp b/src/plugins/General/lyrics/ultimatelyricsparser.cpp index 07a89684b..f65345555 100644 --- a/src/plugins/General/lyrics/ultimatelyricsparser.cpp +++ b/src/plugins/General/lyrics/ultimatelyricsparser.cpp @@ -1,12 +1,33 @@ +/*************************************************************************** + * Copyright (C) 2019 by Ilya Kotov * + * forkotov02@ya.ru * + * * + * Based on Amarok 2 Ultimate Lyrics script * + * Copyright (C) 2009-2010 Vladimir Brkic <vladimir_brkic@yahoo.com> * + * * + * 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 <QXmlStreamReader> #include <QFile> #include <QtDebug> #include "ultimatelyricsparser.h" UltimateLyricsParser::UltimateLyricsParser() -{ - -} +{} UltimateLyricsParser::~UltimateLyricsParser() { diff --git a/src/plugins/General/lyrics/ultimatelyricsparser.h b/src/plugins/General/lyrics/ultimatelyricsparser.h index a74c57ddb..6474e98ac 100644 --- a/src/plugins/General/lyrics/ultimatelyricsparser.h +++ b/src/plugins/General/lyrics/ultimatelyricsparser.h @@ -1,3 +1,26 @@ +/*************************************************************************** + * Copyright (C) 2019 by Ilya Kotov * + * forkotov02@ya.ru * + * * + * Based on Amarok 2 Ultimate Lyrics script * + * Copyright (C) 2009-2010 Vladimir Brkic <vladimir_brkic@yahoo.com> * + * * + * 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 ULTIMATELYRICSPARSER_H #define ULTIMATELYRICSPARSER_H |
