-
Notifications
You must be signed in to change notification settings - Fork 1
/
accountpage.h
50 lines (36 loc) · 852 Bytes
/
accountpage.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
// Copyright Arnt Gulbrandsen, [email protected].
#ifndef ACCOUNTPAGE_H
#define ACCOUNTPAGE_H
#include <QWizardPage>
#include "backupwizard.h"
#include <QLineEdit>
#include <QLabel>
#include <QPushButton>
#include <QProcess>
class AccountPage: public QWizardPage
{
Q_OBJECT
public:
AccountPage( BackupWizard * parent );
bool isComplete () const override;
signals:
void completeChanged();
private slots:
void act();
void browseForFile();
void browseForCache();
void handleExit(int, QProcess::ExitStatus);
void checkPathNames();
void enableMakeKey();
private:
QLineEdit * file;
QLineEdit * login;
QLineEdit * password;
QLineEdit * host;
QProcess * tarsnap;
QPushButton * makeKey;
QLabel * processStatus;
QLineEdit * cacheDirectory;
bool complete;
};
#endif