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.
AppFlow/CFDStruct/CFDStructDataManager/CFDStructDataDefine.h

18 lines
398 B
C

#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*)
Q_DECLARE_METATYPE(QString)
#endif // CFDSTRUCTDATADEFINE_H