blob: a95ecb2b197d99bf28056e9ff13d61285d66b2f3 (
plain)
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
|
//===========================================
// Lumina-DE source code
// Copyright (c) 2016, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
// This is the dialog for cloning a git repository
//===========================================
#ifndef _LUMINA_FM_GIT_DIALOG_H
#define _LUMINA_FM_GIT_DIALOG_H
#include <QWizard>
#include <QString>
#include <QProcess>
namespace Ui{
class GitWizard;
};
class GitWizard : public QWizard{
Q_OBJECT
public:
GitWizard(QWidget *parent = 0);
~GitWizard();
//Input values;
void setWorkingDir(QString path);
private:
Ui::GitWizard *ui;
QString inDir;
QString assembleURL();
void showDownload(QProcess *P);
private slots:
//Page Change slots
void pageChanged(int newpage); //called when the "next" button is clicked
void finished(int); //called when the "finish" button is clicked
};
#endif
|