BibleTime
|
#include <btsourcesthread.h>
Signals | |
void | percentComplete (int percent) |
void | showMessage (QString const &msg) |
Public Member Functions | |
BtSourcesThread (QObject *parent=nullptr) | |
bool | finishedSuccessfully () const noexcept |
void | stop () noexcept |
Protected Member Functions | |
void | run () override |
Private Member Functions | |
bool | shouldStop () const noexcept |
Private Attributes | |
std::atomic< bool > | m_finishedSuccessfully |
std::atomic< bool > | m_stop |
Definition at line 22 of file btsourcesthread.h.
|
inline |
Definition at line 28 of file btsourcesthread.h.
|
inlinenoexcept |
Definition at line 36 of file btsourcesthread.h.
References m_finishedSuccessfully.
Referenced by BtBookshelfSourcesProgressPage::slotThreadFinished().
|
signal |
Referenced by BtBookshelfSourcesProgressPage::initializePage(), and run().
|
overrideprotected |
Definition at line 29 of file btsourcesthread.cpp.
References BT_ASSERT, m_finishedSuccessfully, percentComplete(), shouldStop(), showMessage(), BtInstallBackend::source(), and BtInstallBackend::sourceNameList().
|
inlineprivatenoexcept |
|
signal |
Referenced by BtBookshelfSourcesProgressPage::initializePage(), and run().
|
inlinenoexcept |
Definition at line 34 of file btsourcesthread.h.
References m_stop.
Referenced by BtBookshelfSourcesProgressPage::destroyThread(), and BtBookshelfSourcesProgressPage::slotStopInstall().
|
private |
Definition at line 56 of file btsourcesthread.h.
Referenced by finishedSuccessfully(), and run().
|
private |
Definition at line 55 of file btsourcesthread.h.
Referenced by shouldStop(), and stop().