| QxOrm 1.2.2 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

Namespaces | Defines | Functions
QxRegisterQtProperty.h File Reference
QxRegister : QxOrm library register context used by introspection engine (class, function, property...)

Register automatically Qt meta-property defined with Q_PROPERTY() macro into QxOrm context. More...

`#include <boost/static_assert.hpp>`
`#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)

## Detailed Description

Register automatically Qt meta-property defined with Q_PROPERTY() macro into QxOrm context.

Author:
  Lionel Marty

Definition in file QxRegisterQtProperty.h.

## Define Documentation

#define QX_REGISTER_ALL_QT_PROPERTIES | ( |  | className,
|  |  | propertyId
| ) |  |

Value:

    namespace qx { \
    template <> void register_class(QxClass< className > & t) \
    { qx::register_all_qt_properties< className >(t, propertyId); } }

Definition at line 49 of file QxRegisterQtProperty.h.