Search for usage in LXR

#include <languages.h>

Public Member Functions

 Languages (const Languages &)=delete
 Languages (Languages &&) noexcept=default
Languagesoperator= (const Languages &)=delete
Languagesoperator= (Languages &&)=default

Static Public Member Functions

static KOSM_EXPORT Languages fromQLocale (const QLocale &locale)

Public Attributes

std::vector< std::string > languages

Detailed Description

Member Function Documentation

◆ fromQLocale()

OSM::Languages OSM::Languages::fromQLocale ( const QLocale & locale)

Convert QLocale::uiLanguages() into an OSM::Languages set.

The result should be cached in case of repeated use, QLocale::uiLanguages() is relatively expensive.

Definition at line 40 of file languages.cpp.

Member Data Documentation

◆ languages

std::vector<std::string> OSM::Languages::languages

Definition at line 40 of file languages.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:56:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.