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

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

ConnectionState Class Reference

Inheritance diagram for ConnectionState:
Inheritance graph
Collaboration diagram for ConnectionState:
Collaboration graph

List of all members.

Public Types

enum  State {
  NotConnected, Connecting, Disconnecting, Connected,

Public Member Functions

 ConnectionState (QSystemTrayIcon *pTrayIcon, const QString &strHostName, const QString &strMsgTitle, const QString &strMsgBody, const QIcon &icon, const QSystemTrayIcon::MessageIcon &msgIcon, const NetworkInterface &ptpInterface=NetworkInterface::null)
const QString & hostName () const
const QIcon & icon () const
virtual bool isState (State state) const =0
const QString & msgBody () const
QSystemTrayIcon::MessageIcon & 
msgIcon () const
const QString & msgTitle () const
const NetworkInterfaceptpInterface () const

Protected Member Functions

QSystemTrayIcon * trayIcon () const

Private Member Functions

 ConnectionState (const ConnectionState &orig)
ConnectionStateoperator= (const ConnectionState &orig)

Private Attributes

const QIcon m_Icon
const QSystemTrayIcon::MessageIcon m_MsgIcon
const NetworkInterface m_PtpInterface
QSystemTrayIcon *const m_pTrayIcon
const QString m_strHostName
const QString m_strMsgBody
const QString m_strMsgTitle

Detailed Description

Definition at line 37 of file ConnectionState.h.

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

Generated by  Doxygen 1.6.0   Back to index