Started working on task system and login system.
This commit is contained in:
@@ -29,7 +29,7 @@ QString Task::getStatus() const
|
||||
void Task::setStatus(const QString &status)
|
||||
{
|
||||
this->status = status;
|
||||
statusChanged(status);
|
||||
emit statusChanged(status);
|
||||
}
|
||||
|
||||
int Task::getProgress() const
|
||||
@@ -40,7 +40,7 @@ int Task::getProgress() const
|
||||
void Task::setProgress(int progress)
|
||||
{
|
||||
this->progress = progress;
|
||||
progressChanged(progress);
|
||||
emit progressChanged(progress);
|
||||
}
|
||||
|
||||
void Task::startTask()
|
||||
@@ -50,7 +50,7 @@ void Task::startTask()
|
||||
|
||||
void Task::run()
|
||||
{
|
||||
taskStarted(this);
|
||||
emit taskStarted(this);
|
||||
executeTask();
|
||||
taskEnded(this);
|
||||
emit taskEnded(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user