private:
QProcess * vpnProcess;
VPNSTATUS vpnStatus;
- void setStatus (VPNSTATUS newStatus);
+ QStringList arguments;
QString server;
unsigned int port;
bool compressed;
bool useTLS;
int tlsDirection;
+ void collectArguments ();
+ void setStatus (VPNSTATUS newStatus);
+ void addArgument (QString key, QString value);
+ void addArgument (QString key);
+ void addOption (QString key, bool add);
+ void addValue (QString key);
public:
explicit VPNControl(QObject *parent = 0);