Mapper  0.9.0
API documentation
Public Member Functions | Public Attributes | List of all members
OpenOrienteering::TranslationUtil::Language Struct Reference

A struct for representing the language of a translation. More...

#include <translation_util.h>

Collaboration diagram for OpenOrienteering::TranslationUtil::Language:
Collaboration graph
[legend]

Public Member Functions

bool isValid () const
 Returns true when the object holds valid data. More...
 

Public Attributes

QString code
 The code defining the language. More...
 
QString displayName
 The display name of the language. More...
 

Detailed Description

A struct for representing the language of a translation.

This struct is independent of QLocale limitations for languages like Esperanto.

Member Function Documentation

◆ isValid()

bool OpenOrienteering::TranslationUtil::Language::isValid ( ) const
inline

Returns true when the object holds valid data.

Member Data Documentation

◆ code

QString OpenOrienteering::TranslationUtil::Language::code

The code defining the language.

See also
QLocale::name()

◆ displayName

QString OpenOrienteering::TranslationUtil::Language::displayName

The display name of the language.


The documentation for this struct was generated from the following file: