-
Notifications
You must be signed in to change notification settings - Fork 0
/
transferdata.h
54 lines (45 loc) · 1.31 KB
/
transferdata.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
#ifndef TRANSFERDATA_H
#define TRANSFERDATA_H
#include <QDialog>
// ====================
// Forward Declarations
// ====================
namespace Ui {
class transferData;
}
// ====================
// transferData Class
// ====================
class transferData : public QDialog
{
Q_OBJECT
// ====================
// Public Methods
// ====================
public:
explicit transferData(QWidget *parent = nullptr); // Constructor
~transferData(); // Destructor
// ====================
// Signal Declarations
// ====================
signals:
void backButtonPressed(); // Signal emitted when the back button is pressed
// ====================
// Private Slots
// ====================
private slots:
void on_backButton_clicked(); // Handle back button click
void on_exportButton_clicked(); // Handle export button click
void on_importButton_clicked(); // Handle import button click
// ====================
// Private Methods
// ====================
private:
void saveEncryptedDataToFile(const QString &passId, const QByteArray &encryptedData); // Save encrypted data to file
// ====================
// Private Members
// ====================
private:
Ui::transferData *ui; // User interface pointer
};
#endif // TRANSFERDATA_H