Eneboo - Documentación para desarrolladores
'defines' | Funciones
Referencia del Archivo src/qt/include/qobjectdefs.h
#include "qglobal.h"

Ir al código fuente de este archivo.

'defines'

#define QT_TR_FUNCTIONS
#define QT_PROP_FUNCTIONS
#define slots
#define signals   protected
#define emit
#define Q_CLASSINFO(name, value)
#define Q_PROPERTY(text)
#define Q_OVERRIDE(text)
#define Q_ENUMS(x)
#define Q_SETS(x)
#define Q_OBJECT
#define Q_OBJECT_FAKE   Q_OBJECT
#define METHOD(a)   "0"#a
#define SLOT(a)   "1"#a
#define SIGNAL(a)   "2"#a
#define METHOD_CODE   0
#define SLOT_CODE   1
#define SIGNAL_CODE   2
#define QMETHOD_CODE   0
#define QSLOT_CODE   1
#define QSIGNAL_CODE   2
#define Q_CHILD(parent, type, name)   ((type*)qt_find_obj_child(parent,#type,name))

Funciones

Q_EXPORT void * qt_find_obj_child (QObject *, const char *, const char *)
Q_EXPORT void * qt_inheritedBy (QMetaObject *super, const QObject *cls)
template<typename T >
Q_INLINE_TEMPLATES T qt_cast (const QObject *object)

Documentación de los 'defines'

#define emit
#define METHOD (   a)    "0"#a
#define METHOD_CODE   0
#define Q_CHILD (   parent,
  type,
  name 
)    ((type*)qt_find_obj_child(parent,#type,name))
#define Q_CLASSINFO (   name,
  value 
)
#define Q_ENUMS (   x)
#define Q_OBJECT
Valor:
public:                                                                 \
    virtual QMetaObject *metaObject() const {                           \
         return staticMetaObject();                                     \
    }                                                                   \
    virtual const char *className() const;                              \
    virtual void* qt_cast( const char* );                               \
    virtual bool qt_invoke( int, QUObject* );                           \
    virtual bool qt_emit( int, QUObject* );                             \
    QT_PROP_FUNCTIONS                                                   \
    static QMetaObject* staticMetaObject();                             \
    QObject* qObject() { return (QObject*)this; }                       \
    QT_TR_FUNCTIONS                                                     \
private:                                                                \
    static QMetaObject *metaObj;
#define Q_OBJECT_FAKE   Q_OBJECT
#define Q_OVERRIDE (   text)
#define Q_PROPERTY (   text)
#define Q_SETS (   x)
#define QMETHOD_CODE   0
#define QSIGNAL_CODE   2
#define QSLOT_CODE   1
#define QT_PROP_FUNCTIONS
Valor:
virtual bool qt_property( int id, int f, QVariant* v); \
    static bool qt_static_property( QObject* , int, int, QVariant* );
#define QT_TR_FUNCTIONS
Valor:
static QString tr( const char *, const char * = 0 ); \
    static QString trUtf8( const char *, const char * = 0 );
#define SIGNAL (   a)    "2"#a
#define SIGNAL_CODE   2
#define signals   protected
#define SLOT (   a)    "1"#a
#define SLOT_CODE   1
#define slots

Documentación de las funciones

template<typename T >
Q_INLINE_TEMPLATES T qt_cast ( const QObject object)
Q_EXPORT void* qt_find_obj_child ( QObject ,
const char *  ,
const char *   
) [related]
Q_EXPORT void* qt_inheritedBy ( QMetaObject super,
const QObject cls 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'