diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-01-05 16:06:44 +0200 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-01-16 09:08:01 +0200 |
commit | e883a6a310e804a8abfed10502bc4edffe547b6a (patch) | |
tree | 03e29f59bce2de1109fbaf1d193ff630dc8b0251 /src/virtualkeyboard/platforminputcontext.h | |
parent | a90f6bb81d2a23dc0d56ab5feab05160b6923189 (diff) |
Add hybrid app/desktop mode
This change allows the application to prevent creation of desktop
InputPanel and make its own instance of InputPanel work in the
application container.
Rationale for this change is to make it easier for running tests.
Change-Id: I63bfddfb03121b30900fbe04c4f742b466fc2deb
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/platforminputcontext.h')
-rw-r--r-- | src/virtualkeyboard/platforminputcontext.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/virtualkeyboard/platforminputcontext.h b/src/virtualkeyboard/platforminputcontext.h index 2511a67a..b123a7dd 100644 --- a/src/virtualkeyboard/platforminputcontext.h +++ b/src/virtualkeyboard/platforminputcontext.h @@ -76,9 +76,8 @@ private slots: private: friend class DeclarativeInputContext; - DeclarativeInputContext *m_declarativeContext; - AbstractInputPanel *m_inputPanel; - bool m_inputPanelCreated; + QPointer<DeclarativeInputContext> m_declarativeContext; + QPointer<AbstractInputPanel> m_inputPanel; QPointer<QObject> m_focusObject; QLocale m_locale; Qt::LayoutDirection m_inputDirection; |