You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
370 B
C
17 lines
370 B
C
3 weeks ago
|
#ifndef CFDSTRUCTDATADEFINE_H
|
||
|
#define CFDSTRUCTDATADEFINE_H
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
#define QVA_GLOBAL(x) QVariant::fromValue(x)
|
||
|
#define QVA_QS(x) QVariant::fromValue(QString(x))
|
||
|
#define QVA_FROM_QS(x) qvariant_cast<QString>(x)
|
||
|
|
||
|
Q_DECLARE_METATYPE(int*)
|
||
|
Q_DECLARE_METATYPE(bool*)
|
||
|
Q_DECLARE_METATYPE(double*)
|
||
|
Q_DECLARE_METATYPE(QString*)
|
||
|
|
||
|
#endif // CFDSTRUCTDATADEFINE_H
|
||
|
|