aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cerence/hwr/plugin/t9writewordcandidate.cpp
blob: ebb35c07f49fbb1ce083e391d1711dcc5bf7c625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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