-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathencryptionwindow.h
More file actions
45 lines (33 loc) · 800 Bytes
/
encryptionwindow.h
File metadata and controls
45 lines (33 loc) · 800 Bytes
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
#ifndef ENCRYPTIONWINDOW_H
#define ENCRYPTIONWINDOW_H
#pragma once
#include <QDialog>
class MainWindow;
namespace Ui {
class encryptionwindow;
}
class encryptionwindow : public QDialog
{
Q_OBJECT
public:
explicit encryptionwindow(QWidget *parent = nullptr, bool = false);
~encryptionwindow();
void printError(QString);
QString getEncrytionKey();
QByteArray getChallenge();
bool getRecievingEncryption();
uint fails = 0;
void changeStatus(QString);
void resetButtonUI();
void sendAccept();
void sendReject();
QByteArray challenge;
private:
Ui::encryptionwindow *ui;
MainWindow *mainWindow;
bool recievingEncryption;
private slots:
void on_OkButton_clicked();
void on_Cancel_clicked();
};
#endif // ENCRYPTIONWINDOW_H