Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qiosapplicationstate.h
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#ifndef QIOSAPPLICATIONSTATE_H
5#define QIOSAPPLICATIONSTATE_H
6
7#include <QtCore/qobject.h>
8
9#include <UIKit/UIApplication.h>
10
12
14{
16public:
18
19 static void handleApplicationStateChanged(UIApplicationState state, const QString &reason);
20 static Qt::ApplicationState toQtApplicationState(UIApplicationState state);
21
25};
26
28
29#endif
void applicationStateWillChange(Qt::ApplicationState oldState, Qt::ApplicationState newState)
static void handleApplicationStateChanged(UIApplicationState state, const QString &reason)
static Qt::ApplicationState toQtApplicationState(UIApplicationState state)
void applicationStateDidChange(Qt::ApplicationState oldState, Qt::ApplicationState newState)
\inmodule QtCore
Definition qobject.h:90
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
else opt state
[0]
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
ApplicationState
Definition qnamespace.h:261
#define Q_OBJECT
#define Q_SIGNALS