OperationTracer Class

class QInstaller::OperationTracer

The OperationTracer prints trace output for starting of operations and automatically indicates finish on destruction. More...

Header: #include <OperationTracer>
Inherits: QInstaller::AbstractOperationTracer

Public Functions

OperationTracer(QInstaller::Operation *operation)
virtual ~OperationTracer() override

Reimplemented Public Functions

virtual void trace(const QString &state) override

Detailed Description

Member Function Documentation

[explicit] OperationTracer::OperationTracer(QInstaller::Operation *operation)

Constructs tracer for operation.

[override virtual noexcept] OperationTracer::~OperationTracer()

Destructs object and prints message indicating finished operation.

[override virtual] void OperationTracer::trace(const QString &state)

Reimplements: AbstractOperationTracer::trace(const QString &state).

Prints trace output for starting operation in state.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.