##// END OF EJS Templates
Adding metatype declarations in qml plugin for Qt5...
Adding metatype declarations in qml plugin for Qt5 Not sure why they are needed for Qt5. Definetly NOT needed for Qt4.

File last commit:

r2155:efb312b94196
r2257:b97c592cff78
Show More
widget.h
32 lines | 506 B | text/x-c | CLexer
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QChartGlobal>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QLineSeries;
class QChart;
QTCOMMERCIALCHART_END_NAMESPACE
QTCOMMERCIALCHART_USE_NAMESPACE
class XYSeriesIODevice;
class QAudioInput;
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
private:
XYSeriesIODevice *m_device;
QChart *m_chart;
QLineSeries *m_series;
QAudioInput *m_audioInput;
};
#endif // WIDGET_H