QxOrm  1.4.5
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)

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 53 of file QxRegisterQtProperty.h.