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

#include <CountryInfo.h>

Inheritance diagram for CountryInfo:

Public Member Functions

 CountryInfo (QObject *parent=0)
 

Static Public Member Functions

static QString countryName (const QString &countryCode)
 
static QPair< float, float > countryLocation (const QString &countryCode)
 

Detailed Description

Definition at line 25 of file CountryInfo.h.

Constructor & Destructor Documentation

§ CountryInfo()

CountryInfo::CountryInfo ( QObject *  parent = 0)

Default constructor.

Definition at line 28 of file CountryInfo.cpp.

Member Function Documentation

§ countryLocation()

QPair< float, float > CountryInfo::countryLocation ( const QString &  countryCode)
static

§ countryName()

QString CountryInfo::countryName ( const QString &  countryCode)
static

Returns the name of the country represented by countryCode, where countryCode is a 2-letter ISO 3166-1 alpha-2 two-letter country code. The name will be returned translated to the current locale if an appropriate QTranslator is currently installed.

Definition at line 34 of file CountryInfo.cpp.

Referenced by GeoIpResolver::resolveUsingLocalDatabase(), GeoIpResolver::resolveUsingTor(), and BridgeUsageDialog::update().


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