Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef LOADER_HPP
#define LOADER_HPP
#include <QThread>
#include <QUrl>
#include <isis/data/io_factory.hpp>
class OrthancNode;
class Loader:public QThread{
Q_OBJECT
std::list<isis::data::Image> images;
const QList<OrthancNode*> m_downloads;
const QString prefix;
QUrl url;
signals:
void progress(int new_pos);
void sizeCalculated(int new_size);
void statusText(QString new_status);
public:
Loader(QString url_prefix,QList<OrthancNode*> downloads,QObject *parent=0):QThread(parent),m_downloads(downloads),prefix(url_prefix){}
~Loader();
QList<isis::data::Image> getImages();
// QThread interface
protected:
void run();
};
#endif // LOADER_HPP