-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
executable file
·329 lines (159 loc) · 5.17 KB
/
mainwindow.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QProcess>
#include <QMessageBox>
#include "usbfiledialog.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void onReqCompleted();
void on_actionAbout_triggered();
void on_connButton_clicked();
void on_sideload_Button_clicked();
void on_disButton_clicked();
void on_actionQuit_triggered();
void on_uninstall_Button_clicked();
bool installAPK(QString filename);
void on_actionHelp_triggered();
void on_backupButton_clicked();
void open_pref_database();
void add_disableroot();
void on_restoreButton_clicked();
void cacheButton_other();
void cacheButton_android();
void on_pushRemote_clicked();
void on_adbshellButton_clicked();
void splashButton_android();
void splashButton_other();
void finishedCopy1();
void finishedCopy2();
// void notAndroid();
// void isAndroid();
void delay(int secs);
void insertDevice();
void backupAndroid();
void busybox_permissions();
void createTables();
void createPrefTables();
void editAndroid();
void editOther();
QString getadb();
void finishedLocalBackup();
void delayTimer(int rdelay);
void TimerEvent();
QString RunProcess(QString cstring);
QString RunLongProcess(QString cstring, QString jobname);
void updateDeviceRecord();
void usbbuttons(bool isusb);
void rotate_logfile();
void logfile(QString line);
void rebootDevice(QString reboot);
bool mount_system(QString mnt);
bool fileExists(QString path);
bool is_su();
bool is_busybox();
QString strip (QString str);
void default_device_values();
void blank_entry_form();
void kill_server();
void start_server();
bool check_Connection();
// void adberror();
bool is_package(QString package);
int getRows();
bool find_daddr(QString);
void updateRoot();
void androidLog();
void updateDevice();
void copyFolder(QString sourceFolder, QString destFolder);
void kodiFolder(QString sourceFolder, QString destFolder);
void getRecord(QString descrip);
void on_actionReboot_triggered();
void otherLog();
void deleteRecord(QString descrip);
bool isConnectedToNetwork();
bool searchlistDevices(QString mstring);
void addcolumn1();
void on_actionRecovery_triggered();
void device_clicked(QString item);
void on_donate_clicked();
void get_data();
// void on_actionView_Log_triggered();
void on_actionDownload_Kodi_triggered();
void on_editRecord_clicked();
void dataentry(int flag);
void data_external(QString externallocation);
void data_internal(QString externallocation);
void loaddevicebox();
void examinedatabase();
void on_doConsole_clicked();
void on_killServer_clicked();
void on_refreshConnectedDevices_clicked();
bool record_exists(QString descrip);
QString getDescription(QString mdaddr);
void on_newRecord_clicked();
void androidRemote();
void otherRemote();
void on_delRecord_clicked();
void on_cacheButton_clicked();
void on_splashButton_clicked();
void on_mvdataButton_clicked();
void on_actionView_Kodi_Log_triggered();
void on_actionView_adbLink_Log_triggered();
void on_screencapButton_clicked();
// void on_actionMount_R_W_triggered();
//void on_actionMount_filesystem_R_O_triggered();
void restoreAndroid();
/*
void on_fdellButton_clicked();
void on_fpushButton_clicked();
void on_fpullButton_clicked();
void on_fclearButton_clicked();
*/
void backupOther();
void restoreOther();
void on_actionEdit_XML_files_triggered();
void on_actionPaste_path_triggered();
void on_actionStop_Application_triggered();
void on_actionStart_Application_triggered();
void on_keypadButton_clicked();
void on_fmButton_clicked();
void on_editButton_clicked();
void on_actionMount_system_RO_triggered();
void on_actionMount_system_RW_triggered();
void on_actionWireless_ADBD_triggered();
void on_actionKodi_data_usage_triggered();
void on_deviceBox_currentIndexChanged(const QString &arg1);
void on_listDevices_clicked(const QModelIndex &index);
void on_listDevices_doubleClicked(const QModelIndex &index);
void on_clearButton_clicked();
void on_actionReboot_bootloader_triggered();
void on_actionPreferences_triggered();
void updateckversion(int value);
void updateMsgboxtype(int value);
void updatedownloaddir(QString value);
QString getDaddr(QString descrip);
bool getadbPref();
bool getmsgboxtype();
bool check_devices();
QString getdownloadpath();
void on_actionDown_SPMC_triggered();
void on_adhocip_returnPressed();
void on_actionGet_package_name_triggered();
void on_actionReiinstall_Busybox_triggered();
void on_actionArchitecture_triggered();
void on_actionSleep_adjust_triggered();
private:
Ui::MainWindow *ui;
usbfileDialog *fmdialog;
QStringList RunProcessList;
};
#endif // MAINWINDOW_H