translate Pile   version 0.0.1
This pile provides support for an application that
Translate Class Reference

brief description More...

#include <translate.h>

Static Public Member Functions

static bool init (QString *error)
 Initialize the manager. More...
 
static void end ()
 Terminate the manager. More...
 
static int count ()
 Get the number of languages we know about.
 
static const TransLangitem (int i)
 Get a language at a particular index.
 
static const TransLangitem (const QString &s_name)
 Get a language given its name.
 
static int itemIndex (const QString &s_name)
 Just find the index (-1 if not found).
 
static int itemIndexFromLocale (const QString &s_locale)
 Find the index by using the locale instead of name (-1 if not found).
 
static bool validInstance (const TransLang &item)
 Tell if an instance is valid or not.
 
static QTranslator * translator (int i)
 Create a Qt translator.
 
static QTranslator * qtTranslator (int i)
 Create a Qt translator.
 
static void translatorDone (int i)
 Release cached translator.
 
static int current ()
 Index of current translator.
 
static void setCurrent (int value)
 Set the index of current translator.
 

Detailed Description

brief description

...

Member Function Documentation

void Translate::end ( )
static

Terminate the manager.

...

bool Translate::init ( QString *  error)
static

Initialize the manager.

...


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