From df265f7f4cfb8343197ed86f5c20fb2d14c51b0f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 12 Feb 2020 09:01:31 -0500 Subject: Localization and library system in progress --- player.h | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'player.h') diff --git a/player.h b/player.h index 69d035e..f0cb0b9 100644 --- a/player.h +++ b/player.h @@ -1,8 +1,28 @@ +/* + AleePlayer: Music player in Qt + Copyright (C) 2020 Alee Productions + + 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 3 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, see . +*/ #ifndef PLAYER_H #define PLAYER_H #include - +#include #include +#include +#include +#include QT_BEGIN_NAMESPACE namespace Ui { class Player; } @@ -17,7 +37,10 @@ public: ~Player(); QMediaPlayer* mPlayer = new QMediaPlayer(); + int amount = 0; + private slots: + void on_actionQuit_triggered(); void on_playButton_pressed(); @@ -42,5 +65,7 @@ private slots: private: Ui::Player *ui; + QString mFile; + QStringListModel *model; }; #endif // PLAYER_H -- cgit v1.2.3