Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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// Qt-Security score:significant reason:default
4
5#ifndef QIOSAPPLICATIONSTATE_H
6#define QIOSAPPLICATIONSTATE_H
7
8#include <QtCore/qobject.h>
9
10#include <UIKit/UIApplication.h>
11
12QT_BEGIN_NAMESPACE
13
14class QIOSApplicationState : public QObject
15{
16 Q_OBJECT
17public:
18 QIOSApplicationState();
19
20 static void handleApplicationStateChanged(UIApplicationState state, const QString &reason);
21 static Qt::ApplicationState toQtApplicationState(UIApplicationState state);
22
23Q_SIGNALS:
24 void applicationStateWillChange(Qt::ApplicationState oldState, Qt::ApplicationState newState);
25 void applicationStateDidChange(Qt::ApplicationState oldState, Qt::ApplicationState newState);
26};
27
28QT_END_NAMESPACE
29
30#endif
QIOSApplicationState applicationState
void initialize() override
Performs initialization steps that depend on having an event dispatcher available.
QVariant styleHint(StyleHint hint) const override
QPlatformTheme * createPlatformTheme(const QString &name) const override
QFactoryLoader * optionalPlugins()
void * nativeResourceForWindow(const QByteArray &resource, QWindow *window) override
void beep() const override
static QIOSIntegration * instance()
QPlatformOffscreenSurface * createPlatformOffscreenSurface(QOffscreenSurface *surface) const override
Factory function for QOffscreenSurface.
QPlatformWindow * createForeignWindow(QWindow *window, WId nativeHandle) const override
void setApplicationBadge(qint64 number) override
QPointingDevice * touchDevice()
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QStringList themeNames() const override
QPlatformNativeInterface * nativeInterface() const override
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformServices * services() const override
bool hasCapability(Capability cap) const override
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.