diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-06-21 15:41:09 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-06-22 10:46:11 +0200 |
commit | e1293b49e3adbcff8eade91dc64901d40aeb5099 (patch) | |
tree | a089fb060c83e68f451047f8aa3fd07a0c68195a /src/gui/kernel/qplatformintegration_qpa.cpp | |
parent | c23580de7bb7faa41a6cdf4eabc55858516de089 (diff) |
add a platform interface for input method support
add QPlatformInputContext to help supporting
complex text input. Communication with the
focus objects/widgets will happen slightly
different then before, through events instead of
methods one can query on QWidget.
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index 773f1a31f6..c51924639b 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -98,6 +98,12 @@ QPlatformClipboard *QPlatformIntegration::clipboard() const #endif #ifndef QT_NO_DRAGANDDROP +/*! + Accessor for the platform integrations drag object. + + Default implementation returns 0, implying no drag and drop support. + +*/ QPlatformDrag *QPlatformIntegration::drag() const { return 0; @@ -245,4 +251,14 @@ QPlatformPrinterSupport *QPlatformIntegration::printerSupport() const return ps; } +/*! + Returns the platforms input context. + + The default implementation returns 0, implying no input method support. +*/ +QPlatformInputContext *QPlatformIntegration::inputContext() const +{ + return 0; +} + QT_END_NAMESPACE |