Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXTranslator Class Reference

The translator class translates a message to another language. More...

#include <FXTranslator.h>

Inheritance diagram for FX::FXTranslator:
FX::FXObject

List of all members.

Public Member Functions

 FXTranslator ()
 Construct translator.
virtual const FXchar * tr (const FXchar *context, const FXchar *message, const FXchar *hint=NULL, FXint count=-1) const FX_FORMAT(2)
 Translate a string.
virtual void save (FXStream &store) const
 Save translator to a stream.
virtual void load (FXStream &store)
 Load translator from a stream.
virtual ~FXTranslator ()
 Destructor.
- Public Member Functions inherited from FX::FXObject
const FXchar * getClassName () const
 Get class name of some object.
FXbool isMemberOf (const FXMetaClass *metaclass) const
 Check if object is member of metaclass.
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
 Try handle message safely, catching certain exceptions.
virtual long onDefault (FXObject *, FXSelector, void *)
 Called for unhandled messages.
virtual ~FXObject ()
 Virtual destructor.

Detailed Description

The translator class translates a message to another language.


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

Copyright © 1997-2016 Jeroen van der Zijp