Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qrunnable.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qrunnable.h"
5
6#include <QtCore/qlogging.h>
7
9
11{
12}
13
18QRunnable *QRunnable::warnNullCallable()
19{
20 qWarning("Trying to create null QRunnable. This may stop working.");
21 return nullptr;
22}
23
24
25QRunnable::QGenericRunnable::~QGenericRunnable()
26{
27 runHelper->destroy();
28}
29
30void QRunnable::QGenericRunnable::run()
31{
32 runHelper->run();
33}
34
\inmodule QtCore
Definition qrunnable.h:18
virtual ~QRunnable()
QRunnable virtual destructor.
Definition qrunnable.cpp:10
Combined button and popup list for selecting options.
#define qWarning
Definition qlogging.h:162