Vidalia 0.2.10
Public Member Functions | Static Public Member Functions

CountryInfo Class Reference

#include <CountryInfo.h>

List of all members.

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 26 of file CountryInfo.h.


Constructor & Destructor Documentation

CountryInfo::CountryInfo ( QObject *  parent = 0)

Default constructor.

Definition at line 29 of file CountryInfo.cpp.


Member Function Documentation

QPair< float, float > CountryInfo::countryLocation ( const QString &  countryCode) [static]
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 35 of file CountryInfo.cpp.

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


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