QxOrm
1.5.0
C++ Object Relational Mapping library
|
Register automatically Qt meta-property defined with Q_PROPERTY() macro into QxOrm context. More...
#include <QtCore/qmetaobject.h>
#include <QtCore/qmetatype.h>
#include <QxRegister/QxClass.h>
#include <QxTraits/qt_meta_object.h>
Go to the source code of this file.
Namespaces | |
namespace | qx |
Root namespace for all QxOrm library features. | |
Defines | |
#define | QX_REGISTER_ALL_QT_PROPERTIES(className, propertyId) |
Functions | |
template<typename T > | |
void | qx::register_all_qt_properties (QxClass< T > &t, const QString &sPropertyId) |
Register automatically Qt meta-property defined with Q_PROPERTY() macro into QxOrm context.
Definition in file QxRegisterQtProperty.h.
#define QX_REGISTER_ALL_QT_PROPERTIES | ( | className, | |
propertyId | |||
) |
namespace qx { \ template <> void register_class(QxClass< className > & t) \ { qx::register_all_qt_properties< className >(t, propertyId); } }
Definition at line 53 of file QxRegisterQtProperty.h.