aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cerence/hwr/plugin/t9writewordcandidate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cerence/hwr/plugin/t9writewordcandidate.cpp')
-rw-r--r--src/plugins/cerence/hwr/plugin/t9writewordcandidate.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/plugins/cerence/hwr/plugin/t9writewordcandidate.cpp b/src/plugins/cerence/hwr/plugin/t9writewordcandidate.cpp
new file mode 100644
index 00000000..ebb35c07
--- /dev/null
+++ b/src/plugins/cerence/hwr/plugin/t9writewordcandidate.cpp
@@ -0,0 +1,23 @@
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#include "t9writewordcandidate_p.h"
+
+QT_BEGIN_NAMESPACE
+namespace QtVirtualKeyboard {
+
+T9WriteWordCandidate::T9WriteWordCandidate(QString symbs, int resultIndex, T9WriteWordCandidate::Origin origin) :
+ symbs(symbs),
+ resultIndex(resultIndex),
+ origin(origin)
+{
+
+}
+
+bool operator==(const T9WriteWordCandidate &a, const T9WriteWordCandidate &b)
+{
+ return a.symbs == b.symbs;
+}
+
+} // namespace QtVirtualKeyboard
+QT_END_NAMESPACE