1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// clang-format off
// SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
// clang-format on
// SPDX-FileContributor: Andrew Hayzen <andrew.hayzen@kdab.com>
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#pragma once
#include <QtCore/QList>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include "rust/cxx.h"
// Define namespace otherwise we hit a GCC bug
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
namespace rust {
template<>
struct IsRelocatable<QStringList> : ::std::true_type
{
};
} // namespace rust
namespace rust {
namespace cxxqtlib1 {
QStringList
qstringlistFromQListQString(const QList<QString>& list);
QList<QString>
qstringlistAsQListQString(const QStringList& list);
::rust::isize
qstringlistRemoveDuplicates(QStringList& list);
}
}