53#
if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
54 QWebEngineDownloadItem *download,
56 QWebEngineDownloadRequest *download,
58 const bool is_private,
63 const QString &file_name,
64 const QString &information,
69 QPointer<QWebEngineProfile> profile(
void)
const;
70 QString download_path(
void)
const;
72 bool is_finished(
void)
const;
73 qintptr oid(
void)
const;
77#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
78 QPointer<QWebEngineDownloadItem> m_download;
80 QPointer<QWebEngineDownloadRequest> m_download;
82 QPointer<QWebEngineProfile> m_profile;
83 QPropertyAnimation m_progress_bar_animation;
84 QString m_download_path;
87 QTimer m_stalled_timer;
89 Ui_dooble_downloads_item m_ui;
91 qint64 m_last_bytes_received;
94 void prepare_icons(
void);
96 void record_information(
void);
99 void slot_cancel(
void);
100 void slot_download_progress(qint64 bytes_received, qint64 bytes_total);
101 void slot_download_progress(
void);
102 void slot_finished(
void);
103 void slot_pause_or_resume(
void);
104 void slot_reload(
void);
105 void slot_settings_applied(
void);
106 void slot_stalled(
void);
110 void reload(
const QString &file_name,
const QUrl &url);