summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/dotnet/wrapper/lib/worker.cpp
blob: b11c7e54b69b722e5c8a9f546ef59a84b7bf6b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2015 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#include "worker.h"
#include "tools.h"

Worker::Worker()
{
    status = "Idle";
}

void Worker::setStatusString(const QString &string)
{
    status = string;
    emit statusStringChanged(status);
}

QString Worker::statusString() const
{
    return status;
}