-
Notifications
You must be signed in to change notification settings - Fork 0
/
qutubedl.h
49 lines (38 loc) · 825 Bytes
/
qutubedl.h
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
44
45
46
47
48
49
#ifndef QUTUBEDL_H
#define QUTUBEDL_H
#include <QWidget>
#include <QProcess>
#include <QString>
namespace Ui {
class Qutubedl;
}
class Qutubedl : public QWidget
{
Q_OBJECT
public:
explicit Qutubedl(QWidget *parent = 0);
~Qutubedl();
private slots:
void on_Go_pb_clicked();
void disable_go();
void enable_go();
void readoutput();
void on_get_fmt_pb_clicked();
void on_updt_bcknd_pb_clicked();
void on_stop_pb_clicked();
private:
Ui::Qutubedl *ui;
QProcess *youtube=new QProcess(this);
QString f_output;
QString f_cb;
int i=0,z=0;
QString youtube_path;
QString Url;
QString proxy;
QString fmt;
void get_texts();
void click_handle(QStringList argument);
void button_handle();
void youtube_d_handle();
};
#endif // QUTUBEDL_H