Tulip  4.10.0
Better Visualization Through Research
tlp::FileDownloader Class Reference

#include <FileDownloader.h>

Inherits QObject.

Signals

void downloaded ()
 

Public Member Functions

const QByteArray & download (const QUrl &url)
 

Detailed Description

Helper class to download the content of a file referenced by an url.

Definition at line 18 of file FileDownloader.h.

Member Function Documentation

const QByteArray& tlp::FileDownloader::download ( const QUrl &  url)

Synchronously download the content of a file referenced by an url and returns it as a raw byte array.