#include <addressmapevent.h>
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 |
Definition at line 26 of file addressmapevent.h.
AddressMapEvent::AddressMapEvent | ( | QString | from, | |
QString | to, | |||
QDateTime | expires | |||
) | [inline] |
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.
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().