Skip to content

Commit 0cf6df1

Browse files
author
drswinghead
committed
Update to qt 5.12.1
1 parent 2e5b731 commit 0cf6df1

31 files changed

+483
-355
lines changed

qtcore/qbytearray.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3691,7 +3691,7 @@ func (this *QByteArray) ToULongLongp1(ok *bool) uint64 {
36913691
/*
36923692
Returns the byte array converted to a float value.
36933693
3694-
Returns 0.0 if the conversion fails.
3694+
Returns an infinity if the conversion overflows or 0.0 if the conversion fails for other reasons (e.g. underflow).
36953695
36963696
If ok is not nullptr, failure is reported by setting *ok to false, and success by setting *ok to true.
36973697
@@ -3727,7 +3727,7 @@ func (this *QByteArray) ToFloat(ok *bool) float32 {
37273727
/*
37283728
Returns the byte array converted to a float value.
37293729
3730-
Returns 0.0 if the conversion fails.
3730+
Returns an infinity if the conversion overflows or 0.0 if the conversion fails for other reasons (e.g. underflow).
37313731
37323732
If ok is not nullptr, failure is reported by setting *ok to false, and success by setting *ok to true.
37333733
@@ -3765,7 +3765,7 @@ func (this *QByteArray) ToFloatp() float32 {
37653765
/*
37663766
Returns the byte array converted to a double value.
37673767
3768-
Returns 0.0 if the conversion fails.
3768+
Returns an infinity if the conversion overflows or 0.0 if the conversion fails for other reasons (e.g. underflow).
37693769
37703770
If ok is not nullptr, failure is reported by setting *ok to false, and success by setting *ok to true.
37713771
@@ -3801,7 +3801,7 @@ func (this *QByteArray) ToDouble(ok *bool) float64 {
38013801
/*
38023802
Returns the byte array converted to a double value.
38033803
3804-
Returns 0.0 if the conversion fails.
3804+
Returns an infinity if the conversion overflows or 0.0 if the conversion fails for other reasons (e.g. underflow).
38053805
38063806
If ok is not nullptr, failure is reported by setting *ok to false, and success by setting *ok to true.
38073807

qtcore/qcollator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ This will enable proper sorting of numeric digits, so that e.g. 100 sorts after
260260
261261
By default this mode is off.
262262
263-
Note: On Windows, this functionality makes use of the ICU library. If Qt was compiled without ICU support, it falls back to code using native Windows API, which only works from Windows 7 onwards. On older versions of Windows, it will not work and a warning will be emitted at runtime.
264-
265263
See also numericMode().
266264
*/
267265
func (this *QCollator) SetNumericMode(on bool) {
@@ -409,6 +407,8 @@ func (this *QCollator) Operator_fncall(s1 string, s2 string) bool {
409407
Returns a sortKey for string.
410408
411409
Creating the sort key is usually somewhat slower, than using the compare() methods directly. But if the string is compared repeatedly (e.g. when sorting a whole list of strings), it's usually faster to create the sort keys for each string and then sort using the keys.
410+
411+
Note: Not supported with the C (a.k.a. POSIX) locale on Darwin.
412412
*/
413413
func (this *QCollator) SortKey(string string) *QCollatorSortKey /*123*/ {
414414
var tmpArg0 = NewQString5(string)

qtcore/qconstants.go

Lines changed: 44 additions & 44 deletions
Large diffs are not rendered by default.

qtcore/qcoreapplication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ func (this *QCoreApplication) Event(arg0 QEvent_ITF /*777 QEvent **/) bool {
16061606
type QCoreApplication__ = int
16071607

16081608
//
1609-
const QCoreApplication__ApplicationFlags QCoreApplication__ = 330752
1609+
const QCoreApplication__ApplicationFlags QCoreApplication__ = 330753
16101610

16111611
func (this *QCoreApplication) ItemName(val int) string {
16121612
return qtrt.GetClassEnumItemName(this, val)

0 commit comments

Comments
 (0)