diff --git a/LICENSE.background b/LICENSE.background deleted file mode 100644 --- a/LICENSE.background +++ /dev/null @@ -1 +0,0 @@ -The background image os by Edward Betts (Own work) [CC BY-SA 3.0], via Wikimedia Commons diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,7 +4,6 @@ set(elisa_SOURCES main.cpp mediaplaylist.cpp - musicstatistics.cpp musicalbum.cpp musicaudiotrack.cpp musicartist.cpp @@ -234,7 +233,6 @@ elisaimportapplication.cpp elisaapplication.cpp mediaplaylist.cpp - musicstatistics.cpp musicalbum.cpp musicaudiotrack.cpp musicartist.cpp diff --git a/src/main.cpp b/src/main.cpp --- a/src/main.cpp +++ b/src/main.cpp @@ -42,7 +42,6 @@ #include "managemediaplayercontrol.h" #include "manageheaderbar.h" #include "manageaudioplayer.h" -#include "musicstatistics.h" #include "musicaudiotrack.h" #include "musiclistenersmanager.h" #include "models/allalbumsmodel.h" @@ -152,7 +151,6 @@ qmlRegisterType("org.kde.elisa", 1, 0, "ManageMediaPlayerControl"); qmlRegisterType("org.kde.elisa", 1, 0, "ManageHeaderBar"); qmlRegisterType("org.kde.elisa", 1, 0, "ManageAudioPlayer"); - qmlRegisterType("org.kde.elisa", 1, 0, "MusicStatistics"); qmlRegisterType("org.kde.elisa", 1, 0, "ProgressIndicator"); qmlRegisterType("org.kde.elisa", 1, 0, "MusicListenersManager"); qmlRegisterType("org.kde.elisa", 1, 0, "AllAlbumsProxyModel"); diff --git a/src/models/allalbumsmodel.h b/src/models/allalbumsmodel.h --- a/src/models/allalbumsmodel.h +++ b/src/models/allalbumsmodel.h @@ -31,7 +31,6 @@ #include class AllAlbumsModelPrivate; -class MusicStatistics; class AllArtistsModel; class AllAlbumsModel : public QAbstractItemModel diff --git a/src/models/allalbumsmodel.cpp b/src/models/allalbumsmodel.cpp --- a/src/models/allalbumsmodel.cpp +++ b/src/models/allalbumsmodel.cpp @@ -18,7 +18,6 @@ */ #include "allalbumsmodel.h" -#include "musicstatistics.h" #include "databaseinterface.h" #include "allartistsmodel.h" #include "albummodel.h" diff --git a/src/musicstatistics.h b/src/musicstatistics.h deleted file mode 100644 --- a/src/musicstatistics.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2016 Matthieu Gallien - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef MUSICSTATISTICS_H -#define MUSICSTATISTICS_H - -#include - -#include "musicalbum.h" -#include "musicaudiotrack.h" - -class MusicStatistics : public QObject -{ - Q_OBJECT -public: - explicit MusicStatistics(QObject *parent = nullptr); - -Q_SIGNALS: - -public Q_SLOTS: - - void newAlbum(const MusicAlbum &album); - - void newAudioTrack(const MusicAudioTrack &audioTrack); - -}; - -#endif // MUSICSTATISTICS_H diff --git a/src/musicstatistics.cpp b/src/musicstatistics.cpp deleted file mode 100644 --- a/src/musicstatistics.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2016 Matthieu Gallien - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#include "musicstatistics.h" - -#include - -MusicStatistics::MusicStatistics(QObject *parent) : QObject(parent) -{ -} - -void MusicStatistics::newAlbum(const MusicAlbum &album) -{ - Q_UNUSED(album); -} - -void MusicStatistics::newAudioTrack(const MusicAudioTrack &audioTrack) -{ - qDebug() << "new audio track" << audioTrack.albumName() << audioTrack.title() << audioTrack.artist() << audioTrack.duration(); -} - - -#include "moc_musicstatistics.cpp" -