#include <codeimpthread.h>
Thread class that does the code import work for one file.
TODO: For a start it is only a QObject and is used to signals messages.
- Author
- Andi Fischer
Definition at line 35 of file codeimpthread.h.
CodeImpThread::CodeImpThread |
( |
QFileInfo |
file, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
fileNames | name of imported files |
Definition at line 33 of file codeimpthread.cpp.
CodeImpThread::~CodeImpThread |
( |
| ) |
|
|
virtual |
void CodeImpThread::aborted |
( |
| ) |
|
|
signal |
void CodeImpThread::askQuestion |
( |
const QString & |
question, |
|
|
int & |
answer |
|
) |
| |
|
signal |
int CodeImpThread::emitAskQuestion |
( |
const QString & |
question | ) |
|
|
slot |
Emit a signal to the main gui thread to show a question box.
- Parameters
-
question | the text of the question |
- Returns
- the code of the answer button KMessageBox::ButtonCode
Definition at line 88 of file codeimpthread.cpp.
void CodeImpThread::emitMessageToLog |
( |
const QString & |
file, |
|
|
const QString & |
text |
|
) |
| |
|
slot |
Emit a signal to the main gui thread to write a log text to the log widget.
- Parameters
-
file | the file that is in work |
text | the text which has to be added to the log widget |
Definition at line 102 of file codeimpthread.cpp.
void CodeImpThread::failed |
( |
| ) |
|
|
signal |
void CodeImpThread::finished |
( |
bool |
noError | ) |
|
|
signal |
void CodeImpThread::messageToApp |
( |
const QString & |
text | ) |
|
|
signal |
void CodeImpThread::messageToLog |
( |
const QString & |
file, |
|
|
const QString & |
text |
|
) |
| |
|
signal |
void CodeImpThread::messageToWiz |
( |
const QString & |
file, |
|
|
const QString & |
text |
|
) |
| |
|
signal |
void CodeImpThread::run |
( |
| ) |
|
|
virtualslot |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.