BibleTime
|
#include <btinstallmgr.h>
Signals | |
void | downloadStarted () |
void | percentCompleted (const int total, const int file) |
Public Member Functions | |
BtInstallMgr (QObject *parent=nullptr) | |
bool | isUserDisclaimerConfirmed () const override |
~BtInstallMgr () override | |
Protected Member Functions | |
void | preStatus (long totalBytes, long completedBytes, const char *message) override |
void | statusUpdate (double dltotal, double dlnow) override |
Private Attributes | |
long | m_completedBytes |
bool | m_firstCallOfPreStatus |
long | m_totalBytes |
Our own reimplementation to provide installation and status bar updates.
Definition at line 31 of file btinstallmgr.h.
BtInstallMgr::BtInstallMgr | ( | QObject * | parent = nullptr | ) |
Definition at line 66 of file btinstallmgr.cpp.
|
override |
Definition at line 78 of file btinstallmgr.cpp.
|
signal |
Referenced by BtInstallThread::BtInstallThread(), and preStatus().
|
override |
Definition at line 83 of file btinstallmgr.cpp.
|
signal |
Download status. Percent of total and file.
Referenced by BtInstallThread::BtInstallThread(), CSwordSetupInstallSourcesDialog::CSwordSetupInstallSourcesDialog(), and statusUpdate().
|
overrideprotected |
Definition at line 111 of file btinstallmgr.cpp.
References BT_ASSERT, downloadStarted(), m_completedBytes, m_firstCallOfPreStatus, and m_totalBytes.
|
overrideprotected |
Definition at line 89 of file btinstallmgr.cpp.
References anonymous_namespace{btinstallmgr.cpp}::calculateIntPercentage(), m_completedBytes, m_totalBytes, and percentCompleted().
|
private |
Definition at line 75 of file btinstallmgr.h.
Referenced by preStatus(), and statusUpdate().
|
private |
Definition at line 76 of file btinstallmgr.h.
Referenced by preStatus().
|
private |
Definition at line 74 of file btinstallmgr.h.
Referenced by preStatus(), and statusUpdate().