blob: 22d7b97d6bfe00f729c6a4cfead52c40c68603ca (
plain)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | // Copyright (C) 2016 The Qt Company Ltd.// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only#ifndef QINPUTMETHOD_P_H#define QINPUTMETHOD_P_H//// W A R N I N G// -------------//// This file is not part of the Qt API. It exists purely as an// implementation detail. This header file may change from version to// version without notice, or even be removed.//// We mean it.//#include <QtGui/private/qtguiglobal_p.h>#include <qinputmethod.h>#include <private/qobject_p.h>#include <QTransform>#include <qpa/qplatforminputcontext.h>#include <qpa/qplatformintegration.h>#include <private/qguiapplication_p.h> QT_BEGIN_NAMESPACE class QInputMethodPrivate :public QObjectPrivate {Q_DECLARE_PUBLIC(QInputMethod)public:inlineQInputMethodPrivate() :testContext(nullptr){} QPlatformInputContext *platformInputContext()const{return testContext ? testContext :QGuiApplicationPrivate::platformIntegration()->inputContext();}staticinline QInputMethodPrivate *get(QInputMethod *inputMethod){return inputMethod->d_func();}void_q_connectFocusObject();void_q_checkFocusObject(QObject *object);static boolobjectAcceptsInputMethod(QObject *object); QTransform inputItemTransform; QRectF inputRectangle; QPlatformInputContext *testContext;}; QT_END_NAMESPACE #endif
|