Logo Search packages:      
Sourcecode: l2tp-ipsec-vpn version File versions  Download package

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Friends

CommonSettings Class Reference

Inheritance diagram for CommonSettings:
Inheritance graph
Collaboration diagram for CommonSettings:
Collaboration graph

List of all members.

Public Types

enum  Result { Ok, InvalidName, DuplicateName, ReadOnly }

Public Member Functions

Result addConnection (const QString &strName) const
bool autoConnect () const
void clearChanged ()
CommonSettings commonSettings (const QString &strName) const
QString connection (int iConnectionNo) const
int connections () const
QString gateway (const QString &strName) const
bool hasChanged () const
IPSecSettings ipsecSettings (const QString &strName) const
bool isWriteable () const
L2tpSettings l2tpSettings (const QString &strName) const
QString name (const QHostAddress &gateway) const
PppSettings pppSettings (const QString &strName) const
bool removeConnection (int iConnectionNo) const
bool setAutoConnect (bool fAutoConnect) const

Protected Member Functions

int connectionNo () const
bool getBoolValue (const QString &strPath, bool fDefault=false) const
int getIntValue (const QString &strPath, int iDefault=0) const
QString getSecret (const QString &strPath) const
QString getStringValue (const QString &strPath) const
QSettings * qSettings () const
bool removeArrayItem (const QString &strArrayName, int iIndex) const
QString routeProperty (int iRow, const QString strPropertyName) const
bool setRouteProperty (const QString &strValue, int iRow, const QString strPropertyName) const
bool setSecret (const QString &strValue, const QString &strPath) const
bool setValue (const QString &strValue, const QString &strPath) const
bool setValue (int iValue, const QString &strPath) const
bool setValue (bool fValue, const QString &strPath) const

Private Member Functions

 CommonSettings (int iConnectionNo)
CommonSettingsoperator= (const CommonSettings &orig)


class ConnectionSettings

Detailed Description

Definition at line 84 of file ConnectionSettings.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index