KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
CoRoutines.h
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5 Author: SĂ©rgio Martins <sergio.martins@kdab.com>
6
7 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9 Contact KDAB at <info@kdab.com> for commercial licensing options.
10*/
11
12#pragma once
13
14#include "docks_export.h"
15#include "flutter/qcoro.h"
16
17namespace KDDockWidgets {
18namespace flutter {
19
20class DOCKS_EXPORT CoRoutines
21{
22public:
27 QCoro::Task<> suspend();
28
30 void resume();
31};
32
33
34}
35}
An asynchronously executed task.
Definition qcorotask.h:458
Class to abstract QAction, so code still works with QtQuick and Flutter.

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8