![]() |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Namespaces | |
completionhandlers | |
Classes | |
class | Downloader |
The Downloader class is a helper class for downloading files over the network. More... | |
Functions | |
void | downloadImage (const QUrl &url, const std::function< void(network::Downloader *self, QNetworkReply::NetworkError error)> &onComplete) |
downloadImage Downloads an image over the network. More... | |
void | downloadWebpage (const QUrl &url, const std::function< void(network::Downloader *self, QNetworkReply::NetworkError error)> &onComplete) |
downloadWebpage Downloads a whole webpage over the network. More... | |
void geometrize::network::downloadImage | ( | const QUrl & | url, |
const std::function< void(network::Downloader *self, QNetworkReply::NetworkError error)> & | onComplete | ||
) |
downloadImage Downloads an image over the network.
url | The URL of the image. |
onComplete | A callback invoked when the download completes, or fails. Note that this callback is usually responsible for deleting the downloader. |
void geometrize::network::downloadWebpage | ( | const QUrl & | url, |
const std::function< void(network::Downloader *self, QNetworkReply::NetworkError error)> & | onComplete | ||
) |
downloadWebpage Downloads a whole webpage over the network.
url | The URL of the webpage. |
onComplete | A callback invoked when the webpage download completes, or fails. Note that this callback is usually responsible for deleting the downloader. |