1
1
<?xml version =" 1.0" ?>
2
2
<typesystem package =" com.trolltech.qt.Core" >
3
-
3
+
4
4
<rejection class =" QSysInfo" enum-name =" WinVersion" />
5
5
<rejection class =" QSysInfo" enum-name =" MacVersion" />
6
6
14
14
<rejection class =" QSystemLocale" />
15
15
<rejection class =" QFutureWatcherBase" />
16
16
<rejection class =" QFutureSynchronizer" />
17
-
17
+
18
18
<rejection class =" QAbstractConcatenable" />
19
19
<rejection class =" QAbstractNativeEventFilter" />
20
20
<rejection class =" QAbstractOpenGLFunctions" />
179
179
<primitive-type name =" GLvoid" />
180
180
<primitive-type name =" GLboolean" />
181
181
<primitive-type name =" GLuint64" />
182
-
182
+
183
183
<primitive-type name =" bool" />
184
184
<primitive-type name =" double" />
185
185
<primitive-type name =" qreal" />
219
219
<primitive-type name =" qintptr" />
220
220
<primitive-type name =" qptrdiff" />
221
221
<primitive-type name =" qsizetype" />
222
-
222
+
223
223
<rejection class =" qfloat16" /> <!-- only used in QRgbaFloat template and QCborStreamReader/Writer so far -->
224
224
225
225
<value-type name =" QModelIndex" />
718
718
<rejection class =" QProcess" function-name =" pid" />
719
719
<rejection class =" QProcess" function-name =" setInheritHandles" />
720
720
<rejection class =" QProcess" function-name =" inheritHandles" />
721
+ <rejection class =" QProcess" function-name =" failChildProcessModifier" />
721
722
<rejection class =" QRegion" function-name =" cleanUp" />
722
723
<rejection class =" QSettings" function-name =" registerFormat" />
723
724
<rejection class =" QVector" function-name =" back" />
744
745
<rejection class =" QAbstractFileEngineIterator" enum-name =" EntryInfoType" />
745
746
746
747
<namespace-type name =" Qt" >
747
-
748
+
748
749
<extra-includes >
749
750
<include file-name =" QTextDocument" location =" global" />
750
751
</extra-includes >
778
779
<enum-type name =" QSharedMemory::AccessMode" />
779
780
<enum-type name =" QSharedMemory::SharedMemoryError" />
780
781
<enum-type name =" QElapsedTimer::ClockType" />
781
-
782
+
782
783
<enum-type name =" QtMsgType" >
783
784
</enum-type >
784
785
909
910
910
911
<enum-type name =" QtConcurrent::ReduceOption" flags =" QtConcurrent::ReduceOptions" />
911
912
<enum-type name =" QtConcurrent::ThreadFunctionResult" />
912
-
913
+
913
914
914
915
<enum-type name =" QCoreApplication::Encoding" >
915
916
</enum-type >
@@ -983,7 +984,7 @@ public:
983
984
</inject-code >
984
985
</value-type >
985
986
<value-type name =" QCalendar::YearMonthDay" since-version =" 5.14" />
986
-
987
+
987
988
<value-type name =" QDateTime" >
988
989
<modify-function signature =" operator=(QDateTime)" remove =" all" />
989
990
</value-type >
@@ -999,18 +1000,18 @@ public:
999
1000
</value-type >
1000
1001
1001
1002
<value-type name =" QPoint" >
1002
- <modify-function signature =" rx()" remove =" all" />
1003
- <modify-function signature =" ry()" remove =" all" />
1003
+ <modify-function signature =" rx()" remove =" all" />
1004
+ <modify-function signature =" ry()" remove =" all" />
1004
1005
</value-type >
1005
1006
<value-type name =" QPointF" >
1006
- <modify-function signature =" rx()" remove =" all" />
1007
- <modify-function signature =" ry()" remove =" all" />
1007
+ <modify-function signature =" rx()" remove =" all" />
1008
+ <modify-function signature =" ry()" remove =" all" />
1008
1009
</value-type >
1009
1010
<enum-type name =" QLineF::IntersectType" />
1010
1011
<enum-type name =" QLineF::IntersectionType" />
1011
1012
<value-type name =" QLineF" />
1012
1013
<value-type name =" QLine" />
1013
-
1014
+
1014
1015
<value-type name =" QRect" >
1015
1016
<modify-function signature =" getCoords(int*,int*,int*,int*)const" >
1016
1017
<remove />
@@ -1088,11 +1089,15 @@ public:
1088
1089
<modify-function signature =" toUInt(QString,bool*,int)const" remove =" all" />
1089
1090
<modify-function signature =" toULongLong(QString,bool*,int)const" remove =" all" />
1090
1091
<modify-function signature =" operator=(QLocale)" remove =" all" />
1091
-
1092
+
1092
1093
<extra-includes >
1093
1094
<include file-name =" QDate" location =" global" />
1094
1095
</extra-includes >
1095
1096
1097
+ <inject-code class =" pywrap-h" since-version =" 6.7" >
1098
+ public:
1099
+ const static int DefaultTwoDigitBaseYear = QLocale::DefaultTwoDigitBaseYear;
1100
+ </inject-code >
1096
1101
</value-type >
1097
1102
1098
1103
@@ -1109,7 +1114,7 @@ public:
1109
1114
<modify-function signature =" operator^=(QBitArray)" access =" private" />
1110
1115
<modify-function signature =" operator|=(QBitArray)" access =" private" />
1111
1116
<modify-function signature =" operator~()const" access =" private" />
1112
-
1117
+
1113
1118
<modify-function signature =" operator& =(QBitArray)" >
1114
1119
<modify-argument index =" 0" replace-value =" this" />
1115
1120
</modify-function >
@@ -1237,7 +1242,7 @@ public:
1237
1242
<modify-function signature =" operator=(QByteArray)" access =" private" />
1238
1243
<modify-function signature =" operator+=(QString)" remove =" all" />
1239
1244
<modify-function signature =" operator+=(char)" remove =" all" />
1240
-
1245
+
1241
1246
<inject-code class =" pywrap-h" >
1242
1247
PyObject* data(QByteArray* b) {
1243
1248
return PyBytes_FromStringAndSize(b-> data(), b-> size());
@@ -1436,7 +1441,7 @@ public:
1436
1441
<!-- Can't provide same API and performance -->
1437
1442
<modify-function signature =" unmap(unsigned char*)" remove =" all" />
1438
1443
<!-- Can't provide same API and performance -->
1439
-
1444
+
1440
1445
<modify-function signature =" open(int,QFlags< QIODevice::OpenModeFlag> )" remove =" all" before-version =" 6" />
1441
1446
<modify-function signature =" open(int,QFlags< QIODeviceBase::OpenModeFlag> ,QFlags< QFileDevice::FileHandleFlag> )" remove =" all" since-version =" 6" />
1442
1447
<modify-function signature =" decodeName(const char*)" remove =" all" />
@@ -1621,14 +1626,14 @@ public:
1621
1626
<define-ownership owner =" c++" />
1622
1627
</modify-argument >
1623
1628
</modify-function >
1624
-
1629
+
1625
1630
<modify-function signature =" argv()" remove =" all" />
1626
1631
<!-- Obsolete -->
1627
1632
<modify-function signature =" argc()" remove =" all" />
1628
1633
<!-- Obsolete -->
1629
1634
1630
1635
<modify-function signature =" QCoreApplication(int & , char **, int)" remove =" all" />
1631
-
1636
+
1632
1637
<modify-function signature =" QCoreApplication(int & , char **)" remove =" all" />
1633
1638
</object-type >
1634
1639
@@ -1654,7 +1659,7 @@ public:
1654
1659
1655
1660
<object-type name =" QSignalBlocker" />
1656
1661
<object-type name =" QStorageInfo" />
1657
-
1662
+
1658
1663
<object-type name =" QDataStream" >
1659
1664
<extra-includes >
1660
1665
<include file-name =" PythonQtConversion.h" location =" global" />
@@ -1701,28 +1706,28 @@ public:
1701
1706
<modify-function signature =" writeBytes(const char*,uint)" >
1702
1707
<remove />
1703
1708
</modify-function >
1704
-
1709
+
1705
1710
<modify-function signature =" operator>> (signed char& )" remove =" all" />
1706
1711
<modify-function signature =" operator<< (signed char)" remove =" all" />
1707
1712
1708
- <modify-function signature =" operator<< (bool)" remove =" all" />
1709
- <modify-function signature =" operator<< (unsigned char)" remove =" all" />
1710
- <modify-function signature =" operator<< (int)" remove =" all" />
1711
- <modify-function signature =" operator<< (qint64)" remove =" all" />
1712
- <modify-function signature =" operator<< (float)" remove =" all" />
1713
- <modify-function signature =" operator<< (double)" remove =" all" />
1714
- <modify-function signature =" operator<< (short)" remove =" all" />
1715
-
1716
- <modify-function signature =" operator>> (bool & )" remove =" all" />
1717
- <modify-function signature =" operator>> (unsigned char & )" remove =" all" />
1718
- <modify-function signature =" operator>> (int & )" remove =" all" />
1719
- <modify-function signature =" operator>> (uint & )" remove =" all" />
1720
- <modify-function signature =" operator>> (qint64 & )" remove =" all" />
1721
- <modify-function signature =" operator>> (unsigned long long & )" remove =" all" />
1722
- <modify-function signature =" operator>> (float & )" remove =" all" />
1723
- <modify-function signature =" operator>> (double & )" remove =" all" />
1724
- <modify-function signature =" operator>> (short & )" remove =" all" />
1725
- <modify-function signature =" operator>> (unsigned short & )" remove =" all" />
1713
+ <modify-function signature =" operator<< (bool)" remove =" all" />
1714
+ <modify-function signature =" operator<< (unsigned char)" remove =" all" />
1715
+ <modify-function signature =" operator<< (int)" remove =" all" />
1716
+ <modify-function signature =" operator<< (qint64)" remove =" all" />
1717
+ <modify-function signature =" operator<< (float)" remove =" all" />
1718
+ <modify-function signature =" operator<< (double)" remove =" all" />
1719
+ <modify-function signature =" operator<< (short)" remove =" all" />
1720
+
1721
+ <modify-function signature =" operator>> (bool & )" remove =" all" />
1722
+ <modify-function signature =" operator>> (unsigned char & )" remove =" all" />
1723
+ <modify-function signature =" operator>> (int & )" remove =" all" />
1724
+ <modify-function signature =" operator>> (uint & )" remove =" all" />
1725
+ <modify-function signature =" operator>> (qint64 & )" remove =" all" />
1726
+ <modify-function signature =" operator>> (unsigned long long & )" remove =" all" />
1727
+ <modify-function signature =" operator>> (float & )" remove =" all" />
1728
+ <modify-function signature =" operator>> (double & )" remove =" all" />
1729
+ <modify-function signature =" operator>> (short & )" remove =" all" />
1730
+ <modify-function signature =" operator>> (unsigned short & )" remove =" all" />
1726
1731
1727
1732
<inject-code class =" pywrap-h" >
1728
1733
QString readQString(QDataStream* d) { QString r; (*d) >> r; return r; }
@@ -1856,38 +1861,38 @@ public:
1856
1861
<remove />
1857
1862
</modify-function >
1858
1863
1859
- <modify-function signature =" operator<< (QBool)" >
1860
- <rename to =" writeBoolean" />
1864
+ <modify-function signature =" operator<< (QBool)" >
1865
+ <rename to =" writeBoolean" />
1861
1866
<modify-argument index =" 0" replace-value =" this" />
1862
1867
</modify-function >
1863
- <modify-function signature =" operator<< (char)" >
1868
+ <modify-function signature =" operator<< (char)" >
1864
1869
<modify-argument index =" 0" replace-value =" this" />
1865
- <rename to =" writeByte" />
1870
+ <rename to =" writeByte" />
1866
1871
</modify-function >
1867
1872
<modify-function signature =" operator<< (signed int)" >
1868
- <rename to =" writeInt" />
1873
+ <rename to =" writeInt" />
1869
1874
<modify-argument index =" 0" replace-value =" this" />
1870
1875
</modify-function >
1871
1876
<modify-function signature =" operator<< (qlonglong)" >
1872
- <rename to =" writeLongLong" />
1877
+ <rename to =" writeLongLong" />
1873
1878
<modify-argument index =" 0" replace-value =" this" />
1874
1879
</modify-function >
1875
- <modify-function signature =" operator<< (float)" >
1876
- <rename to =" writeFloat" />
1880
+ <modify-function signature =" operator<< (float)" >
1881
+ <rename to =" writeFloat" />
1877
1882
<modify-argument index =" 0" replace-value =" this" />
1878
1883
</modify-function >
1879
- <modify-function signature =" operator<< (double)" >
1880
- <rename to =" writeDouble" />
1884
+ <modify-function signature =" operator<< (double)" >
1885
+ <rename to =" writeDouble" />
1881
1886
<modify-argument index =" 0" replace-value =" this" />
1882
- </modify-function >
1887
+ </modify-function >
1883
1888
<modify-function signature =" operator<< (signed short)" >
1884
- <rename to =" writeShort" />
1889
+ <rename to =" writeShort" />
1885
1890
<modify-argument index =" 0" replace-value =" this" />
1886
1891
</modify-function >
1887
1892
<modify-function signature =" operator<< (const QByteArray& )" >
1888
1893
<rename to =" writeByteArray" />
1889
1894
<modify-argument index =" 0" replace-value =" this" />
1890
- </modify-function >
1895
+ </modify-function >
1891
1896
<modify-function signature =" operator<< (const QString& )" >
1892
1897
<rename to =" writeString" />
1893
1898
<modify-argument index =" 0" replace-value =" this" />
@@ -1921,8 +1926,8 @@ public:
1921
1926
<rename to =" readDouble" />
1922
1927
</modify-function >
1923
1928
1924
- <modify-function signature =" operator<< (qulonglong)" remove =" all" />
1925
- <modify-function signature =" operator>> (qulonglong& )" remove =" all" />
1929
+ <modify-function signature =" operator<< (qulonglong)" remove =" all" />
1930
+ <modify-function signature =" operator>> (qulonglong& )" remove =" all" />
1926
1931
</object-type >
1927
1932
1928
1933
<object-type name =" QSystemSemaphore" />
@@ -1967,14 +1972,14 @@ public:
1967
1972
<object-type name =" QMetaObject" />
1968
1973
<object-type name =" QMetaMethod" />
1969
1974
<object-type name =" QMetaEnum" >
1970
- <modify-function signature =" fromType()" remove =" all" />
1975
+ <modify-function signature =" fromType()" remove =" all" />
1971
1976
</object-type >
1972
1977
<object-type name =" QMetaProperty" />
1973
1978
<object-type name =" QMetaClassInfo" />
1974
1979
<object-type name =" QElapsedTimer" />
1975
1980
<object-type name =" QMetaType" >
1976
1981
<!-- Qt 5 templates that need to be removed: -->
1977
- <modify-function signature =" hasRegisteredConverterFunction()" remove =" all" />
1982
+ <modify-function signature =" hasRegisteredConverterFunction()" remove =" all" />
1978
1983
<modify-function signature =" hasRegisteredDebugStreamOperator()" remove =" all" />
1979
1984
<modify-function signature =" hasRegisteredComparators()" remove =" all" />
1980
1985
<modify-function signature =" registerEqualsComparator()" remove =" all" />
@@ -1985,31 +1990,31 @@ public:
1985
1990
1986
1991
<!-- Don't know if QCborNegativeInteger can be sensibly supported in Python: -->
1987
1992
<rejection enum-name =" QCborNegativeInteger" since-version =" 5.12" />
1988
-
1993
+
1989
1994
<object-type name =" QCborStreamWriter" since-version =" 5.12" >
1990
- <modify-function signature =" append(QCborTag)" remove =" all" />
1991
- <modify-function signature =" append(const char*,qsizetype)" remove =" all" />
1992
- <modify-function signature =" QCborStreamWriter(const QCborStreamWriter& )" remove =" all" />
1993
- <modify-function signature =" operator=(const QCborStreamWriter& )" remove =" all" />
1995
+ <modify-function signature =" append(QCborTag)" remove =" all" />
1996
+ <modify-function signature =" append(const char*,qsizetype)" remove =" all" />
1997
+ <modify-function signature =" QCborStreamWriter(const QCborStreamWriter& )" remove =" all" />
1998
+ <modify-function signature =" operator=(const QCborStreamWriter& )" remove =" all" />
1994
1999
</object-type >
1995
2000
<object-type name =" QCborStreamReader" since-version =" 5.12" >
1996
- <modify-function signature =" readByteArray()" remove =" all" />
1997
- <modify-function signature =" readString()" remove =" all" />
1998
- <modify-function signature =" readStringChunk(char*,qsizetype)" remove =" all" />
1999
- <modify-function signature =" toTag()const" remove =" all" />
2000
- <modify-function signature =" QCborStreamReader(const QCborStreamReader& )" remove =" all" />
2001
- <modify-function signature =" operator=(const QCborStreamReader& )" remove =" all" />
2001
+ <modify-function signature =" readByteArray()" remove =" all" />
2002
+ <modify-function signature =" readString()" remove =" all" />
2003
+ <modify-function signature =" readStringChunk(char*,qsizetype)" remove =" all" />
2004
+ <modify-function signature =" toTag()const" remove =" all" />
2005
+ <modify-function signature =" QCborStreamReader(const QCborStreamReader& )" remove =" all" />
2006
+ <modify-function signature =" operator=(const QCborStreamReader& )" remove =" all" />
2002
2007
<inject-code class =" pywrap-h" >
2003
2008
QByteArray readByteArray(QCborStreamReader* theWrappedObject) {
2004
2009
auto result = theWrappedObject->readByteArray();
2005
2010
return result.status == QCborStreamReader::Ok ? result.data : QByteArray();
2006
2011
}
2007
-
2012
+
2008
2013
QString readString(QCborStreamReader* theWrappedObject) {
2009
2014
auto result = theWrappedObject->readString();
2010
2015
return result.status == QCborStreamReader::Ok ? result.data : QString();
2011
2016
}
2012
-
2017
+
2013
2018
qint64 toTag(QCborStreamReader* theWrappedObject) const {
2014
2019
return static_cast< qint64> (theWrappedObject->toTag());
2015
2020
}
@@ -2023,7 +2028,7 @@ public:
2023
2028
QCborValue* new_QCborValue(qint64 tag, const QCborValue& taggedValue) {
2024
2029
return new QCborValue(QCborTag(tag), taggedValue);
2025
2030
}
2026
-
2031
+
2027
2032
qint64 tag(QCborValue* theWrappedObject, qint64 defaultValue) const {
2028
2033
return static_cast< qint64> (theWrappedObject->tag(QCborTag(defaultValue)));
2029
2034
}
@@ -2281,7 +2286,7 @@ public:
2281
2286
<object-type name =" QHashSeed" since-version =" 6.2" >
2282
2287
<modify-function signature =" operator size_t()const" remove =" all" />
2283
2288
</object-type >
2284
-
2289
+
2285
2290
<enum-type name =" QCommandLineOption::Flag" />
2286
2291
<enum-type name =" QFileDevice::FileTime" />
2287
2292
<enum-type name =" QLocale::DataSizeFormat" />
0 commit comments