Sayonara Player
GUI_StreamRecorder.h
1 /* GUI_StreamRecorder.h
2 
3  * Copyright (C) 2011-2017 Lucio Carreras
4  *
5  * This file is part of sayonara-player
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  * created by Lucio Carreras,
21  * May 13, 2012
22  *
23  */
24 
25 #ifndef GUI_STREAMRECORDER_H_
26 #define GUI_STREAMRECORDER_H_
27 
28 #include "Interfaces/PreferenceDialog/PreferenceWidgetInterface.h"
29 
30 namespace Ui { class GUI_StreamRecorder; }
31 
34 {
35  Q_OBJECT
36 
37 public:
38  explicit GUI_StreamRecorder(QWidget* parent=nullptr);
40 
41  void commit() override;
42  void revert() override;
43 
44  QString get_action_name() const override;
45 
46 
47 protected:
48  void init_ui() override;
49  void retranslate_ui() override;
50 
51 private:
52  Ui::GUI_StreamRecorder* ui=nullptr;
53 
54 
55 private slots:
56  void sl_cb_activate_toggled(bool);
57  void sl_btn_path_clicked();
58 };
59 
60 #endif /* GUI_STREAMRECORDER_H_ */
Definition: ui_GUI_SomaFM.h:216
Definition: GUI_StreamRecorder.h:32
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidgetInterface.h:39
Definition: ui_GUI_StreamRecorder.h:139