diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-10-23 13:52:36 +0300 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-10-27 10:14:48 +0000 |
commit | 751caffc2e265ededf7e99e3254690b08c4bc1dd (patch) | |
tree | 4a42e7d98edd9e9baaf45577885b5238917a3b48 /src/virtualkeyboard/t9writeinputmethod.cpp | |
parent | 81c0d7d4df40c1130a8e7c98411c045b7eafc475 (diff) |
Wrap C++ API into namespace
This change wraps the entire C++ API into namespace.
In practice, all the C++ interfaces inside the qtvirtualkeyboard plugin
are private, except the QPlatformInputContext plugin API. Even the
AbstractInputMethod and AbstractInputPanel are not really a public in
the sense that they could be used outside the plugin. At least it does
not make sense, since there is no way to extend the virtual keyboard
functionality without recompiling the plugin.
Task-number: QTRD-3628
Change-Id: I1037ee247abca3219efeaa4e4150baaff7c3d668
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/t9writeinputmethod.cpp')
-rw-r--r-- | src/virtualkeyboard/t9writeinputmethod.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/virtualkeyboard/t9writeinputmethod.cpp b/src/virtualkeyboard/t9writeinputmethod.cpp index 4389d03e..019e3c7a 100644 --- a/src/virtualkeyboard/t9writeinputmethod.cpp +++ b/src/virtualkeyboard/t9writeinputmethod.cpp @@ -36,6 +36,8 @@ #include "decumaLanguages.h" #include "xxt9wOem.h" +namespace QtVirtualKeyboard { + class T9WriteCaseFormatter { public: @@ -966,6 +968,11 @@ const DECUMA_MEM_FUNCTIONS T9WriteInputMethodPrivate::memFuncs = { NULL }; +/*! + \class QtVirtualKeyboard::T9WriteInputMethod + \internal +*/ + T9WriteInputMethod::T9WriteInputMethod(QObject *parent) : AbstractInputMethod(*new T9WriteInputMethodPrivate(this), parent) { @@ -1292,3 +1299,5 @@ void T9WriteInputMethod::resultsAvailable(const QVariantList &resultList) Q_D(T9WriteInputMethod); d->resultsAvailable(resultList); } + +} // namespace QtVirtualKeyboard |