5 #ifndef BALL_VIEW_DIALOGS_DOWNLOADPDBFILE_H
6 #define BALL_VIEW_DIALOGS_DOWNLOADPDBFILE_H
8 #ifndef BALL_COMMON_GLOBAL_H
12 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
16 #ifndef BALL_DATATYPE_HASHSET_H
20 #include <BALL/VIEW/UIC/ui_downloadPDBFile.h>
22 #include <QtNetwork/QNetworkReply>
25 class QNetworkAccessManager;
36 public Ui_DownloadPDBFileData,
45 bool modal = FALSE, Qt::WFlags fl = 0 );
54 virtual void fetchPreferences(
INIFile& inifile);
57 virtual void writePreferences(
INIFile& inifile);
84 void downloadFinished();
87 void downloadProgress(qint64 received, qint64 total);
92 void downloadStarted_();
95 void downloadEnded_();
97 bool threadedDownload_(
const String& url);
98 void removeFile_(
const String& filename);
HashMap< String, QImage > image_cache_
QNetworkReply * current_reply_
#define BALL_EMBEDDABLE(TYPE, BASE)
HashSet< String > unsupported_images_
QNetworkAccessManager * network_manager_
QProgressBar * progress_bar_
HashMap class based on the STL map (containing serveral convenience functions)