ruby-qt6-qtcore 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rspec +2 -0
- data/.rubocop.yml +14 -0
- data/LICENSE +185 -0
- data/README.md +3 -0
- data/Rakefile +19 -0
- data/ext/qt6/qtcore/bando-qobject-rb.cpp +17 -0
- data/ext/qt6/qtcore/bando-qobject-rb.hpp +4 -0
- data/ext/qt6/qtcore/bando-rb.cpp +37 -0
- data/ext/qt6/qtcore/bando-rb.hpp +4 -0
- data/ext/qt6/qtcore/extconf.rb +18 -0
- data/ext/qt6/qtcore/qabstractitemmodel-rb.cpp +123 -0
- data/ext/qt6/qtcore/qabstractitemmodel-rb.hpp +4 -0
- data/ext/qt6/qtcore/qanystringview-rb.cpp +19 -0
- data/ext/qt6/qtcore/qanystringview-rb.hpp +4 -0
- data/ext/qt6/qtcore/qbasictimer-rb.cpp +24 -0
- data/ext/qt6/qtcore/qbasictimer-rb.hpp +4 -0
- data/ext/qt6/qtcore/qbytearray-rb.cpp +17 -0
- data/ext/qt6/qtcore/qbytearray-rb.hpp +4 -0
- data/ext/qt6/qtcore/qchar-rb.cpp +404 -0
- data/ext/qt6/qtcore/qchar-rb.hpp +4 -0
- data/ext/qt6/qtcore/qcoreapplication-rb.cpp +74 -0
- data/ext/qt6/qtcore/qcoreapplication-rb.hpp +4 -0
- data/ext/qt6/qtcore/qcoreevent-rb.cpp +234 -0
- data/ext/qt6/qtcore/qcoreevent-rb.hpp +4 -0
- data/ext/qt6/qtcore/qdatetime-rb.cpp +188 -0
- data/ext/qt6/qtcore/qdatetime-rb.hpp +4 -0
- data/ext/qt6/qtcore/qdir-rb.cpp +133 -0
- data/ext/qt6/qtcore/qdir-rb.hpp +4 -0
- data/ext/qt6/qtcore/qfile-rb.cpp +52 -0
- data/ext/qt6/qtcore/qfile-rb.hpp +4 -0
- data/ext/qt6/qtcore/qfiledevice-rb.cpp +105 -0
- data/ext/qt6/qtcore/qfiledevice-rb.hpp +4 -0
- data/ext/qt6/qtcore/qfileinfo-rb.cpp +92 -0
- data/ext/qt6/qtcore/qfileinfo-rb.hpp +4 -0
- data/ext/qt6/qtcore/qiodevice-rb.cpp +71 -0
- data/ext/qt6/qtcore/qiodevice-rb.hpp +4 -0
- data/ext/qt6/qtcore/qiodevicebase-rb.cpp +33 -0
- data/ext/qt6/qtcore/qiodevicebase-rb.hpp +4 -0
- data/ext/qt6/qtcore/qitemselection-rb.cpp +51 -0
- data/ext/qt6/qtcore/qitemselection-rb.hpp +4 -0
- data/ext/qt6/qtcore/qitemselectionmodel-rb.cpp +70 -0
- data/ext/qt6/qtcore/qitemselectionmodel-rb.hpp +4 -0
- data/ext/qt6/qtcore/qlibraryinfo-rb.cpp +36 -0
- data/ext/qt6/qtcore/qlibraryinfo-rb.hpp +4 -0
- data/ext/qt6/qtcore/qline-rb.cpp +84 -0
- data/ext/qt6/qtcore/qline-rb.hpp +4 -0
- data/ext/qt6/qtcore/qlocale-rb.cpp +1033 -0
- data/ext/qt6/qtcore/qlocale-rb.hpp +4 -0
- data/ext/qt6/qtcore/qmargins-rb.cpp +53 -0
- data/ext/qt6/qtcore/qmargins-rb.hpp +4 -0
- data/ext/qt6/qtcore/qmetaclassinfo-rb.cpp +16 -0
- data/ext/qt6/qtcore/qmetaclassinfo-rb.hpp +4 -0
- data/ext/qt6/qtcore/qmetamethod-rb.cpp +66 -0
- data/ext/qt6/qtcore/qmetamethod-rb.hpp +4 -0
- data/ext/qt6/qtcore/qmetaobject-rb.cpp +49 -0
- data/ext/qt6/qtcore/qmetaobject-rb.hpp +4 -0
- data/ext/qt6/qtcore/qmetaobjectbuilder-rb.cpp +157 -0
- data/ext/qt6/qtcore/qmetaobjectbuilder-rb.hpp +4 -0
- data/ext/qt6/qtcore/qmetatype-rb.cpp +109 -0
- data/ext/qt6/qtcore/qmetatype-rb.hpp +4 -0
- data/ext/qt6/qtcore/qmodelindex-rb.cpp +30 -0
- data/ext/qt6/qtcore/qmodelindex-rb.hpp +4 -0
- data/ext/qt6/qtcore/qobject-rb.cpp +80 -0
- data/ext/qt6/qtcore/qobject-rb.hpp +4 -0
- data/ext/qt6/qtcore/qpoint-rb.cpp +65 -0
- data/ext/qt6/qtcore/qpoint-rb.hpp +4 -0
- data/ext/qt6/qtcore/qrect-rb.cpp +162 -0
- data/ext/qt6/qtcore/qrect-rb.hpp +4 -0
- data/ext/qt6/qtcore/qregularexpression-rb.cpp +114 -0
- data/ext/qt6/qtcore/qregularexpression-rb.hpp +4 -0
- data/ext/qt6/qtcore/qresource-rb.cpp +48 -0
- data/ext/qt6/qtcore/qresource-rb.hpp +4 -0
- data/ext/qt6/qtcore/qsettings-rb.cpp +72 -0
- data/ext/qt6/qtcore/qsettings-rb.hpp +4 -0
- data/ext/qt6/qtcore/qsignalmapper-rb.cpp +32 -0
- data/ext/qt6/qtcore/qsignalmapper-rb.hpp +4 -0
- data/ext/qt6/qtcore/qsize-rb.cpp +81 -0
- data/ext/qt6/qtcore/qsize-rb.hpp +4 -0
- data/ext/qt6/qtcore/qstring-rb.cpp +67 -0
- data/ext/qt6/qtcore/qstring-rb.hpp +4 -0
- data/ext/qt6/qtcore/qstringlist-rb.cpp +53 -0
- data/ext/qt6/qtcore/qstringlist-rb.hpp +4 -0
- data/ext/qt6/qtcore/qt-enum-af-rb.cpp +345 -0
- data/ext/qt6/qtcore/qt-enum-af-rb.hpp +4 -0
- data/ext/qt6/qtcore/qt-enum-gl-rb.cpp +703 -0
- data/ext/qt6/qtcore/qt-enum-gl-rb.hpp +4 -0
- data/ext/qt6/qtcore/qt-enum-mr-rb.cpp +159 -0
- data/ext/qt6/qtcore/qt-enum-mr-rb.hpp +4 -0
- data/ext/qt6/qtcore/qt-enum-sz-rb.cpp +390 -0
- data/ext/qt6/qtcore/qt-enum-sz-rb.hpp +4 -0
- data/ext/qt6/qtcore/qt-flags-al-rb.cpp +61 -0
- data/ext/qt6/qtcore/qt-flags-al-rb.hpp +4 -0
- data/ext/qt6/qtcore/qt-flags-mz-rb.cpp +61 -0
- data/ext/qt6/qtcore/qt-flags-mz-rb.hpp +4 -0
- data/ext/qt6/qtcore/qtcore-rb.cpp +130 -0
- data/ext/qt6/qtcore/qtcore-rb.hpp +3 -0
- data/ext/qt6/qtcore/qtcoreversion-rb.cpp +9 -0
- data/ext/qt6/qtcore/qtcoreversion-rb.hpp +4 -0
- data/ext/qt6/qtcore/qtextstream-rb.cpp +99 -0
- data/ext/qt6/qtcore/qtextstream-rb.hpp +4 -0
- data/ext/qt6/qtcore/qtimer-rb.cpp +47 -0
- data/ext/qt6/qtcore/qtimer-rb.hpp +4 -0
- data/ext/qt6/qtcore/qtranslator-rb.cpp +26 -0
- data/ext/qt6/qtcore/qtranslator-rb.hpp +4 -0
- data/ext/qt6/qtcore/qurl-rb.cpp +140 -0
- data/ext/qt6/qtcore/qurl-rb.hpp +4 -0
- data/ext/qt6/qtcore/quuid-rb.cpp +60 -0
- data/ext/qt6/qtcore/quuid-rb.hpp +4 -0
- data/ext/qt6/qtcore/qvariant-rb.cpp +70 -0
- data/ext/qt6/qtcore/qvariant-rb.hpp +4 -0
- data/ext/qt6/qtcore/t-qtcore-rb.cpp +31 -0
- data/ext/qt6/qtcore/t-qtcore-rb.hpp +4 -0
- data/lib/qt6/bando/dsl.rb +91 -0
- data/lib/qt6/bando/qobject.rb +9 -0
- data/lib/qt6/configuration.rb +16 -0
- data/lib/qt6/ducktyping.rb +74 -0
- data/lib/qt6/qtcore/private/_nodoc.rb +9 -0
- data/lib/qt6/qtcore/private/inflector.rb +27 -0
- data/lib/qt6/qtcore/private/metamethod.rb +67 -0
- data/lib/qt6/qtcore/private/metaobject.rb +98 -0
- data/lib/qt6/qtcore/private/signal.rb +26 -0
- data/lib/qt6/qtcore/private/signalmanager.rb +30 -0
- data/lib/qt6/qtcore/qabstractitemmodel.rb +42 -0
- data/lib/qt6/qtcore/qabstractlistmodel.rb +12 -0
- data/lib/qt6/qtcore/qabstracttablemodel.rb +12 -0
- data/lib/qt6/qtcore/qanystringview.rb +33 -0
- data/lib/qt6/qtcore/qbasictimer.rb +16 -0
- data/lib/qt6/qtcore/qbool.rb +21 -0
- data/lib/qt6/qtcore/qbytearray.rb +22 -0
- data/lib/qt6/qtcore/qchar.rb +46 -0
- data/lib/qt6/qtcore/qchildevent.rb +9 -0
- data/lib/qt6/qtcore/qcoreapplication.rb +44 -0
- data/lib/qt6/qtcore/qdate.rb +43 -0
- data/lib/qt6/qtcore/qdatetime.rb +54 -0
- data/lib/qt6/qtcore/qdir.rb +34 -0
- data/lib/qt6/qtcore/qdynamicpropertychangeevent.rb +9 -0
- data/lib/qt6/qtcore/qevent.rb +11 -0
- data/lib/qt6/qtcore/qfile.rb +21 -0
- data/lib/qt6/qtcore/qfiledevice.rb +29 -0
- data/lib/qt6/qtcore/qfileinfo.rb +30 -0
- data/lib/qt6/qtcore/qiodevice.rb +31 -0
- data/lib/qt6/qtcore/qiodevicebase.rb +13 -0
- data/lib/qt6/qtcore/qitemselection.rb +11 -0
- data/lib/qt6/qtcore/qitemselectionmodel.rb +40 -0
- data/lib/qt6/qtcore/qitemselectionrange.rb +25 -0
- data/lib/qt6/qtcore/qlibraryinfo.rb +11 -0
- data/lib/qt6/qtcore/qline.rb +42 -0
- data/lib/qt6/qtcore/qlinef.rb +42 -0
- data/lib/qt6/qtcore/qlocale.rb +44 -0
- data/lib/qt6/qtcore/qmargins.rb +38 -0
- data/lib/qt6/qtcore/qmarginsf.rb +38 -0
- data/lib/qt6/qtcore/qmetaclassinfo.rb +13 -0
- data/lib/qt6/qtcore/qmetamethod.rb +20 -0
- data/lib/qt6/qtcore/qmetamethodbuilder.rb +12 -0
- data/lib/qt6/qtcore/qmetaobject.rb +12 -0
- data/lib/qt6/qtcore/qmetaobjectbuilder.rb +30 -0
- data/lib/qt6/qtcore/qmetatype.rb +31 -0
- data/lib/qt6/qtcore/qmodelindex.rb +16 -0
- data/lib/qt6/qtcore/qobject.rb +103 -0
- data/lib/qt6/qtcore/qpoint.rb +36 -0
- data/lib/qt6/qtcore/qpointf.rb +36 -0
- data/lib/qt6/qtcore/qrect.rb +46 -0
- data/lib/qt6/qtcore/qrectf.rb +46 -0
- data/lib/qt6/qtcore/qregularexpression.rb +34 -0
- data/lib/qt6/qtcore/qregularexpressionmatch.rb +16 -0
- data/lib/qt6/qtcore/qresource.rb +29 -0
- data/lib/qt6/qtcore/qsettings.rb +73 -0
- data/lib/qt6/qtcore/qsignalmapper.rb +33 -0
- data/lib/qt6/qtcore/qsize.rb +36 -0
- data/lib/qt6/qtcore/qsizef.rb +36 -0
- data/lib/qt6/qtcore/qstring.rb +58 -0
- data/lib/qt6/qtcore/qstringlist.rb +18 -0
- data/lib/qt6/qtcore/qt/qvariant.rb +46 -0
- data/lib/qt6/qtcore/qt.rb +226 -0
- data/lib/qt6/qtcore/qtcoreversion.rb +6 -0
- data/lib/qt6/qtcore/qtextstream.rb +32 -0
- data/lib/qt6/qtcore/qtime.rb +49 -0
- data/lib/qt6/qtcore/qtimer.rb +32 -0
- data/lib/qt6/qtcore/qtimerevent.rb +9 -0
- data/lib/qt6/qtcore/qtranslator.rb +27 -0
- data/lib/qt6/qtcore/qurl.rb +55 -0
- data/lib/qt6/qtcore/quuid.rb +47 -0
- data/lib/qt6/qtcore/qvariant.rb +48 -0
- data/lib/qt6/qtcore/version.rb +7 -0
- data/lib/qt6/qtcore.rb +86 -0
- data/lib/qt6/refinements/kernel.rb +38 -0
- data/lib/qt6/refinements/string.rb +8 -0
- metadata +244 -0
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
#include "qchar-rb.hpp"
|
|
2
|
+
#include <qchar.h>
|
|
3
|
+
#include <rice/qt6/qenum.hpp>
|
|
4
|
+
|
|
5
|
+
#include <QString>
|
|
6
|
+
|
|
7
|
+
using namespace Rice;
|
|
8
|
+
|
|
9
|
+
Rice::Class rb_cQChar;
|
|
10
|
+
|
|
11
|
+
void Init_qchar(Rice::Module rb_mQt6QtCore)
|
|
12
|
+
{
|
|
13
|
+
rb_cQChar =
|
|
14
|
+
// RubyQt6::QtCore::QChar
|
|
15
|
+
define_class_under<QChar>(rb_mQt6QtCore, "QChar")
|
|
16
|
+
// RubyQt6-Defined Functions
|
|
17
|
+
.define_method("to_std_string", [](QChar *self) -> std::string { return QString(*self).toStdString(); })
|
|
18
|
+
// Constructor
|
|
19
|
+
.define_constructor(Constructor<QChar, int>(), Arg("code"))
|
|
20
|
+
// Public Functions
|
|
21
|
+
.define_method<QChar::Category (QChar::*)() const noexcept>("category", &QChar::category)
|
|
22
|
+
.define_method("cell", &QChar::cell)
|
|
23
|
+
.define_method<unsigned char (QChar::*)() const noexcept>("combining_class", &QChar::combiningClass)
|
|
24
|
+
.define_method<QString (QChar::*)() const>("decomposition", &QChar::decomposition)
|
|
25
|
+
.define_method<QChar::Decomposition (QChar::*)() const noexcept>("decomposition_tag", &QChar::decompositionTag)
|
|
26
|
+
.define_method<int (QChar::*)() const noexcept>("digit_value", &QChar::digitValue)
|
|
27
|
+
.define_method<QChar::Direction (QChar::*)() const noexcept>("direction", &QChar::direction)
|
|
28
|
+
.define_method<bool (QChar::*)() const noexcept>("has_mirrored", &QChar::hasMirrored)
|
|
29
|
+
.define_method<bool (QChar::*)() const noexcept>("digit?", &QChar::isDigit)
|
|
30
|
+
.define_method<bool (QChar::*)() const noexcept>("high_surrogate?", &QChar::isHighSurrogate)
|
|
31
|
+
.define_method<bool (QChar::*)() const noexcept>("letter?", &QChar::isLetter)
|
|
32
|
+
.define_method<bool (QChar::*)() const noexcept>("letter_or_number?", &QChar::isLetterOrNumber)
|
|
33
|
+
.define_method<bool (QChar::*)() const noexcept>("low_surrogate?", &QChar::isLowSurrogate)
|
|
34
|
+
.define_method<bool (QChar::*)() const noexcept>("lower?", &QChar::isLower)
|
|
35
|
+
.define_method<bool (QChar::*)() const noexcept>("mark?", &QChar::isMark)
|
|
36
|
+
.define_method<bool (QChar::*)() const noexcept>("non_character?", &QChar::isNonCharacter)
|
|
37
|
+
.define_method("null?", &QChar::isNull)
|
|
38
|
+
.define_method<bool (QChar::*)() const noexcept>("number?", &QChar::isNumber)
|
|
39
|
+
.define_method<bool (QChar::*)() const noexcept>("print?", &QChar::isPrint)
|
|
40
|
+
.define_method<bool (QChar::*)() const noexcept>("punct?", &QChar::isPunct)
|
|
41
|
+
.define_method<bool (QChar::*)() const noexcept>("space?", &QChar::isSpace)
|
|
42
|
+
.define_method<bool (QChar::*)() const noexcept>("surrogate?", &QChar::isSurrogate)
|
|
43
|
+
.define_method<bool (QChar::*)() const noexcept>("symbol?", &QChar::isSymbol)
|
|
44
|
+
.define_method<bool (QChar::*)() const noexcept>("title_case?", &QChar::isTitleCase)
|
|
45
|
+
.define_method<bool (QChar::*)() const noexcept>("upper?", &QChar::isUpper)
|
|
46
|
+
.define_method<QChar::JoiningType (QChar::*)() const noexcept>("joining_type", &QChar::joiningType)
|
|
47
|
+
.define_method<QChar (QChar::*)() const noexcept>("mirrored_char", &QChar::mirroredChar)
|
|
48
|
+
.define_method("row", &QChar::row)
|
|
49
|
+
.define_method<QChar::Script (QChar::*)() const noexcept>("script", &QChar::script)
|
|
50
|
+
.define_method("set_cell", &QChar::setCell, Arg("acell"))
|
|
51
|
+
.define_method("set_row", &QChar::setRow, Arg("arow"))
|
|
52
|
+
.define_method<QChar (QChar::*)() const noexcept>("to_case_folded", &QChar::toCaseFolded)
|
|
53
|
+
.define_method("to_latin1", &QChar::toLatin1)
|
|
54
|
+
.define_method<QChar (QChar::*)() const noexcept>("to_lower", &QChar::toLower)
|
|
55
|
+
.define_method<QChar (QChar::*)() const noexcept>("to_title_case", &QChar::toTitleCase)
|
|
56
|
+
.define_method<QChar (QChar::*)() const noexcept>("to_upper", &QChar::toUpper)
|
|
57
|
+
// .define_method<char16_t (QChar::*)() const noexcept>("unicode", &QChar::unicode)
|
|
58
|
+
.define_method<QChar::UnicodeVersion (QChar::*)() const noexcept>("unicode_version", &QChar::unicodeVersion);
|
|
59
|
+
|
|
60
|
+
Data_Type<QChar::Category> rb_cQCharCategory =
|
|
61
|
+
// RubyQt6::QtCore::QChar::Category
|
|
62
|
+
define_qenum_under<QChar::Category>(rb_cQChar, "Category");
|
|
63
|
+
define_qenum_value_under(rb_cQCharCategory, "Mark_NonSpacing", QChar::Category::Mark_NonSpacing);
|
|
64
|
+
define_qenum_value_under(rb_cQCharCategory, "Mark_SpacingCombining", QChar::Category::Mark_SpacingCombining);
|
|
65
|
+
define_qenum_value_under(rb_cQCharCategory, "Mark_Enclosing", QChar::Category::Mark_Enclosing);
|
|
66
|
+
define_qenum_value_under(rb_cQCharCategory, "Number_DecimalDigit", QChar::Category::Number_DecimalDigit);
|
|
67
|
+
define_qenum_value_under(rb_cQCharCategory, "Number_Letter", QChar::Category::Number_Letter);
|
|
68
|
+
define_qenum_value_under(rb_cQCharCategory, "Number_Other", QChar::Category::Number_Other);
|
|
69
|
+
define_qenum_value_under(rb_cQCharCategory, "Separator_Space", QChar::Category::Separator_Space);
|
|
70
|
+
define_qenum_value_under(rb_cQCharCategory, "Separator_Line", QChar::Category::Separator_Line);
|
|
71
|
+
define_qenum_value_under(rb_cQCharCategory, "Separator_Paragraph", QChar::Category::Separator_Paragraph);
|
|
72
|
+
define_qenum_value_under(rb_cQCharCategory, "Other_Control", QChar::Category::Other_Control);
|
|
73
|
+
define_qenum_value_under(rb_cQCharCategory, "Other_Format", QChar::Category::Other_Format);
|
|
74
|
+
define_qenum_value_under(rb_cQCharCategory, "Other_Surrogate", QChar::Category::Other_Surrogate);
|
|
75
|
+
define_qenum_value_under(rb_cQCharCategory, "Other_PrivateUse", QChar::Category::Other_PrivateUse);
|
|
76
|
+
define_qenum_value_under(rb_cQCharCategory, "Other_NotAssigned", QChar::Category::Other_NotAssigned);
|
|
77
|
+
define_qenum_value_under(rb_cQCharCategory, "Letter_Uppercase", QChar::Category::Letter_Uppercase);
|
|
78
|
+
define_qenum_value_under(rb_cQCharCategory, "Letter_Lowercase", QChar::Category::Letter_Lowercase);
|
|
79
|
+
define_qenum_value_under(rb_cQCharCategory, "Letter_Titlecase", QChar::Category::Letter_Titlecase);
|
|
80
|
+
define_qenum_value_under(rb_cQCharCategory, "Letter_Modifier", QChar::Category::Letter_Modifier);
|
|
81
|
+
define_qenum_value_under(rb_cQCharCategory, "Letter_Other", QChar::Category::Letter_Other);
|
|
82
|
+
define_qenum_value_under(rb_cQCharCategory, "Punctuation_Connector", QChar::Category::Punctuation_Connector);
|
|
83
|
+
define_qenum_value_under(rb_cQCharCategory, "Punctuation_Dash", QChar::Category::Punctuation_Dash);
|
|
84
|
+
define_qenum_value_under(rb_cQCharCategory, "Punctuation_Open", QChar::Category::Punctuation_Open);
|
|
85
|
+
define_qenum_value_under(rb_cQCharCategory, "Punctuation_Close", QChar::Category::Punctuation_Close);
|
|
86
|
+
define_qenum_value_under(rb_cQCharCategory, "Punctuation_InitialQuote", QChar::Category::Punctuation_InitialQuote);
|
|
87
|
+
define_qenum_value_under(rb_cQCharCategory, "Punctuation_FinalQuote", QChar::Category::Punctuation_FinalQuote);
|
|
88
|
+
define_qenum_value_under(rb_cQCharCategory, "Punctuation_Other", QChar::Category::Punctuation_Other);
|
|
89
|
+
define_qenum_value_under(rb_cQCharCategory, "Symbol_Math", QChar::Category::Symbol_Math);
|
|
90
|
+
define_qenum_value_under(rb_cQCharCategory, "Symbol_Currency", QChar::Category::Symbol_Currency);
|
|
91
|
+
define_qenum_value_under(rb_cQCharCategory, "Symbol_Modifier", QChar::Category::Symbol_Modifier);
|
|
92
|
+
define_qenum_value_under(rb_cQCharCategory, "Symbol_Other", QChar::Category::Symbol_Other);
|
|
93
|
+
|
|
94
|
+
Data_Type<QChar::CombiningClass> rb_cQCharCombiningClass =
|
|
95
|
+
// RubyQt6::QtCore::QChar::CombiningClass
|
|
96
|
+
define_qenum_under<QChar::CombiningClass>(rb_cQChar, "CombiningClass");
|
|
97
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_BelowLeftAttached", QChar::CombiningClass::Combining_BelowLeftAttached);
|
|
98
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_BelowAttached", QChar::CombiningClass::Combining_BelowAttached);
|
|
99
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_BelowRightAttached", QChar::CombiningClass::Combining_BelowRightAttached);
|
|
100
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_LeftAttached", QChar::CombiningClass::Combining_LeftAttached);
|
|
101
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_RightAttached", QChar::CombiningClass::Combining_RightAttached);
|
|
102
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_AboveLeftAttached", QChar::CombiningClass::Combining_AboveLeftAttached);
|
|
103
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_AboveAttached", QChar::CombiningClass::Combining_AboveAttached);
|
|
104
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_AboveRightAttached", QChar::CombiningClass::Combining_AboveRightAttached);
|
|
105
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_BelowLeft", QChar::CombiningClass::Combining_BelowLeft);
|
|
106
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_Below", QChar::CombiningClass::Combining_Below);
|
|
107
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_BelowRight", QChar::CombiningClass::Combining_BelowRight);
|
|
108
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_Left", QChar::CombiningClass::Combining_Left);
|
|
109
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_Right", QChar::CombiningClass::Combining_Right);
|
|
110
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_AboveLeft", QChar::CombiningClass::Combining_AboveLeft);
|
|
111
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_Above", QChar::CombiningClass::Combining_Above);
|
|
112
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_AboveRight", QChar::CombiningClass::Combining_AboveRight);
|
|
113
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_DoubleBelow", QChar::CombiningClass::Combining_DoubleBelow);
|
|
114
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_DoubleAbove", QChar::CombiningClass::Combining_DoubleAbove);
|
|
115
|
+
define_qenum_value_under(rb_cQCharCombiningClass, "Combining_IotaSubscript", QChar::CombiningClass::Combining_IotaSubscript);
|
|
116
|
+
|
|
117
|
+
Data_Type<QChar::Decomposition> rb_cQCharDecomposition =
|
|
118
|
+
// RubyQt6::QtCore::QChar::Decomposition
|
|
119
|
+
define_qenum_under<QChar::Decomposition>(rb_cQChar, "Decomposition");
|
|
120
|
+
define_qenum_value_under(rb_cQCharDecomposition, "NoDecomposition", QChar::Decomposition::NoDecomposition);
|
|
121
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Canonical", QChar::Decomposition::Canonical);
|
|
122
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Font", QChar::Decomposition::Font);
|
|
123
|
+
define_qenum_value_under(rb_cQCharDecomposition, "NoBreak", QChar::Decomposition::NoBreak);
|
|
124
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Initial", QChar::Decomposition::Initial);
|
|
125
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Medial", QChar::Decomposition::Medial);
|
|
126
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Final", QChar::Decomposition::Final);
|
|
127
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Isolated", QChar::Decomposition::Isolated);
|
|
128
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Circle", QChar::Decomposition::Circle);
|
|
129
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Super", QChar::Decomposition::Super);
|
|
130
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Sub", QChar::Decomposition::Sub);
|
|
131
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Vertical", QChar::Decomposition::Vertical);
|
|
132
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Wide", QChar::Decomposition::Wide);
|
|
133
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Narrow", QChar::Decomposition::Narrow);
|
|
134
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Small", QChar::Decomposition::Small);
|
|
135
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Square", QChar::Decomposition::Square);
|
|
136
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Compat", QChar::Decomposition::Compat);
|
|
137
|
+
define_qenum_value_under(rb_cQCharDecomposition, "Fraction", QChar::Decomposition::Fraction);
|
|
138
|
+
|
|
139
|
+
Data_Type<QChar::Direction> rb_cQCharDirection =
|
|
140
|
+
// RubyQt6::QtCore::QChar::Direction
|
|
141
|
+
define_qenum_under<QChar::Direction>(rb_cQChar, "Direction");
|
|
142
|
+
define_qenum_value_under(rb_cQCharDirection, "DirL", QChar::Direction::DirL);
|
|
143
|
+
define_qenum_value_under(rb_cQCharDirection, "DirR", QChar::Direction::DirR);
|
|
144
|
+
define_qenum_value_under(rb_cQCharDirection, "DirEN", QChar::Direction::DirEN);
|
|
145
|
+
define_qenum_value_under(rb_cQCharDirection, "DirES", QChar::Direction::DirES);
|
|
146
|
+
define_qenum_value_under(rb_cQCharDirection, "DirET", QChar::Direction::DirET);
|
|
147
|
+
define_qenum_value_under(rb_cQCharDirection, "DirAN", QChar::Direction::DirAN);
|
|
148
|
+
define_qenum_value_under(rb_cQCharDirection, "DirCS", QChar::Direction::DirCS);
|
|
149
|
+
define_qenum_value_under(rb_cQCharDirection, "DirB", QChar::Direction::DirB);
|
|
150
|
+
define_qenum_value_under(rb_cQCharDirection, "DirS", QChar::Direction::DirS);
|
|
151
|
+
define_qenum_value_under(rb_cQCharDirection, "DirWS", QChar::Direction::DirWS);
|
|
152
|
+
define_qenum_value_under(rb_cQCharDirection, "DirON", QChar::Direction::DirON);
|
|
153
|
+
define_qenum_value_under(rb_cQCharDirection, "DirLRE", QChar::Direction::DirLRE);
|
|
154
|
+
define_qenum_value_under(rb_cQCharDirection, "DirLRO", QChar::Direction::DirLRO);
|
|
155
|
+
define_qenum_value_under(rb_cQCharDirection, "DirAL", QChar::Direction::DirAL);
|
|
156
|
+
define_qenum_value_under(rb_cQCharDirection, "DirRLE", QChar::Direction::DirRLE);
|
|
157
|
+
define_qenum_value_under(rb_cQCharDirection, "DirRLO", QChar::Direction::DirRLO);
|
|
158
|
+
define_qenum_value_under(rb_cQCharDirection, "DirPDF", QChar::Direction::DirPDF);
|
|
159
|
+
define_qenum_value_under(rb_cQCharDirection, "DirNSM", QChar::Direction::DirNSM);
|
|
160
|
+
define_qenum_value_under(rb_cQCharDirection, "DirBN", QChar::Direction::DirBN);
|
|
161
|
+
define_qenum_value_under(rb_cQCharDirection, "DirLRI", QChar::Direction::DirLRI);
|
|
162
|
+
define_qenum_value_under(rb_cQCharDirection, "DirRLI", QChar::Direction::DirRLI);
|
|
163
|
+
define_qenum_value_under(rb_cQCharDirection, "DirFSI", QChar::Direction::DirFSI);
|
|
164
|
+
define_qenum_value_under(rb_cQCharDirection, "DirPDI", QChar::Direction::DirPDI);
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
Data_Type<QChar::JoiningType> rb_cQCharJoiningType =
|
|
168
|
+
// RubyQt6::QtCore::QChar::JoiningType
|
|
169
|
+
define_qenum_under<QChar::JoiningType>(rb_cQChar, "JoiningType");
|
|
170
|
+
define_qenum_value_under(rb_cQCharJoiningType, "Joining_None", QChar::JoiningType::Joining_None);
|
|
171
|
+
define_qenum_value_under(rb_cQCharJoiningType, "Joining_Causing", QChar::JoiningType::Joining_Causing);
|
|
172
|
+
define_qenum_value_under(rb_cQCharJoiningType, "Joining_Dual", QChar::JoiningType::Joining_Dual);
|
|
173
|
+
define_qenum_value_under(rb_cQCharJoiningType, "Joining_Right", QChar::JoiningType::Joining_Right);
|
|
174
|
+
define_qenum_value_under(rb_cQCharJoiningType, "Joining_Left", QChar::JoiningType::Joining_Left);
|
|
175
|
+
define_qenum_value_under(rb_cQCharJoiningType, "Joining_Transparent", QChar::JoiningType::Joining_Transparent);
|
|
176
|
+
|
|
177
|
+
Data_Type<QChar::Script> rb_cQCharScript =
|
|
178
|
+
// RubyQt6::QtCore::QChar::Script
|
|
179
|
+
define_qenum_under<QChar::Script>(rb_cQChar, "Script");
|
|
180
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Unknown", QChar::Script::Script_Unknown);
|
|
181
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Inherited", QChar::Script::Script_Inherited);
|
|
182
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Common", QChar::Script::Script_Common);
|
|
183
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Latin", QChar::Script::Script_Latin);
|
|
184
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Greek", QChar::Script::Script_Greek);
|
|
185
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Cyrillic", QChar::Script::Script_Cyrillic);
|
|
186
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Armenian", QChar::Script::Script_Armenian);
|
|
187
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Hebrew", QChar::Script::Script_Hebrew);
|
|
188
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Arabic", QChar::Script::Script_Arabic);
|
|
189
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Syriac", QChar::Script::Script_Syriac);
|
|
190
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Thaana", QChar::Script::Script_Thaana);
|
|
191
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Devanagari", QChar::Script::Script_Devanagari);
|
|
192
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Bengali", QChar::Script::Script_Bengali);
|
|
193
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Gurmukhi", QChar::Script::Script_Gurmukhi);
|
|
194
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Gujarati", QChar::Script::Script_Gujarati);
|
|
195
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Oriya", QChar::Script::Script_Oriya);
|
|
196
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tamil", QChar::Script::Script_Tamil);
|
|
197
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Telugu", QChar::Script::Script_Telugu);
|
|
198
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Kannada", QChar::Script::Script_Kannada);
|
|
199
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Malayalam", QChar::Script::Script_Malayalam);
|
|
200
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Sinhala", QChar::Script::Script_Sinhala);
|
|
201
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Thai", QChar::Script::Script_Thai);
|
|
202
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Lao", QChar::Script::Script_Lao);
|
|
203
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tibetan", QChar::Script::Script_Tibetan);
|
|
204
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Myanmar", QChar::Script::Script_Myanmar);
|
|
205
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Georgian", QChar::Script::Script_Georgian);
|
|
206
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Hangul", QChar::Script::Script_Hangul);
|
|
207
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Ethiopic", QChar::Script::Script_Ethiopic);
|
|
208
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Cherokee", QChar::Script::Script_Cherokee);
|
|
209
|
+
define_qenum_value_under(rb_cQCharScript, "Script_CanadianAboriginal", QChar::Script::Script_CanadianAboriginal);
|
|
210
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Ogham", QChar::Script::Script_Ogham);
|
|
211
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Runic", QChar::Script::Script_Runic);
|
|
212
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Khmer", QChar::Script::Script_Khmer);
|
|
213
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Mongolian", QChar::Script::Script_Mongolian);
|
|
214
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Hiragana", QChar::Script::Script_Hiragana);
|
|
215
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Katakana", QChar::Script::Script_Katakana);
|
|
216
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Bopomofo", QChar::Script::Script_Bopomofo);
|
|
217
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Han", QChar::Script::Script_Han);
|
|
218
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Yi", QChar::Script::Script_Yi);
|
|
219
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldItalic", QChar::Script::Script_OldItalic);
|
|
220
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Gothic", QChar::Script::Script_Gothic);
|
|
221
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Deseret", QChar::Script::Script_Deseret);
|
|
222
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tagalog", QChar::Script::Script_Tagalog);
|
|
223
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Hanunoo", QChar::Script::Script_Hanunoo);
|
|
224
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Buhid", QChar::Script::Script_Buhid);
|
|
225
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tagbanwa", QChar::Script::Script_Tagbanwa);
|
|
226
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Coptic", QChar::Script::Script_Coptic);
|
|
227
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Limbu", QChar::Script::Script_Limbu);
|
|
228
|
+
define_qenum_value_under(rb_cQCharScript, "Script_TaiLe", QChar::Script::Script_TaiLe);
|
|
229
|
+
define_qenum_value_under(rb_cQCharScript, "Script_LinearB", QChar::Script::Script_LinearB);
|
|
230
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Ugaritic", QChar::Script::Script_Ugaritic);
|
|
231
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Shavian", QChar::Script::Script_Shavian);
|
|
232
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Osmanya", QChar::Script::Script_Osmanya);
|
|
233
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Cypriot", QChar::Script::Script_Cypriot);
|
|
234
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Braille", QChar::Script::Script_Braille);
|
|
235
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Buginese", QChar::Script::Script_Buginese);
|
|
236
|
+
define_qenum_value_under(rb_cQCharScript, "Script_NewTaiLue", QChar::Script::Script_NewTaiLue);
|
|
237
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Glagolitic", QChar::Script::Script_Glagolitic);
|
|
238
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tifinagh", QChar::Script::Script_Tifinagh);
|
|
239
|
+
define_qenum_value_under(rb_cQCharScript, "Script_SylotiNagri", QChar::Script::Script_SylotiNagri);
|
|
240
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldPersian", QChar::Script::Script_OldPersian);
|
|
241
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Kharoshthi", QChar::Script::Script_Kharoshthi);
|
|
242
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Balinese", QChar::Script::Script_Balinese);
|
|
243
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Cuneiform", QChar::Script::Script_Cuneiform);
|
|
244
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Phoenician", QChar::Script::Script_Phoenician);
|
|
245
|
+
define_qenum_value_under(rb_cQCharScript, "Script_PhagsPa", QChar::Script::Script_PhagsPa);
|
|
246
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Nko", QChar::Script::Script_Nko);
|
|
247
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Sundanese", QChar::Script::Script_Sundanese);
|
|
248
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Lepcha", QChar::Script::Script_Lepcha);
|
|
249
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OlChiki", QChar::Script::Script_OlChiki);
|
|
250
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Vai", QChar::Script::Script_Vai);
|
|
251
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Saurashtra", QChar::Script::Script_Saurashtra);
|
|
252
|
+
define_qenum_value_under(rb_cQCharScript, "Script_KayahLi", QChar::Script::Script_KayahLi);
|
|
253
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Rejang", QChar::Script::Script_Rejang);
|
|
254
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Lycian", QChar::Script::Script_Lycian);
|
|
255
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Carian", QChar::Script::Script_Carian);
|
|
256
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Lydian", QChar::Script::Script_Lydian);
|
|
257
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Cham", QChar::Script::Script_Cham);
|
|
258
|
+
define_qenum_value_under(rb_cQCharScript, "Script_TaiTham", QChar::Script::Script_TaiTham);
|
|
259
|
+
define_qenum_value_under(rb_cQCharScript, "Script_TaiViet", QChar::Script::Script_TaiViet);
|
|
260
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Avestan", QChar::Script::Script_Avestan);
|
|
261
|
+
define_qenum_value_under(rb_cQCharScript, "Script_EgyptianHieroglyphs", QChar::Script::Script_EgyptianHieroglyphs);
|
|
262
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Samaritan", QChar::Script::Script_Samaritan);
|
|
263
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Lisu", QChar::Script::Script_Lisu);
|
|
264
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Bamum", QChar::Script::Script_Bamum);
|
|
265
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Javanese", QChar::Script::Script_Javanese);
|
|
266
|
+
define_qenum_value_under(rb_cQCharScript, "Script_MeeteiMayek", QChar::Script::Script_MeeteiMayek);
|
|
267
|
+
define_qenum_value_under(rb_cQCharScript, "Script_ImperialAramaic", QChar::Script::Script_ImperialAramaic);
|
|
268
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldSouthArabian", QChar::Script::Script_OldSouthArabian);
|
|
269
|
+
define_qenum_value_under(rb_cQCharScript, "Script_InscriptionalParthian", QChar::Script::Script_InscriptionalParthian);
|
|
270
|
+
define_qenum_value_under(rb_cQCharScript, "Script_InscriptionalPahlavi", QChar::Script::Script_InscriptionalPahlavi);
|
|
271
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldTurkic", QChar::Script::Script_OldTurkic);
|
|
272
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Kaithi", QChar::Script::Script_Kaithi);
|
|
273
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Batak", QChar::Script::Script_Batak);
|
|
274
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Brahmi", QChar::Script::Script_Brahmi);
|
|
275
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Mandaic", QChar::Script::Script_Mandaic);
|
|
276
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Chakma", QChar::Script::Script_Chakma);
|
|
277
|
+
define_qenum_value_under(rb_cQCharScript, "Script_MeroiticCursive", QChar::Script::Script_MeroiticCursive);
|
|
278
|
+
define_qenum_value_under(rb_cQCharScript, "Script_MeroiticHieroglyphs", QChar::Script::Script_MeroiticHieroglyphs);
|
|
279
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Miao", QChar::Script::Script_Miao);
|
|
280
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Sharada", QChar::Script::Script_Sharada);
|
|
281
|
+
define_qenum_value_under(rb_cQCharScript, "Script_SoraSompeng", QChar::Script::Script_SoraSompeng);
|
|
282
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Takri", QChar::Script::Script_Takri);
|
|
283
|
+
define_qenum_value_under(rb_cQCharScript, "Script_CaucasianAlbanian", QChar::Script::Script_CaucasianAlbanian);
|
|
284
|
+
define_qenum_value_under(rb_cQCharScript, "Script_BassaVah", QChar::Script::Script_BassaVah);
|
|
285
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Duployan", QChar::Script::Script_Duployan);
|
|
286
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Elbasan", QChar::Script::Script_Elbasan);
|
|
287
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Grantha", QChar::Script::Script_Grantha);
|
|
288
|
+
define_qenum_value_under(rb_cQCharScript, "Script_PahawhHmong", QChar::Script::Script_PahawhHmong);
|
|
289
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Khojki", QChar::Script::Script_Khojki);
|
|
290
|
+
define_qenum_value_under(rb_cQCharScript, "Script_LinearA", QChar::Script::Script_LinearA);
|
|
291
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Mahajani", QChar::Script::Script_Mahajani);
|
|
292
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Manichaean", QChar::Script::Script_Manichaean);
|
|
293
|
+
define_qenum_value_under(rb_cQCharScript, "Script_MendeKikakui", QChar::Script::Script_MendeKikakui);
|
|
294
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Modi", QChar::Script::Script_Modi);
|
|
295
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Mro", QChar::Script::Script_Mro);
|
|
296
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldNorthArabian", QChar::Script::Script_OldNorthArabian);
|
|
297
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Nabataean", QChar::Script::Script_Nabataean);
|
|
298
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Palmyrene", QChar::Script::Script_Palmyrene);
|
|
299
|
+
define_qenum_value_under(rb_cQCharScript, "Script_PauCinHau", QChar::Script::Script_PauCinHau);
|
|
300
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldPermic", QChar::Script::Script_OldPermic);
|
|
301
|
+
define_qenum_value_under(rb_cQCharScript, "Script_PsalterPahlavi", QChar::Script::Script_PsalterPahlavi);
|
|
302
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Siddham", QChar::Script::Script_Siddham);
|
|
303
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Khudawadi", QChar::Script::Script_Khudawadi);
|
|
304
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tirhuta", QChar::Script::Script_Tirhuta);
|
|
305
|
+
define_qenum_value_under(rb_cQCharScript, "Script_WarangCiti", QChar::Script::Script_WarangCiti);
|
|
306
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Ahom", QChar::Script::Script_Ahom);
|
|
307
|
+
define_qenum_value_under(rb_cQCharScript, "Script_AnatolianHieroglyphs", QChar::Script::Script_AnatolianHieroglyphs);
|
|
308
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Hatran", QChar::Script::Script_Hatran);
|
|
309
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Multani", QChar::Script::Script_Multani);
|
|
310
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldHungarian", QChar::Script::Script_OldHungarian);
|
|
311
|
+
define_qenum_value_under(rb_cQCharScript, "Script_SignWriting", QChar::Script::Script_SignWriting);
|
|
312
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Adlam", QChar::Script::Script_Adlam);
|
|
313
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Bhaiksuki", QChar::Script::Script_Bhaiksuki);
|
|
314
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Marchen", QChar::Script::Script_Marchen);
|
|
315
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Newa", QChar::Script::Script_Newa);
|
|
316
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Osage", QChar::Script::Script_Osage);
|
|
317
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tangut", QChar::Script::Script_Tangut);
|
|
318
|
+
define_qenum_value_under(rb_cQCharScript, "Script_MasaramGondi", QChar::Script::Script_MasaramGondi);
|
|
319
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Nushu", QChar::Script::Script_Nushu);
|
|
320
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Soyombo", QChar::Script::Script_Soyombo);
|
|
321
|
+
define_qenum_value_under(rb_cQCharScript, "Script_ZanabazarSquare", QChar::Script::Script_ZanabazarSquare);
|
|
322
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Dogra", QChar::Script::Script_Dogra);
|
|
323
|
+
define_qenum_value_under(rb_cQCharScript, "Script_GunjalaGondi", QChar::Script::Script_GunjalaGondi);
|
|
324
|
+
define_qenum_value_under(rb_cQCharScript, "Script_HanifiRohingya", QChar::Script::Script_HanifiRohingya);
|
|
325
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Makasar", QChar::Script::Script_Makasar);
|
|
326
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Medefaidrin", QChar::Script::Script_Medefaidrin);
|
|
327
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldSogdian", QChar::Script::Script_OldSogdian);
|
|
328
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Sogdian", QChar::Script::Script_Sogdian);
|
|
329
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Elymaic", QChar::Script::Script_Elymaic);
|
|
330
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Nandinagari", QChar::Script::Script_Nandinagari);
|
|
331
|
+
define_qenum_value_under(rb_cQCharScript, "Script_NyiakengPuachueHmong", QChar::Script::Script_NyiakengPuachueHmong);
|
|
332
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Wancho", QChar::Script::Script_Wancho);
|
|
333
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Chorasmian", QChar::Script::Script_Chorasmian);
|
|
334
|
+
define_qenum_value_under(rb_cQCharScript, "Script_DivesAkuru", QChar::Script::Script_DivesAkuru);
|
|
335
|
+
define_qenum_value_under(rb_cQCharScript, "Script_KhitanSmallScript", QChar::Script::Script_KhitanSmallScript);
|
|
336
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Yezidi", QChar::Script::Script_Yezidi);
|
|
337
|
+
define_qenum_value_under(rb_cQCharScript, "Script_CyproMinoan", QChar::Script::Script_CyproMinoan);
|
|
338
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OldUyghur", QChar::Script::Script_OldUyghur);
|
|
339
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Tangsa", QChar::Script::Script_Tangsa);
|
|
340
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Toto", QChar::Script::Script_Toto);
|
|
341
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Vithkuqi", QChar::Script::Script_Vithkuqi);
|
|
342
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Kawi", QChar::Script::Script_Kawi);
|
|
343
|
+
define_qenum_value_under(rb_cQCharScript, "Script_NagMundari", QChar::Script::Script_NagMundari);
|
|
344
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Garay", QChar::Script::Script_Garay);
|
|
345
|
+
define_qenum_value_under(rb_cQCharScript, "Script_GurungKhema", QChar::Script::Script_GurungKhema);
|
|
346
|
+
define_qenum_value_under(rb_cQCharScript, "Script_KiratRai", QChar::Script::Script_KiratRai);
|
|
347
|
+
define_qenum_value_under(rb_cQCharScript, "Script_OlOnal", QChar::Script::Script_OlOnal);
|
|
348
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Sunuwar", QChar::Script::Script_Sunuwar);
|
|
349
|
+
define_qenum_value_under(rb_cQCharScript, "Script_Todhri", QChar::Script::Script_Todhri);
|
|
350
|
+
define_qenum_value_under(rb_cQCharScript, "Script_TuluTigalari", QChar::Script::Script_TuluTigalari);
|
|
351
|
+
define_qenum_value_under(rb_cQCharScript, "ScriptCount", QChar::Script::ScriptCount);
|
|
352
|
+
|
|
353
|
+
Data_Type<QChar::SpecialCharacter> rb_cQCharSpecialCharacter =
|
|
354
|
+
// RubyQt6::QtCore::QChar::SpecialCharacter
|
|
355
|
+
define_qenum_under<QChar::SpecialCharacter>(rb_cQChar, "SpecialCharacter");
|
|
356
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "Null", QChar::SpecialCharacter::Null);
|
|
357
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "Tabulation", QChar::SpecialCharacter::Tabulation);
|
|
358
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "LineFeed", QChar::SpecialCharacter::LineFeed);
|
|
359
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "FormFeed", QChar::SpecialCharacter::FormFeed);
|
|
360
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "CarriageReturn", QChar::SpecialCharacter::CarriageReturn);
|
|
361
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "Space", QChar::SpecialCharacter::Space);
|
|
362
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "Nbsp", QChar::SpecialCharacter::Nbsp);
|
|
363
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "SoftHyphen", QChar::SpecialCharacter::SoftHyphen);
|
|
364
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "ReplacementCharacter", QChar::SpecialCharacter::ReplacementCharacter);
|
|
365
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "ObjectReplacementCharacter", QChar::SpecialCharacter::ObjectReplacementCharacter);
|
|
366
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "ByteOrderMark", QChar::SpecialCharacter::ByteOrderMark);
|
|
367
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "ByteOrderSwapped", QChar::SpecialCharacter::ByteOrderSwapped);
|
|
368
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "ParagraphSeparator", QChar::SpecialCharacter::ParagraphSeparator);
|
|
369
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "LineSeparator", QChar::SpecialCharacter::LineSeparator);
|
|
370
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "VisualTabCharacter", QChar::SpecialCharacter::VisualTabCharacter);
|
|
371
|
+
define_qenum_value_under(rb_cQCharSpecialCharacter, "LastValidCodePoint", QChar::SpecialCharacter::LastValidCodePoint);
|
|
372
|
+
|
|
373
|
+
Data_Type<QChar::UnicodeVersion> rb_cQCharUnicodeVersion =
|
|
374
|
+
// RubyQt6::QtCore::QChar::UnicodeVersion
|
|
375
|
+
define_qenum_under<QChar::UnicodeVersion>(rb_cQChar, "UnicodeVersion");
|
|
376
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_Unassigned", QChar::UnicodeVersion::Unicode_Unassigned);
|
|
377
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_1_1", QChar::UnicodeVersion::Unicode_1_1);
|
|
378
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_2_0", QChar::UnicodeVersion::Unicode_2_0);
|
|
379
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_2_1_2", QChar::UnicodeVersion::Unicode_2_1_2);
|
|
380
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_3_0", QChar::UnicodeVersion::Unicode_3_0);
|
|
381
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_3_1", QChar::UnicodeVersion::Unicode_3_1);
|
|
382
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_3_2", QChar::UnicodeVersion::Unicode_3_2);
|
|
383
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_4_0", QChar::UnicodeVersion::Unicode_4_0);
|
|
384
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_4_1", QChar::UnicodeVersion::Unicode_4_1);
|
|
385
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_5_0", QChar::UnicodeVersion::Unicode_5_0);
|
|
386
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_5_1", QChar::UnicodeVersion::Unicode_5_1);
|
|
387
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_5_2", QChar::UnicodeVersion::Unicode_5_2);
|
|
388
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_6_0", QChar::UnicodeVersion::Unicode_6_0);
|
|
389
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_6_1", QChar::UnicodeVersion::Unicode_6_1);
|
|
390
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_6_2", QChar::UnicodeVersion::Unicode_6_2);
|
|
391
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_6_3", QChar::UnicodeVersion::Unicode_6_3);
|
|
392
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_7_0", QChar::UnicodeVersion::Unicode_7_0);
|
|
393
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_8_0", QChar::UnicodeVersion::Unicode_8_0);
|
|
394
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_9_0", QChar::UnicodeVersion::Unicode_9_0);
|
|
395
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_10_0", QChar::UnicodeVersion::Unicode_10_0);
|
|
396
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_11_0", QChar::UnicodeVersion::Unicode_11_0);
|
|
397
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_12_0", QChar::UnicodeVersion::Unicode_12_0);
|
|
398
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_12_1", QChar::UnicodeVersion::Unicode_12_1);
|
|
399
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_13_0", QChar::UnicodeVersion::Unicode_13_0);
|
|
400
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_14_0", QChar::UnicodeVersion::Unicode_14_0);
|
|
401
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_15_0", QChar::UnicodeVersion::Unicode_15_0);
|
|
402
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_15_1", QChar::UnicodeVersion::Unicode_15_1);
|
|
403
|
+
define_qenum_value_under(rb_cQCharUnicodeVersion, "Unicode_16_0", QChar::UnicodeVersion::Unicode_16_0);
|
|
404
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
#include "qcoreapplication-rb.hpp"
|
|
2
|
+
#include <qcoreapplication.h>
|
|
3
|
+
|
|
4
|
+
#include <QAbstractNativeEventFilter>
|
|
5
|
+
#include <QPermission>
|
|
6
|
+
#include <QTranslator>
|
|
7
|
+
|
|
8
|
+
using namespace Rice;
|
|
9
|
+
|
|
10
|
+
Rice::Class rb_cQCoreApplication;
|
|
11
|
+
|
|
12
|
+
void Init_qcoreapplication(Rice::Module rb_mQt6QtCore)
|
|
13
|
+
{
|
|
14
|
+
rb_cQCoreApplication =
|
|
15
|
+
// RubyQt6::QtCore::QCoreApplication
|
|
16
|
+
define_class_under<QCoreApplication, QObject>(rb_mQt6QtCore, "QCoreApplication")
|
|
17
|
+
// RubyQt6-Defined Functions
|
|
18
|
+
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QCoreApplication::staticMetaObject; })
|
|
19
|
+
// Constructor
|
|
20
|
+
.define_constructor(Constructor<QCoreApplication, int &, char **>(), Arg("argc"), Arg("argv").setBuffer())
|
|
21
|
+
// Public Functions
|
|
22
|
+
.define_method("check_permission", &QCoreApplication::checkPermission, Arg("permission"))
|
|
23
|
+
.define_method("install_native_event_filter", &QCoreApplication::installNativeEventFilter, Arg("filter_obj"))
|
|
24
|
+
.define_method("notify", &QCoreApplication::notify, Arg("receiver"), Arg("event"))
|
|
25
|
+
.define_method("remove_native_event_filter", &QCoreApplication::removeNativeEventFilter, Arg("filter_obj"))
|
|
26
|
+
// Public Slots
|
|
27
|
+
.define_singleton_function("exit", &QCoreApplication::exit, Arg("retcode") = static_cast<int>(0))
|
|
28
|
+
.define_singleton_function("quit", &QCoreApplication::quit)
|
|
29
|
+
// Signals
|
|
30
|
+
.define_method("about_to_quit", &QCoreApplication::aboutToQuit)
|
|
31
|
+
.define_method("application_name_changed", &QCoreApplication::applicationNameChanged)
|
|
32
|
+
.define_method("application_version_changed", &QCoreApplication::applicationVersionChanged)
|
|
33
|
+
.define_method("organization_domain_changed", &QCoreApplication::organizationDomainChanged)
|
|
34
|
+
.define_method("organization_name_changed", &QCoreApplication::organizationNameChanged)
|
|
35
|
+
// Static Public Members
|
|
36
|
+
.define_singleton_function("add_library_path", &QCoreApplication::addLibraryPath, Arg("path"))
|
|
37
|
+
.define_singleton_function("application_dir_path", &QCoreApplication::applicationDirPath)
|
|
38
|
+
.define_singleton_function("application_file_path", &QCoreApplication::applicationFilePath)
|
|
39
|
+
.define_singleton_function("application_name", &QCoreApplication::applicationName)
|
|
40
|
+
.define_singleton_function("application_pid", &QCoreApplication::applicationPid)
|
|
41
|
+
.define_singleton_function("application_version", &QCoreApplication::applicationVersion)
|
|
42
|
+
.define_singleton_function("arguments", &QCoreApplication::arguments)
|
|
43
|
+
.define_singleton_function("closing_down", &QCoreApplication::closingDown)
|
|
44
|
+
.define_singleton_function("event_dispatcher", &QCoreApplication::eventDispatcher)
|
|
45
|
+
.define_singleton_function("exec", &QCoreApplication::exec)
|
|
46
|
+
.define_singleton_function("install_translator", &QCoreApplication::installTranslator, Arg("message_file"))
|
|
47
|
+
// .define_singleton_function("instance", &QCoreApplication::instance)
|
|
48
|
+
.define_singleton_function("quit_lock_enabled?", &QCoreApplication::isQuitLockEnabled)
|
|
49
|
+
.define_singleton_function("setuid_allowed?", &QCoreApplication::isSetuidAllowed)
|
|
50
|
+
.define_singleton_function("library_paths", &QCoreApplication::libraryPaths)
|
|
51
|
+
.define_singleton_function("organization_domain", &QCoreApplication::organizationDomain)
|
|
52
|
+
.define_singleton_function("organization_name", &QCoreApplication::organizationName)
|
|
53
|
+
.define_singleton_function("post_event", &QCoreApplication::postEvent, Arg("receiver"), Arg("event"), Arg("priority") = static_cast<int>(Qt::NormalEventPriority))
|
|
54
|
+
.define_singleton_function<void (*)(QEventLoop::ProcessEventsFlags)>("process_events", &QCoreApplication::processEvents, Arg("flags") = static_cast<QEventLoop::ProcessEventsFlags>(QEventLoop::ProcessEventsFlag::AllEvents))
|
|
55
|
+
.define_singleton_function<void (*)(QEventLoop::ProcessEventsFlags, QDeadlineTimer)>("process_events", &QCoreApplication::processEvents, Arg("flags"), Arg("deadline"))
|
|
56
|
+
.define_singleton_function<void (*)(QEventLoop::ProcessEventsFlags, int)>("process_events", &QCoreApplication::processEvents, Arg("flags"), Arg("maxtime"))
|
|
57
|
+
.define_singleton_function("remove_library_path", &QCoreApplication::removeLibraryPath, Arg("path"))
|
|
58
|
+
.define_singleton_function("remove_posted_events", &QCoreApplication::removePostedEvents, Arg("receiver"), Arg("event_type") = static_cast<int>(0))
|
|
59
|
+
.define_singleton_function("remove_translator", &QCoreApplication::removeTranslator, Arg("message_file"))
|
|
60
|
+
.define_singleton_function("send_event", &QCoreApplication::sendEvent, Arg("receiver"), Arg("event"))
|
|
61
|
+
.define_singleton_function("send_posted_events", &QCoreApplication::sendPostedEvents, Arg("receiver") = static_cast<QObject *>(nullptr), Arg("event_type") = static_cast<int>(0))
|
|
62
|
+
.define_singleton_function("set_application_name", &QCoreApplication::setApplicationName, Arg("application"))
|
|
63
|
+
.define_singleton_function("set_application_version", &QCoreApplication::setApplicationVersion, Arg("version"))
|
|
64
|
+
.define_singleton_function("set_attribute", &QCoreApplication::setAttribute, Arg("attribute"), Arg("on") = static_cast<bool>(true))
|
|
65
|
+
.define_singleton_function("set_event_dispatcher", &QCoreApplication::setEventDispatcher, Arg("event_dispatcher"))
|
|
66
|
+
.define_singleton_function("set_library_paths", &QCoreApplication::setLibraryPaths, Arg("path"))
|
|
67
|
+
.define_singleton_function("set_organization_domain", &QCoreApplication::setOrganizationDomain, Arg("org_domain"))
|
|
68
|
+
.define_singleton_function("set_organization_name", &QCoreApplication::setOrganizationName, Arg("org_name"))
|
|
69
|
+
.define_singleton_function("set_quit_lock_enabled", &QCoreApplication::setQuitLockEnabled, Arg("enabled"))
|
|
70
|
+
.define_singleton_function("set_setuid_allowed", &QCoreApplication::setSetuidAllowed, Arg("allow"))
|
|
71
|
+
.define_singleton_function("starting_up", &QCoreApplication::startingUp)
|
|
72
|
+
.define_singleton_function("test_attribute", &QCoreApplication::testAttribute, Arg("attribute"))
|
|
73
|
+
.define_singleton_function("translate", &QCoreApplication::translate, Arg("context"), Arg("key"), Arg("disambiguation") = static_cast<const char *>(nullptr), Arg("n") = static_cast<int>(-1));
|
|
74
|
+
}
|