mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-29 10:25:16 -04:00
refactor: Moved execute function to protected
This commit is contained in:
@ -51,11 +51,13 @@ public:
|
||||
QList<TaskPort *> getInputPorts() const;
|
||||
QList<TaskPort *> getOutputPorts() const;
|
||||
|
||||
QFuture<TaskState> executeAsync();
|
||||
virtual TaskState execute() = 0;
|
||||
|
||||
static QString taskStateAsString(TaskState state);
|
||||
|
||||
protected:
|
||||
QFuture<TaskState> executeAsync();
|
||||
|
||||
private:
|
||||
QString m_taskId;
|
||||
QList<TaskPort *> m_inputs;
|
||||
|
Reference in New Issue
Block a user