![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXTranslator.h>
Public Member Functions | |
FXTranslator (FXApp *a) | |
FXApp * | getApp () const |
virtual const FXchar * | tr (const FXchar *context, const FXchar *message, const FXchar *hint=NULL) const |
void | setTextCodec (FXTextCodec *cdc) |
FXTextCodec * | getTextCodec () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXTranslator () |
![]() | |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
virtual | ~FXObject () |
The translator class translates a message to another language.
FX::FXTranslator::FXTranslator | ( | FXApp * | a | ) |
Construct translator.
|
virtual |
Destructor.
|
inline |
Get application.
|
virtual |
Translate a string.
|
inline |
Change text codec used to decode the messages embedded in the source.
|
inline |
Return text codec.
|
virtual |
Save translator to a stream.
Reimplemented from FX::FXObject.
|
virtual |
Load translator from a stream.
Reimplemented from FX::FXObject.
![]() |