Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef QUIT_H
#define QUIT_H
#include <QWidget>
#include <fstream>
#include <iostream>
using namespace std;
namespace Ui {
class quit;
}
class quit : public QWidget
{
Q_OBJECT
public:
explicit quit(QWidget *parent = nullptr);
~quit();
void string_writeconfig(string file, string config_option) {
ofstream fhandler;
fhandler.open(file);
fhandler << config_option;
fhandler.close();
}
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_4_clicked();
void on_backBtn_clicked();
void on_pushButton_3_clicked();
private:
Ui::quit *ui;
};
#endif // QUIT_H