OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
TextTranslatorLanguage Class Reference

Public Member Functions

 TextTranslatorLanguage (const char *vlocalename)
 
bool addFile (const char *filename)
 
const QLocale & getLanguageLocale () const
 
const QString & getLanguageName () const
 
BufferString getLocaleName () const
 
const QTranslator * getTranslator (const char *appl) const
 
bool load ()
 

Protected Attributes

BufferStringSet applications_
 
BufferStringSet filenames_
 
QString * languagename_
 
bool loaded_
 
QLocale * locale_
 
BufferString localename_
 
ObjectSet< QTranslator > translators_
 

Detailed Description

Holds the translation for one language. Each language has its own locale code, (such as en-us)

<>

Constructor & Destructor Documentation

◆ TextTranslatorLanguage()

TextTranslatorLanguage::TextTranslatorLanguage ( const char *  vlocalename)

Member Function Documentation

◆ addFile()

bool TextTranslatorLanguage::addFile ( const char *  filename)

◆ getLanguageLocale()

const QLocale& TextTranslatorLanguage::getLanguageLocale ( ) const

◆ getLanguageName()

const QString& TextTranslatorLanguage::getLanguageName ( ) const

◆ getLocaleName()

BufferString TextTranslatorLanguage::getLocaleName ( ) const

◆ getTranslator()

const QTranslator* TextTranslatorLanguage::getTranslator ( const char *  appl) const

◆ load()

bool TextTranslatorLanguage::load ( )

Member Data Documentation

◆ applications_

BufferStringSet TextTranslatorLanguage::applications_
protected

◆ filenames_

BufferStringSet TextTranslatorLanguage::filenames_
protected

◆ languagename_

QString* TextTranslatorLanguage::languagename_
protected

◆ loaded_

bool TextTranslatorLanguage::loaded_
protected

◆ locale_

QLocale* TextTranslatorLanguage::locale_
protected

◆ localename_

BufferString TextTranslatorLanguage::localename_
protected

◆ translators_

ObjectSet<QTranslator> TextTranslatorLanguage::translators_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022