AddressMapEvent Class Reference

#include <addressmapevent.h>

List of all members.

Public Member Functions

 AddressMapEvent (QString from, QString to, QDateTime expires)
QString from () const
QString to () const
QDateTime expires () const
bool isExpired () const

Private Attributes

QString _from
QString _to
QDateTime _expires


Detailed Description

Definition at line 26 of file addressmapevent.h.


Constructor & Destructor Documentation

AddressMapEvent::AddressMapEvent ( QString  from,
QString  to,
QDateTime  expires 
) [inline]

Constructor

Definition at line 30 of file addressmapevent.h.

References _expires, _from, and _to.


Member Function Documentation

QString AddressMapEvent::from (  )  const [inline]

Returns the source address for this address mapping.

Definition at line 35 of file addressmapevent.h.

References _from.

Referenced by NetViewer::customEvent().

QString AddressMapEvent::to (  )  const [inline]

Returns the target address for this address mapping.

Definition at line 37 of file addressmapevent.h.

References _to.

Referenced by NetViewer::customEvent().

QDateTime AddressMapEvent::expires (  )  const [inline]

Returns the date and time at which this mapping should expire, in local time.

Definition at line 40 of file addressmapevent.h.

References _expires.

Referenced by NetViewer::customEvent().

bool AddressMapEvent::isExpired (  )  const [inline]

Returns true if this address mapping is expired.

Definition at line 42 of file addressmapevent.h.

References _expires.


Member Data Documentation

QString AddressMapEvent::_from [private]

The source address of this mapping.

Definition at line 45 of file addressmapevent.h.

Referenced by AddressMapEvent(), and from().

QString AddressMapEvent::_to [private]

The target address of this mapping.

Definition at line 46 of file addressmapevent.h.

Referenced by AddressMapEvent(), and to().

QDateTime AddressMapEvent::_expires [private]

The time at which this mapping expires (if ever).

Definition at line 47 of file addressmapevent.h.

Referenced by AddressMapEvent(), expires(), and isExpired().


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

Generated on Sat Aug 16 17:31:49 2008 for Vidalia by  doxygen 1.5.6