-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6ee353
commit a9b5564
Showing
14 changed files
with
724 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// clang-format off | ||
// SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
// clang-format on | ||
// SPDX-FileContributor: Nicolas Fella <[email protected]> | ||
// | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
#pragma once | ||
|
||
#include <QtCore/QLocale> | ||
|
||
#include "rust/cxx.h" | ||
|
||
namespace rust { | ||
|
||
template<> | ||
struct IsRelocatable<QLocale> : ::std::true_type | ||
{}; | ||
|
||
namespace cxxqtlib1 { | ||
|
||
using QLocaleTagSeparator = QLocale::TagSeparator; | ||
using QLocaleCurrencySymbolFormat = QLocale::CurrencySymbolFormat; | ||
using QLocaleFormatType = QLocale::FormatType; | ||
using QLocaleLanguage = QLocale::Language; | ||
using QLocaleMeasurementSystem = QLocale::MeasurementSystem; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// clang-format off | ||
// SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
// clang-format on | ||
// SPDX-FileContributor: Nicolas Fella <[email protected]> | ||
// | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
#include "cxx-qt-lib-extras/qlocale.h" | ||
#include <cxx-qt-lib/assertion_utils.h> | ||
|
||
assert_alignment_and_size(QLocale, { ::std::size_t a0; }); | ||
|
||
static_assert(!::std::is_trivially_copy_assignable<QLocale>::value); | ||
static_assert(!::std::is_trivially_copy_constructible<QLocale>::value); | ||
|
||
static_assert(!::std::is_trivially_destructible<QLocale>::value); | ||
|
||
static_assert(QTypeInfo<QLocale>::isRelocatable); |
Oops, something went wrong.