Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqnxnavigatoreventhandler.cpp
Go to the documentation of this file.
1// Copyright (C) 2012 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5
6#include "qqnxintegration.h"
7#include "qqnxscreen.h"
8
9#include <QDebug>
10#include <QGuiApplication>
11#include <qpa/qwindowsysteminterface.h>
12
13#if defined(QQNXNAVIGATOREVENTHANDLER_DEBUG)
14#define qNavigatorEventHandlerDebug qDebug
15#else
16#define qNavigatorEventHandlerDebug QT_NO_QDEBUG_MACRO
17#endif
18
20
23{
24}
25
27{
28 // reply to navigator that (any) orientation is acceptable
29 // TODO: check if top window flags prohibit orientation change
31 return true;
32}
33
35{
36 // update screen geometry and reply to navigator that we're ready
39}
40
42{
44
46}
47
49{
50 // shutdown everything
53}
54
56{
59}
60
62{
65}
66
68{
71}
72
\inmodule QtCore
Definition qbytearray.h:57
static void quit()
\threadsafe
\inmodule QtCore
Definition qobject.h:90
void rotationChanged(int angle)
void windowGroupActivated(const QByteArray &id)
QQnxNavigatorEventHandler(QObject *parent=nullptr)
void windowGroupStateChanged(const QByteArray &id, Qt::WindowState state)
void handleWindowGroupStateChanged(const QByteArray &id, Qt::WindowState state)
void windowGroupDeactivated(const QByteArray &id)
void handleWindowGroupActivated(const QByteArray &id)
void handleWindowGroupDeactivated(const QByteArray &id)
else opt state
[0]
Combined button and popup list for selecting options.
WindowState
Definition qnamespace.h:250
GLenum GLuint id
[7]
GLfloat angle
#define qNavigatorEventHandlerDebug
#define Q_EMIT
#define emit
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent