Public Member Functions | List of all members
iqt::ITranslationManager Class Referenceabstract

Common interface for the localization manager. More...

#include <ITranslationManager.h>

Inheritance diagram for iqt::ITranslationManager:
istd::IPolymorphic iqt::CTranslationManagerComp

Public Member Functions

virtual const iprm::IOptionsListGetLanguagesInfo () const =0
 Get the list of supported languages given as a list of options. More...
 
virtual int GetCurrentLanguageIndex () const =0
 Get current language index. More...
 
virtual const QTranslator * GetLanguageTranslator (int languageIndex) const =0
 Get Qt translator for a given language. More...
 
virtual const ITranslationManagerGetSlaveTranslationManager () const =0
 Get slave translation manager, if set. More...
 
virtual void SwitchLanguage (int languageIndex)=0
 Switch the current language to the language with the index languageIndex. More...
 
virtual void SetSystemLanguage ()=0
 Set default system's language. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Common interface for the localization manager.

Definition at line 18 of file ITranslationManager.h.

Member Function Documentation

virtual int iqt::ITranslationManager::GetCurrentLanguageIndex ( ) const
pure virtual

Get current language index.

Implemented in iqt::CTranslationManagerComp.

virtual const iprm::IOptionsList& iqt::ITranslationManager::GetLanguagesInfo ( ) const
pure virtual

Get the list of supported languages given as a list of options.

Implemented in iqt::CTranslationManagerComp.

virtual const QTranslator* iqt::ITranslationManager::GetLanguageTranslator ( int  languageIndex) const
pure virtual

Get Qt translator for a given language.

Implemented in iqt::CTranslationManagerComp.

virtual const ITranslationManager* iqt::ITranslationManager::GetSlaveTranslationManager ( ) const
pure virtual

Get slave translation manager, if set.

Implemented in iqt::CTranslationManagerComp.

virtual void iqt::ITranslationManager::SetSystemLanguage ( )
pure virtual

Set default system's language.

Implemented in iqt::CTranslationManagerComp.

virtual void iqt::ITranslationManager::SwitchLanguage ( int  languageIndex)
pure virtual

Switch the current language to the language with the index languageIndex.

Implemented in iqt::CTranslationManagerComp.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy