|
BibleTime
|
Functions | |
| bool | addSource (sword::InstallSource &source) |
| std::unique_ptr< CSwordBackend > | backend (sword::InstallSource const &is) |
| QString | configFilename () |
| QString | configPath () |
| bool | deleteSource (const QString &name) |
| bool | isRemote (const sword::InstallSource &source) |
| sword::InstallSource | source (const QString &name) |
| QStringList | sourceNameList () |
| bool BtInstallBackend::addSource | ( | sword::InstallSource & | source | ) |
Adds the source described by Source to the backend.
Adds the source to the backend.
Definition at line 41 of file btinstallbackend.cpp.
References configFilename(), isRemote(), and source().
Referenced by BtBookshelfSourcesPage::slotButtonClicked().
| std::unique_ptr< CSwordBackend > BtInstallBackend::backend | ( | sword::InstallSource const & | is | ) |
Returns backend Sword manager for the source.
Definition at line 186 of file btinstallbackend.cpp.
References isRemote().
Referenced by BtBookshelfLanguagesPage::initializeLanguages(), BtBookshelfWorksPage::initializePage(), and BtInstallThread::removeModule().
| QString BtInstallBackend::configFilename | ( | ) |
Returns the name of the sword installer configuration file.
Definition at line 155 of file btinstallbackend.cpp.
References configPath().
Referenced by addSource(), deleteSource(), source(), and sourceNameList().
| QString BtInstallBackend::configPath | ( | ) |
Returns the path of the sword installer configuration file.
Definition at line 150 of file btinstallbackend.cpp.
References util::directory::getUserHomeSwordDir().
Referenced by configFilename().
| bool BtInstallBackend::deleteSource | ( | const QString & | name | ) |
Deletes the source.
Definition at line 104 of file btinstallbackend.cpp.
References configFilename(), and source().
Referenced by BtBookshelfSourcesPage::slotButtonClicked().
| bool BtInstallBackend::isRemote | ( | const sword::InstallSource & | source | ) |
Tells if the source is remote or local.
Definition at line 143 of file btinstallbackend.cpp.
References source().
Referenced by addSource(), backend(), and BtInstallThread::installModule().
| sword::InstallSource BtInstallBackend::source | ( | const QString & | name | ) |
Returns the Source struct.
Returns the source struct.
Definition at line 69 of file btinstallbackend.cpp.
References configFilename(), and source().
Referenced by addSource(), CSwordSetupInstallSourcesDialog::CSwordSetupInstallSourcesDialog(), deleteSource(), BtBookshelfLanguagesPage::initializeLanguages(), BtBookshelfWorksPage::initializePage(), BtInstallThread::installModule(), isRemote(), BtInstallThread::removeModule(), BtSourcesThread::run(), and source().
| QStringList BtInstallBackend::sourceNameList | ( | ) |
Definition at line 158 of file btinstallbackend.cpp.
References BT_ASSERT, and configFilename().
Referenced by BtBookshelfWorksPage::initializePage(), BtSourcesThread::run(), and BtBookshelfSourcesPage::updateSourcesModel().