Files
qt-creator/tests/manual/tasking/dataexchange/viewer.h
Jarek Kobus ce80a6dad5 TaskTree: Rename TreeStorage<> -> Storage<>
This addresses the 20th point in the master task below.

Task-number: QTCREATORBUG-28741
Change-Id: I696beda87430fbe637abba8054012fb77516e220
Reviewed-by: hjk <hjk@qt.io>
2023-11-20 08:25:50 +00:00

34 lines
712 B
C++

// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef VIEWER_H
#define VIEWER_H
#include "recipe.h"
#include <tasking/tasktree.h>
#include <QNetworkAccessManager>
#include <QtWidgets>
class Viewer : public QWidget
{
Q_OBJECT
public:
Viewer(QWidget *parent = nullptr);
private:
QLineEdit *m_lineEdit = nullptr;
QProgressBar *m_progressBar = nullptr;
QListWidget *m_listWidget = nullptr;
QStatusBar *m_statusBar = nullptr;
QNetworkAccessManager m_nam;
const Tasking::Storage<ExternalData> m_storage;
const Tasking::Group m_recipe;
std::unique_ptr<Tasking::TaskTree> m_taskTree;
};
#endif // VIEWER_H