ProgressDialog Class Reference
#include <htdigindex.h>
Inheritance diagram for ProgressDialog:

Public Member Functions | |
ProgressDialog (QWidget *parent=0, const char *name=0) | |
~ProgressDialog () | |
void | addDir (const QString &dir) |
void | addKdocDir (FILE *f) |
void | addTocFile (QDomDocument &doc) |
void | scanDirectories () |
bool | createConfig () |
bool | generateIndex () |
Private Slots | |
void | htdigStdout (KProcess *proc, char *buffer, int buflen) |
void | htdigExited (KProcess *proc) |
void | htmergeExited (KProcess *proc) |
void | cancelClicked () |
void | slotDelayedStart () |
Private Member Functions | |
void | setFilesScanned (int s) |
void | setFilesToDig (int d) |
void | setFilesDigged (int d) |
void | setState (int n) |
void | done (int r) |
void | startHtdigProcess (bool initial) |
void | startHtmergeProcess () |
Private Attributes | |
QLabel * | filesLabel |
QLabel * | check1 |
QLabel * | check2 |
QLabel * | check3 |
KProgress * | bar |
int | count |
bool | procdone |
QString | indexdir |
QString | exe |
QStringList | files |
KProcess * | proc |
volatile int | filesToDig |
volatile int | filesDigged |
volatile int | filesScanned |
bool | htdigRunning |
bool | htmergeRunning |
Constructor & Destructor Documentation
|
Definition at line 38 of file htdigindex.cpp. References bar, cancelClicked(), check1, check2, check3, filesLabel, indexdir, KDialogBase::plainPage(), proc, ProgressDialog(), setFilesScanned(), setState(), slotDelayedStart(), and KDialog::spacingHint(). Referenced by ProgressDialog(). |
|
Definition at line 82 of file htdigindex.cpp. |
Member Function Documentation
|
Definition at line 135 of file htdigindex.cpp. References addDir(), endl(), files, filesScanned, kdDebug(), procdone, and setFilesScanned(). Referenced by addDir(), addKdocDir(), and scanDirectories(). |
|
Definition at line 164 of file htdigindex.cpp. References addDir(), and addKdocDir(). Referenced by addKdocDir(), and scanDirectories(). |
|
Definition at line 180 of file htdigindex.cpp. References addTocFile(), endl(), files, filesScanned, kdDebug(), and setFilesScanned(). Referenced by addTocFile(), and scanDirectories(). |
|
Reimplemented from KDialogBase. Definition at line 560 of file htdigindex.cpp. References done(), endl(), htdigRunning, htmergeRunning, KProcess::isRunning(), kdDebug(), KProcess::kill(), proc, and procdone. Referenced by ProgressDialog(). |
|
Definition at line 348 of file htdigindex.cpp. References endl(), indexdir, KLocale::language(), KGlobal::locale(), and locate(). Referenced by slotDelayedStart(). |
|
Definition at line 98 of file htdigindex.cpp. References done(), KProcess::kill(), and proc. Referenced by cancelClicked(), done(), generateIndex(), htdigExited(), htmergeExited(), slotDelayedStart(), and startHtdigProcess(). |
|
Definition at line 437 of file htdigindex.cpp. References config, count, done(), exe, files, filesDigged, filesToDig, procdone, KConfigBase::readPathEntry(), setFilesToDig(), KConfigBase::setGroup(), setState(), and startHtdigProcess(). Referenced by slotDelayedStart(). |
|
Definition at line 480 of file htdigindex.cpp. References CHUNK_SIZE, config, done(), endl(), exe, KProcess::exitStatus(), filesDigged, filesToDig, htdigExited(), htdigRunning, kdDebug(), KProcess::normalExit(), procdone, KConfigBase::readPathEntry(), setFilesDigged(), KConfigBase::setGroup(), setState(), startHtdigProcess(), and startHtmergeProcess(). Referenced by htdigExited(), and startHtdigProcess(). |
|
Definition at line 462 of file htdigindex.cpp. References filesDigged, htdigStdout(), len, and setFilesDigged(). Referenced by htdigStdout(). |
|
Definition at line 538 of file htdigindex.cpp. References done(), endl(), KProcess::exitStatus(), htmergeExited(), htmergeRunning, kdDebug(), KProcess::normalExit(), and setState(). Referenced by htmergeExited(), and startHtmergeProcess(). |
|
Definition at line 230 of file htdigindex.cpp. References addDir(), addKdocDir(), addTocFile(), config, KGlobal::dirs(), endl(), KConfig::entryMap(), files, filesScanned, KStandardDirs::findAllResources(), kdDebug(), KConfigBase::readBoolEntry(), KConfigBase::readPathEntry(), setFilesScanned(), and KConfigBase::setGroup(). Referenced by slotDelayedStart(). |
|
Definition at line 118 of file htdigindex.cpp. References bar, setFilesDigged(), and KProgress::setValue(). Referenced by htdigExited(), htdigStdout(), and setFilesDigged(). |
|
Definition at line 106 of file htdigindex.cpp. References filesLabel, and setFilesScanned(). Referenced by addDir(), addTocFile(), ProgressDialog(), scanDirectories(), and setFilesScanned(). |
|
Definition at line 112 of file htdigindex.cpp. References bar, setFilesToDig(), and KProgress::setRange(). Referenced by generateIndex(), and setFilesToDig(). |
|
Definition at line 124 of file htdigindex.cpp. References check1, check2, check3, locate(), and setState(). Referenced by generateIndex(), htdigExited(), htmergeExited(), ProgressDialog(), and setState(). |
|
Definition at line 85 of file htdigindex.cpp. References createConfig(), done(), generateIndex(), procdone, and scanDirectories(). Referenced by ProgressDialog(). |
|
Definition at line 400 of file htdigindex.cpp. References CHUNK_SIZE, count, done(), endl(), exe, files, filesToDig, htdigExited(), htdigRunning, indexdir, kdDebug(), proc, procdone, KProcess::start(), and startHtdigProcess(). Referenced by generateIndex(), htdigExited(), and startHtdigProcess(). |
|
Definition at line 521 of file htdigindex.cpp. References endl(), exe, htmergeExited(), htmergeRunning, indexdir, kdDebug(), proc, and KProcess::start(). Referenced by htdigExited(). |
Member Data Documentation
|
Definition at line 60 of file htdigindex.h. Referenced by ProgressDialog(), setFilesDigged(), and setFilesToDig(). |
|
Definition at line 59 of file htdigindex.h. Referenced by ProgressDialog(), and setState(). |
|
Definition at line 59 of file htdigindex.h. Referenced by ProgressDialog(), and setState(). |
|
Definition at line 59 of file htdigindex.h. Referenced by ProgressDialog(), and setState(). |
|
Definition at line 62 of file htdigindex.h. Referenced by generateIndex(), and startHtdigProcess(). |
|
Definition at line 65 of file htdigindex.h. Referenced by generateIndex(), htdigExited(), startHtdigProcess(), and startHtmergeProcess(). |
|
Definition at line 66 of file htdigindex.h. Referenced by addDir(), addTocFile(), generateIndex(), scanDirectories(), and startHtdigProcess(). |
|
Definition at line 68 of file htdigindex.h. Referenced by generateIndex(), htdigExited(), and htdigStdout(). |
|
Definition at line 59 of file htdigindex.h. Referenced by ProgressDialog(), and setFilesScanned(). |
|
Definition at line 68 of file htdigindex.h. Referenced by addDir(), addTocFile(), and scanDirectories(). |
|
Definition at line 68 of file htdigindex.h. Referenced by generateIndex(), htdigExited(), and startHtdigProcess(). |
|
Definition at line 69 of file htdigindex.h. Referenced by cancelClicked(), htdigExited(), and startHtdigProcess(). |
|
Definition at line 69 of file htdigindex.h. Referenced by cancelClicked(), htmergeExited(), and startHtmergeProcess(). |
|
Definition at line 64 of file htdigindex.h. Referenced by createConfig(), ProgressDialog(), startHtdigProcess(), and startHtmergeProcess(). |
|
Definition at line 67 of file htdigindex.h. Referenced by cancelClicked(), done(), ProgressDialog(), startHtdigProcess(), and startHtmergeProcess(). |
|
Definition at line 63 of file htdigindex.h. Referenced by addDir(), cancelClicked(), generateIndex(), htdigExited(), slotDelayedStart(), and startHtdigProcess(). |
The documentation for this class was generated from the following files:
- parts/doctreeview/htdigindex.h
- parts/doctreeview/htdigindex.cpp