Updraft  1.0
Open source glider flight visualisation tool.
Updraft::Core::TranslationManager Class Reference

Top level object that finds and loads translations. More...

#include <translationmanager.h>

Collaboration diagram for Updraft::Core::TranslationManager:

List of all members.

Public Member Functions

 TranslationManager ()
QStringList availableLanguages ()
 List all available languages.
void addTranslations (const QDir &dir)
 Add a directory with translation and attempt to load a language from it.

Private Types

typedef QPair< QDir,
QTranslator * > 
DirTranslator

Private Attributes

QList< DirTranslatordirTranslators
SettingInterfacelanguageSetting

Static Private Attributes

static const QString defaultLanguage = "english"

Detailed Description

Top level object that finds and loads translations.


Member Typedef Documentation

typedef QPair<QDir, QTranslator*> Updraft::Core::TranslationManager::DirTranslator [private]

Constructor & Destructor Documentation


Member Function Documentation

Add a directory with translation and attempt to load a language from it.

List all available languages.


Member Data Documentation

const QString Updraft::Core::TranslationManager::defaultLanguage = "english" [static, private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines