##// END OF EJS Templates
Removed hack from QCustomPlot, moved to QCustomPlotVect class.
Removed hack from QCustomPlot, moved to QCustomPlotVect class.

File last commit:

r5:92e4585e8fab default
r7:6e23aedd1ca8 default
Show More
expxmldownloader.h
35 lines | 761 B | text/x-c | CLexer
#ifndef EXPXMLDOWNLOADER_H
#define EXPXMLDOWNLOADER_H
#include <QObject>
#include <QDomDocument>
#include <QList>
typedef struct ExpXmlDownLoaderIntervals
{
QString date;
QString start;
QString stop;
}ExpXmlDownLoaderIntervals;
class ExpXmlDownLoader : public QObject
{
Q_OBJECT
public:
explicit ExpXmlDownLoader(QObject *parent = 0);
~ExpXmlDownLoader();
bool parseXml(const QString& fileName);
const QList<QDate>& daysToDownload();
signals:
public slots:
private:
void extractIntervals(QDomNode n);
void makeDownloadList();
void addDaysToDownload(QList<QDate> days);
QDomDocument* m_doc;
QList<ExpXmlDownLoaderIntervals> m_intervals;
QList<QDate> m_FilesToDownload;
};
#endif // EXPXMLDOWNLOADER_H