##// END OF EJS Templates
Added links LogValueAxis to demos and qml docs pages
Added links LogValueAxis to demos and qml docs pages

File last commit:

r2155:efb312b94196
r2343:cd130a1062f2
Show More
xyseriesiodevice.h
27 lines | 554 B | text/x-c | CLexer
/ demos / audio / xyseriesiodevice.h
Marek Rosa
Added audio input demo
r2155 #ifndef XYSERIESIODEVICE_H
#define XYSERIESIODEVICE_H
#include <QIODevice>
#include <QChartGlobal>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QXYSeries;
QTCOMMERCIALCHART_END_NAMESPACE
QTCOMMERCIALCHART_USE_NAMESPACE
class XYSeriesIODevice : public QIODevice
{
Q_OBJECT
public:
explicit XYSeriesIODevice(QXYSeries * series, QObject *parent = 0);
protected:
qint64 readData(char * data, qint64 maxSize);
qint64 writeData(const char * data, qint64 maxSize);
private:
QXYSeries *m_series;
};
#endif // XYSERIESIODEVICE_H