blob: b73f887af28f42ab9d6feb3130486ca8989e0a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QCursor>
#include <QGuiApplication>
namespace src_gui_kernel_qguiapplication_x11 {
void calculateHugeMandelbrot();
void wrapper() {
//! [0]
QGuiApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
calculateHugeMandelbrot(); // lunch time...
QGuiApplication::restoreOverrideCursor();
//! [0]
} // wrapper
} // src_gui_kernel_qguiapplication_x11
|