translate Pile
version 0.0.1
This pile provides support for an application that
|
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 TransLang & | item (int i) |
Get a language at a particular index. | |
static const TransLang & | item (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. | |
brief description
...
|
static |
Terminate the manager.
...
|
static |
Initialize the manager.
...