umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <codeimpthread.h>
Public Slots | |
virtual void | run () |
int | emitAskQuestion (const QString &question) |
void | emitMessageToLog (const QString &file, const QString &text) |
Signals | |
void | askQuestion (const QString &question, int &answer) |
void | messageToWiz (const QString &file, const QString &text) |
void | messageToLog (const QString &file, const QString &text) |
void | messageToApp (const QString &text) |
void | aborted () |
void | failed () |
void | finished (bool noError) |
Public Member Functions | |
CodeImpThread (QFileInfo &file, QObject *parent=nullptr) | |
virtual | ~CodeImpThread () |
Private Slots | |
void | questionAsked (const QString &question, int &answer) |
Private Attributes | |
QFileInfo & | m_file |
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.
|
explicit |
Constructor.
parent | QObject which acts as parent to this CodeImpThread |
file | File to import for which the thread shall be spawned |
|
virtual |
Destructor.
|
signal |
|
signal |
|
slot |
Emit a signal to the main gui thread to show a question box.
question | the text of the question |
|
slot |
Emit a signal to the main gui thread to write a log text to the log widget.
file | the file that is in work |
text | the text which has to be added to the log widget |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
privateslot |
Slot for signal askQuestion.
question | the question to ask |
answer | the pressed answer button code |
|
virtualslot |
Thread run method.
|
private |