BibleTime
|
#include <btmoduleindexdialog.h>
Static Public Member Functions | |
static bool | indexAllModules (QList< CSwordModuleInfo * > const &modules) |
Private Member Functions | |
BtModuleIndexDialog (int numModules) | |
bool | indexAllModulesPrivate (QList< CSwordModuleInfo * > const &modules) |
Private Attributes | |
int | m_currentModuleIndex |
This dialog is used to index a list of modules and to show progress for that. While the indexing is in progress it creates a blocking, top level dialog which shows the progress while the indexing is done.
Definition at line 25 of file btmoduleindexdialog.h.
|
private |
Definition at line 35 of file btmoduleindexdialog.cpp.
|
static |
Creates and shows the indexing progress dialog and starts the actual indexing. It shows the dialog with progress information. In case indexing some module is unsuccessful or cancelled, any indices that were created for other given modules are deleted. After indexing, the dialog is closed.
[in] | modules | The list of modules to index. |
Definition at line 25 of file btmoduleindexdialog.cpp.
References indexAllModulesPrivate().
Referenced by BtIndexDialog::createIndices(), and Search::CSearchDialog::startSearch().
|
private |
Shows the indexing progress dialog and starts the actual indexing. It shows the dialog with progress information. In case indexing some module is unsuccessful or cancelled, any indices that were created for other given modules are deleted. After indexing, the dialog is closed.
[in] | modules | The list of modules to index. |
Definition at line 44 of file btmoduleindexdialog.cpp.
References BT_ASSERT, BT_CONNECT, BT_DEBUG_ONLY, CSwordModuleInfo::indexingFinished(), CSwordModuleInfo::indexingProgress(), m_currentModuleIndex, r(), and message::showWarning().
Referenced by indexAllModules().
|
private |
Definition at line 59 of file btmoduleindexdialog.h.
Referenced by indexAllModulesPrivate().