aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/enterkeyactionattachedtype.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/enterkeyactionattachedtype.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/enterkeyactionattachedtype.h')
-rw-r--r--src/virtualkeyboard/enterkeyactionattachedtype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/virtualkeyboard/enterkeyactionattachedtype.h b/src/virtualkeyboard/enterkeyactionattachedtype.h
index 78ad60e0..5c2f5629 100644
--- a/src/virtualkeyboard/enterkeyactionattachedtype.h
+++ b/src/virtualkeyboard/enterkeyactionattachedtype.h
@@ -25,6 +25,8 @@
#include <QObject>
#include "enterkeyaction.h"
+namespace QtVirtualKeyboard {
+
class EnterKeyActionAttachedType : public QObject
{
Q_OBJECT
@@ -53,4 +55,6 @@ private:
bool m_enabled;
};
+} // namespace QtVirtualKeyboard
+
#endif