diff --git a/mainwindow.cpp b/mainwindow.cpp index 9db2498..0027163 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -314,3 +314,18 @@ void MainWindow::on_next_btn_clicked() { player_rewind_or_forward(10); // 快退 10 秒 } + +void MainWindow::on_mute_btn_clicked() +{ + +} + +void MainWindow::on_volume_down_btn_clicked() +{ + +} + +void MainWindow::on_volume_up_btn_clicked() +{ + +} diff --git a/mainwindow.h b/mainwindow.h index 40fafc7..efebef3 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -47,7 +47,7 @@ public: public slots: void playNextSong(); // 切换歌曲槽函数I void playLastSong(); - void player_rewind_or_forward(int seconds); // 快进快退函数 + void player_rewind_or_forward(int seconds); // 快进快退函数 void setCurrentTimeLabel(int time); // 设置当前时间标签槽函数 void setCurrentSlider(int currentProgress); // 设置当前进度条 @@ -62,6 +62,16 @@ private slots: void on_front_btn_clicked(); + void on_last_btn_clicked(); + + void on_next_btn_clicked(); + + void on_mute_btn_clicked(); + + void on_volume_down_btn_clicked(); + + void on_volume_up_btn_clicked(); + private: Ui::MainWindow *ui; };