FX::FXObject Class Reference

#include <FXObject.h>

Inheritance diagram for FX::FXObject:

FX::FXAccelTable FX::FXApp FX::FXCommand FX::FXDataTarget FX::FXDebugTarget FX::FXDelegator FX::FXDict FX::FXDocument FX::FXEventLoop FX::FXFoldingItem FX::FXFunctorTarget FX::FXGLObject FX::FXHeaderItem FX::FXIconItem FX::FXIconSource FX::FXId FX::FXListItem FX::FXRecentFiles FX::FXTableItem FX::FXTextCodec FX::FXTreeItem FX::TnFXAppEventLoop List of all members.

Detailed Description

Object is the base class for all objects in FOX; in order to receive messages from the user interface, your class must derive from Object. The Object class also provides serialization facilities, with which you can save and restore the object's state. If you've subclassed from Object, you can save your subclasses' state by overloading the save() and load() functions and use the stream API to serialize its member data.

Definition at line 167 of file FXObject.h.

Public Member Functions

virtual long onDefault (FXObject *, FXSelector, void *)
const FXchargetClassName () const
bool isMemberOf (const FXMetaClass *metaclass) const
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
QTransString tr (const char *text, const char *hint=0)
virtual void * getPythonObject () const
virtual void decouplePythonObject () const
virtual ~FXObject ()


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:35:23 2009 for TnFOX by doxygen v1.4.7