Vidalia  0.3.1
Public Types | Static Public Member Functions | List of all members
ControlMethod Class Reference

#include <ControlMethod.h>

Public Types

enum  Method { Port, Socket }
 

Static Public Member Functions

static QString toString (ControlMethod::Method method)
 
static Method fromString (QString method)
 

Detailed Description

Definition at line 21 of file ControlMethod.h.

Member Enumeration Documentation

§ Method

Enumerator
Port 
Socket 

Definition at line 24 of file ControlMethod.h.

Member Function Documentation

§ fromString()

ControlMethod::Method ControlMethod::fromString ( QString  method)
static

Definition at line 36 of file ControlMethod.cpp.

References Port, and Socket.

Referenced by TorSettings::getControlMethod().

§ toString()

QString ControlMethod::toString ( ControlMethod::Method  method)
static

Definition at line 19 of file ControlMethod.cpp.

References Port, and Socket.

Referenced by TorSettings::setControlMethod().


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