##// END OF EJS Templates
added quick fileName generation for data export, and fixed wrong date reading...
added quick fileName generation for data export, and fixed wrong date reading on cassini data files.

File last commit:

r5:92e4585e8fab default
r10:63067c6877ba default
Show More
filedownloader.h
46 lines | 1.2 KiB | text/x-c | CLexer
/ src / Core / filedownloader.h
A lot of cleaning.
r4 #ifndef FILEDOWNLOADER_H
#define FILEDOWNLOADER_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkProxy>
#include <QList>
#include <QHash>
#include <filedownloadertask.h>
#include <downloadhistory.h>
#include <qlopservice.h>
Added Python Console and some Wrappers....
r5 #include <QDockWidget>
A lot of cleaning.
r4
class FileDownloader : public QLopService
{
Q_OBJECT
private:
static FileDownloader* _self;
static QNetworkAccessManager* m_WebCtrl;
static QList<FileDownloaderTask*>* m_pendingTasks;
Added Python Console and some Wrappers....
r5 static DownLoadHistory* m_DownLoadHistory;
static QDockWidget* m_gui;
FileDownloader(bool noGUI=false,QObject *parent = 0);
A lot of cleaning.
r4 ~FileDownloader();
public:
static void init(bool noGUI=false,QObject *parent = 0);
static int downloadFile(QUrl fileUrl,const QString& name);
static int downloadFile(QString fileUrl,const QString& name);
static FileDownloaderTask *getDownloadTask(int ID);
static bool taskIsCompleted(int ID);
static FileDownloader *self();
// QLopService methodes
Added Python Console and some Wrappers....
r5 QDockWidget* getGUI();
A lot of cleaning.
r4 const QString& serviceName();
signals:
public slots:
Added Python Console and some Wrappers....
r5 int download_file(QUrl fileUrl,const QString& name);
int download_file(QString fileUrl,const QString& name);
A lot of cleaning.
r4 private:
int getTaskId();
};
#endif // FILEDOWNLOADER_H