-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
woc #19
woc #19
Conversation
@@ -4,7 +4,13 @@ | |||
#include <QAudioOutput> | |||
|
|||
MusicPlayer::MusicPlayer(QObject* parent) : QMediaPlayer(parent), audioOutput(new QAudioOutput(this)) { | |||
// TODO: connect signals and slots | |||
// TODO: connect signals and slots (initially completed) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// TODO: connect signals and slots (initially completed) |
@@ -13,7 +13,14 @@ PlayingSongViewModel::PlayingSongViewModel(QObject* parent) : QObject{parent}, p | |||
&PlayingSongViewModel::playSong); | |||
QObject::connect(NextUpViewModel::getInstance(), &NextUpViewModel::playingSongChanged, this, | |||
&PlayingSongViewModel::setPlayingSong); | |||
// TODO: connect signals and slots | |||
|
|||
// TODO: connect signals and slots (initially completed) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// TODO: connect signals and slots (initially completed) |
}; | ||
|
||
qint64 timeStamp = -1; | ||
qint64 lyric_start_index = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qint64 lyric_start_index = 0; | |
qint64 lyricStartIndex = 0; |
QList<SongLyric> SongLyricList; | ||
|
||
// get rid of jsons of the header | ||
qint64 first_index = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qint64 first_index = 0; | |
quint64 firstIndex = 0; |
(很小声)只做了必做的内容