2
// C++ Interface: cmoduleindexdialog
7
// Author: The BibleTime team <info@bibletime.info>, (C) 2006
9
// Copyright: See COPYING file that comes with this distribution
12
#ifndef CMODULEINDEXDIALOG_H
13
#define CMODULEINDEXDIALOG_H
15
#include "backend/cswordmoduleinfo.h"
21
class KProgressDialog;
24
* This dialog is used to index a list of modules and to show progress for that.\
25
* While the indexing is in progress it creates a blocking, top level dialog which shows the progress
26
* while the indexing is done.
28
* @author The BibleTime team <info@bibletime.info>
30
class CModuleIndexDialog : public QObject {
33
/** Get the singleton instance.
36
static CModuleIndexDialog* getInstance();
38
/** Starts the actual indexing. It shows the dialog with progress information.
40
void indexAllModules( const ListCSwordModuleInfo& modules );
42
/** Indexes all modules in the list which don't have an index yet.
44
void indexUnindexedModules( const ListCSwordModuleInfo& modules );
47
KProgressDialog* progress;
48
int m_currentModuleIndex;
51
void slotModuleProgress( int percentage );