10 #define GUI_THREAD_CHECK Q_ASSERT(qApp && qApp ->thread() == QThread::currentThread())
11 #define THREAD_CHECK Q_ASSERT(QThread::currentThread() == thread())
13 #define INVOKE_CHECK(res) if(!res) { printf("Invoke failed File %s, Line %d\n", __FILE__, __LINE__); }
14 #define CONNECT_CHECK(res) if(!res) { printf("Connect failed File %s, Line %d\n", __FILE__, __LINE__); }
16 #define STR(s) _STR(s)
22 Q_DECLARE_METATYPE(QcepBoolVector)
24 Q_DECLARE_METATYPE(QcepIntVector)
26 Q_DECLARE_METATYPE(QcepStringVector)
29 Q_DECLARE_METATYPE(QcepDoubleList)
31 Q_DECLARE_METATYPE(QcepBoolList)
33 Q_DECLARE_METATYPE(QcepIntList)
35 Q_DECLARE_METATYPE(QcepStringList)
38 Q_DECLARE_METATYPE(QcepPolygon)
40 Q_DECLARE_METATYPE(QPointF)
41 Q_DECLARE_METATYPE(QRectF)
43 #endif // QCEPMACROS_H
QVector< int > QcepIntVector
QVector< bool > QcepBoolVector
QList< bool > QcepBoolList
QVector< double > QcepDoubleVector
QList< QString > QcepStringList
QList< double > QcepDoubleList
QVector< QString > QcepStringVector
QVector< QPointF > QcepPolygon