forked from Michael33881/adbLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreferencesdialog.h
executable file
·89 lines (52 loc) · 1.61 KB
/
preferencesdialog.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H
#include <QDialog>
namespace Ui {
class preferencesDialog;
}
class preferencesDialog : public QDialog
{
Q_OBJECT
public:
explicit preferencesDialog(QWidget *parent = 0 );
void setPackagename(const QString &packagename);
void setPulldir(const QString &pulldir);
void setversioncheck(const bool &versioncheck);
void setisusb(const bool &isusb);
void setversionLabel(const QString &versiontext);
void setdevicename(const QString &device_name);
void setdaddr(const QString &daddr);
void setdescription(const QString &description);
void setfilepath(const QString &filepath);
void setdataroot(const QString &data_root);
void setdeviceindex(const int &deviceindex);
void setport(const QString &port);
void setadb_pref(const QString &adb_pref);
void setrecnum(const QString &recnum);
~preferencesDialog();
public:
QString xbmcpackageName();
QString pulldir();
QString daddr();
QString description();
QString filepath();
QString data_root();
QString port();
bool versioncheck();
bool isusb();
int returnval1();
private slots:
void on_pfolderButton_clicked();
void on_getUpdate_clicked();
void onRequestCompleted();
void on_pushButton_clicked();
void on_kodiButton_clicked();
void on_spmcButton_clicked();
void on_otherButton_clicked();
void on_tvmcButton_clicked();
void on_isusb_clicked(bool checked);
void on_listkodirootBox_clicked();
private:
Ui::preferencesDialog *ui;
};
#endif // PREFERENCESDIALOG_H