aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/inputview.h
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-10-23 13:52:36 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-10-27 10:14:48 +0000
commit751caffc2e265ededf7e99e3254690b08c4bc1dd (patch)
tree4a42e7d98edd9e9baaf45577885b5238917a3b48 /src/virtualkeyboard/inputview.h
parent81c0d7d4df40c1130a8e7c98411c045b7eafc475 (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/inputview.h')
-rw-r--r--src/virtualkeyboard/inputview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/virtualkeyboard/inputview.h b/src/virtualkeyboard/inputview.h
index d2720074..e3a29471 100644
--- a/src/virtualkeyboard/inputview.h
+++ b/src/virtualkeyboard/inputview.h
@@ -24,6 +24,8 @@
#include <QQuickView>
+namespace QtVirtualKeyboard {
+
class InputView : public QQuickView
{
Q_OBJECT
@@ -37,4 +39,6 @@ protected:
void resizeEvent(QResizeEvent *event);
};
+} // namespace QtVirtualKeyboard
+
#endif // INPUTVIEW_H