StatusEvent Class Reference

#include <statusevent.h>

Inheritance diagram for StatusEvent:

ClientStatusEvent GeneralStatusEvent ServerStatusEvent BootstrapStatusEvent CircuitEstablishedEvent UnrecognizedClientStatusEvent DangerousVersionEvent UnrecognizedGeneralStatusEvent UnrecognizedServerStatusEvent List of all members.

Public Member Functions

 StatusEvent (QEvent::Type type, tc::Severity severity)
tc::Severity severity () const

Static Public Member Functions

static tc::Severity severityFromString (const QString &str)

Private Attributes

tc::Severity _severity

Detailed Description

Definition at line 26 of file statusevent.h.


Constructor & Destructor Documentation

StatusEvent::StatusEvent ( QEvent::Type  type,
tc::Severity  severity 
) [inline]

Constructor

Definition at line 30 of file statusevent.h.


Member Function Documentation

tc::Severity StatusEvent::severity (  )  const [inline]

Returns the severity of this status event.

Definition at line 34 of file statusevent.h.

References _severity.

static tc::Severity StatusEvent::severityFromString ( const QString &  str  )  [static]

Returns a StatusEvent::Severity enum value for the severity represented by str.


Member Data Documentation

tc::Severity StatusEvent::_severity [private]

Severity of this status event.

Definition at line 40 of file statusevent.h.

Referenced by severity().


The documentation for this class was generated from the following file:
Generated on Tue Jul 7 17:00:57 2009 for Vidalia by  doxygen 1.4.7