Started working on task system and login system.

This commit is contained in:
Andrew
2013-02-05 16:34:20 -06:00
parent f8ea8d9e3b
commit a416c58a93
17 changed files with 784 additions and 8 deletions

View File

@@ -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);
}