#include <qwidget.h>
Ir al código fuente de este archivo.
Documentación de los 'defines'
#define AQ_CRE_AQOBJECT |
( |
|
Class | ) |
|
Valor:if (className == AQ_QUOTEME(AQ##Class)) { \
QObject *aq = AQS##Class::AQ##Class##_(arguments); \
if (!aq && candidateCtors) \
*candidateCtors = AQS##Class::candidateConstructors(); \
return aq; \
}
#define AQ_CRE_AQWIDGET |
( |
|
Class | ) |
AQ_CRE_AQOBJECT(Class) |
#define AQ_CRE_OBJECT |
( |
|
Class | ) |
|
Valor:if (className == AQ_QUOTEME(Q##Class)) { \
QObject *qo = AQS##Class::Q##Class##_(arguments); \
if (!qo && candidateCtors) \
*candidateCtors = AQS##Class::candidateConstructors(); \
return qo; \
}
#define AQ_CRE_VOIDPTR |
( |
|
Class | ) |
|
Valor:if (className == AQ_QUOTEME(Q##Class)) { \
AQS##Class *aqo = new AQS##Class(AQS##Class::Q##Class##_(arguments)); \
if ((!aqo || !aqo->AQSBaseObject::isValid()) && candidateCtors) \
*candidateCtors = AQS##Class::candidateConstructors(); \
return aqo; \
}
#define AQ_CRE_VOIDPTR_AQOBJECT |
( |
|
Class | ) |
|
Valor:if (className == AQ_QUOTEME(AQ##Class)) { \
AQS##Class *aqo = new AQS##Class(AQS##Class::AQ##Class##_(arguments)); \
if ((!aqo || !aqo->AQSBaseObject::isValid()) && candidateCtors) \
*candidateCtors = AQS##Class::candidateConstructors(); \
return aqo; \
}
#define AQ_CRE_WIDGET |
( |
|
Class | ) |
AQ_CRE_OBJECT(Class) |
#define AQ_REG_CLASS |
( |
|
Class | ) |
registerClass(AQ_QUOTEME(Q##Class), AQ_QUOTEME(AQS##Class)) |
#define AQ_REG_CLASS_AQOBJECT |
( |
|
Class | ) |
registerClass(AQ_QUOTEME(AQ##Class), AQ_QUOTEME(AQS##Class)) |