blob: dfa6a42dd5a9d97d9caf8b107ac85bd36a7137ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef EDITDISTANCE_H
#define EDITDISTANCE_H
#include <QtCore/qset.h>
#include <QtCore/qstring.h>
QT_BEGIN_NAMESPACE
int editDistance(const QString &s, const QString &t);
QString nearestName(const QString &actual, const QSet<QString> &candidates);
QT_END_NAMESPACE
#endif
|