mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 02:46:59 +03:00
Started working on task system and login system.
This commit is contained in:
parent
f8ea8d9e3b
commit
a416c58a93
17 changed files with 784 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue