forked from mss/securepoint-openvpn-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deleteconfig.h
40 lines (33 loc) · 850 Bytes
/
deleteconfig.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
#ifndef DELETECONFIG_H
#define DELETECONFIG_H
#include <QtGui>
#include <QShowEvent>
#include "openvpn.h"
namespace Ui {
class DeleteConfig;
}
class DeleteConfig : public QDialog {
Q_OBJECT
public:
static DeleteConfig *getInstance ();
void setOpenVpnObject (OpenVpn *obj);
OpenVpn *getOpenVpnObject ();
protected:
void changeEvent(QEvent *e);
void showEvent (QShowEvent *e);
private:
static DeleteConfig *mInst;
DeleteConfig();
Ui::DeleteConfig *m_ui;
OpenVpn *obj;
QString getCAFromConfig ();
QString getP12FromConfig ();
QString getCertFromConfig ();
QString getKeyFromConfig ();
QString explorerPath;
private slots:
void on_cmdDelete_clicked();
void on_cmdCancel_clicked();
void openExplorer ();
};
#endif // DELETECONFIG_H