qxmlstream.sip 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. // qxmlstream.sip generated by MetaSIP
  2. //
  3. // This file is part of the QtCore Python extension module.
  4. //
  5. // Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
  6. //
  7. // This file is part of PyQt6.
  8. //
  9. // This file may be used under the terms of the GNU General Public License
  10. // version 3.0 as published by the Free Software Foundation and appearing in
  11. // the file LICENSE included in the packaging of this file. Please review the
  12. // following information to ensure the GNU General Public License version 3.0
  13. // requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  14. //
  15. // If you do not wish to use this file under the terms of the GPL version 3.0
  16. // then you may purchase a commercial license. For more information contact
  17. // info@riverbankcomputing.com.
  18. //
  19. // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
  20. // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  21. class QXmlStreamAttribute
  22. {
  23. %TypeHeaderCode
  24. #include <qxmlstream.h>
  25. %End
  26. public:
  27. QXmlStreamAttribute();
  28. QXmlStreamAttribute(const QString &qualifiedName, const QString &value);
  29. QXmlStreamAttribute(const QString &namespaceUri, const QString &name, const QString &value);
  30. QStringView namespaceUri() const;
  31. QStringView name() const;
  32. QStringView qualifiedName() const;
  33. QStringView prefix() const;
  34. QStringView value() const;
  35. bool isDefault() const;
  36. %If (- Qt_6_8_0)
  37. bool operator==(const QXmlStreamAttribute &other) const;
  38. %End
  39. %If (- Qt_6_8_0)
  40. bool operator!=(const QXmlStreamAttribute &other) const;
  41. %End
  42. };
  43. class QXmlStreamNamespaceDeclaration
  44. {
  45. %TypeHeaderCode
  46. #include <qxmlstream.h>
  47. %End
  48. public:
  49. QXmlStreamNamespaceDeclaration();
  50. QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri);
  51. QStringView prefix() const;
  52. QStringView namespaceUri() const;
  53. %If (- Qt_6_8_0)
  54. bool operator==(const QXmlStreamNamespaceDeclaration &other) const;
  55. %End
  56. %If (- Qt_6_8_0)
  57. bool operator!=(const QXmlStreamNamespaceDeclaration &other) const;
  58. %End
  59. };
  60. typedef QList<QXmlStreamNamespaceDeclaration> QXmlStreamNamespaceDeclarations;
  61. class QXmlStreamNotationDeclaration
  62. {
  63. %TypeHeaderCode
  64. #include <qxmlstream.h>
  65. %End
  66. public:
  67. QXmlStreamNotationDeclaration();
  68. QStringView name() const;
  69. QStringView systemId() const;
  70. QStringView publicId() const;
  71. %If (- Qt_6_8_0)
  72. bool operator==(const QXmlStreamNotationDeclaration &other) const;
  73. %End
  74. %If (- Qt_6_8_0)
  75. bool operator!=(const QXmlStreamNotationDeclaration &other) const;
  76. %End
  77. };
  78. typedef QList<QXmlStreamNotationDeclaration> QXmlStreamNotationDeclarations;
  79. class QXmlStreamEntityDeclaration
  80. {
  81. %TypeHeaderCode
  82. #include <qxmlstream.h>
  83. %End
  84. public:
  85. QXmlStreamEntityDeclaration();
  86. QStringView name() const;
  87. QStringView notationName() const;
  88. QStringView systemId() const;
  89. QStringView publicId() const;
  90. QStringView value() const;
  91. %If (- Qt_6_8_0)
  92. bool operator==(const QXmlStreamEntityDeclaration &other) const;
  93. %End
  94. %If (- Qt_6_8_0)
  95. bool operator!=(const QXmlStreamEntityDeclaration &other) const;
  96. %End
  97. };
  98. typedef QList<QXmlStreamEntityDeclaration> QXmlStreamEntityDeclarations;
  99. class QXmlStreamEntityResolver
  100. {
  101. %TypeHeaderCode
  102. #include <qxmlstream.h>
  103. %End
  104. public:
  105. %If (Qt_6_8_0 -)
  106. QXmlStreamEntityResolver();
  107. %End
  108. virtual ~QXmlStreamEntityResolver();
  109. virtual QString resolveUndeclaredEntity(const QString &name);
  110. private:
  111. %If (Qt_6_8_0 -)
  112. QXmlStreamEntityResolver(const QXmlStreamEntityResolver &);
  113. %End
  114. };
  115. class QXmlStreamReader
  116. {
  117. %TypeHeaderCode
  118. #include <qxmlstream.h>
  119. %End
  120. public:
  121. enum TokenType
  122. {
  123. NoToken,
  124. Invalid,
  125. StartDocument,
  126. EndDocument,
  127. StartElement,
  128. EndElement,
  129. Characters,
  130. Comment,
  131. DTD,
  132. EntityReference,
  133. ProcessingInstruction,
  134. };
  135. QXmlStreamReader();
  136. explicit QXmlStreamReader(QIODevice *device);
  137. %If (Qt_6_5_0 -)
  138. explicit QXmlStreamReader(QAnyStringView data);
  139. %End
  140. %If (- Qt_6_5_0)
  141. explicit QXmlStreamReader(const QByteArray &data);
  142. %End
  143. %If (- Qt_6_5_0)
  144. explicit QXmlStreamReader(const QString &data);
  145. %End
  146. ~QXmlStreamReader();
  147. void setDevice(QIODevice *device);
  148. QIODevice *device() const;
  149. %If (Qt_6_5_0 -)
  150. void addData(QAnyStringView data);
  151. %End
  152. %If (- Qt_6_5_0)
  153. void addData(const QByteArray &data);
  154. %End
  155. %If (- Qt_6_5_0)
  156. void addData(const QString &data);
  157. %End
  158. void clear();
  159. bool atEnd() const;
  160. QXmlStreamReader::TokenType readNext();
  161. QXmlStreamReader::TokenType tokenType() const;
  162. QString tokenString() const;
  163. void setNamespaceProcessing(bool);
  164. bool namespaceProcessing() const;
  165. bool isStartDocument() const;
  166. bool isEndDocument() const;
  167. bool isStartElement() const;
  168. bool isEndElement() const;
  169. bool isCharacters() const;
  170. bool isWhitespace() const;
  171. bool isCDATA() const;
  172. bool isComment() const;
  173. bool isDTD() const;
  174. bool isEntityReference() const;
  175. bool isProcessingInstruction() const;
  176. bool isStandaloneDocument() const;
  177. QStringView documentVersion() const;
  178. QStringView documentEncoding() const;
  179. qint64 lineNumber() const;
  180. qint64 columnNumber() const;
  181. qint64 characterOffset() const;
  182. QXmlStreamAttributes attributes() const;
  183. enum ReadElementTextBehaviour
  184. {
  185. ErrorOnUnexpectedElement,
  186. IncludeChildElements,
  187. SkipChildElements,
  188. };
  189. QString readElementText(QXmlStreamReader::ReadElementTextBehaviour behaviour = QXmlStreamReader::ErrorOnUnexpectedElement);
  190. QStringView name() const;
  191. QStringView namespaceUri() const;
  192. QStringView qualifiedName() const;
  193. QStringView prefix() const;
  194. QStringView processingInstructionTarget() const;
  195. QStringView processingInstructionData() const;
  196. QStringView text() const;
  197. QXmlStreamNamespaceDeclarations namespaceDeclarations() const;
  198. void addExtraNamespaceDeclaration(const QXmlStreamNamespaceDeclaration &extraNamespaceDeclaraction);
  199. void addExtraNamespaceDeclarations(const QXmlStreamNamespaceDeclarations &extraNamespaceDeclaractions);
  200. QXmlStreamNotationDeclarations notationDeclarations() const;
  201. QXmlStreamEntityDeclarations entityDeclarations() const;
  202. QStringView dtdName() const;
  203. QStringView dtdPublicId() const;
  204. QStringView dtdSystemId() const;
  205. enum Error
  206. {
  207. NoError,
  208. UnexpectedElementError,
  209. CustomError,
  210. NotWellFormedError,
  211. PrematureEndOfDocumentError,
  212. };
  213. void raiseError(const QString &message = QString());
  214. QString errorString() const;
  215. QXmlStreamReader::Error error() const;
  216. bool hasError() const;
  217. void setEntityResolver(QXmlStreamEntityResolver *resolver /KeepReference/);
  218. QXmlStreamEntityResolver *entityResolver() const;
  219. bool readNextStartElement();
  220. void skipCurrentElement();
  221. int entityExpansionLimit() const;
  222. void setEntityExpansionLimit(int limit);
  223. %If (Qt_6_6_0 -)
  224. bool hasStandaloneDeclaration() const;
  225. %End
  226. %If (Qt_6_10_0 -)
  227. QString readRawInnerData();
  228. %End
  229. private:
  230. QXmlStreamReader(const QXmlStreamReader &);
  231. };
  232. class QXmlStreamWriter
  233. {
  234. %TypeHeaderCode
  235. #include <qxmlstream.h>
  236. %End
  237. public:
  238. QXmlStreamWriter();
  239. explicit QXmlStreamWriter(QIODevice *device);
  240. explicit QXmlStreamWriter(QByteArray *array);
  241. ~QXmlStreamWriter();
  242. void setDevice(QIODevice *device);
  243. QIODevice *device() const;
  244. void setAutoFormatting(bool);
  245. bool autoFormatting() const;
  246. void setAutoFormattingIndent(int spaces);
  247. int autoFormattingIndent() const;
  248. %If (Qt_6_5_0 -)
  249. void writeAttribute(QAnyStringView namespaceUri, QAnyStringView name, QAnyStringView value);
  250. %End
  251. %If (Qt_6_5_0 -)
  252. void writeAttribute(QAnyStringView qualifiedName, QAnyStringView value);
  253. %End
  254. %If (- Qt_6_5_0)
  255. void writeAttribute(const QString &qualifiedName, const QString &value);
  256. %End
  257. %If (- Qt_6_5_0)
  258. void writeAttribute(const QString &namespaceUri, const QString &name, const QString &value);
  259. %End
  260. void writeAttribute(const QXmlStreamAttribute &attribute);
  261. void writeAttributes(const QXmlStreamAttributes &attributes);
  262. %If (Qt_6_5_0 -)
  263. void writeCDATA(QAnyStringView text);
  264. %End
  265. %If (- Qt_6_5_0)
  266. void writeCDATA(const QString &text);
  267. %End
  268. %If (Qt_6_5_0 -)
  269. void writeCharacters(QAnyStringView text);
  270. %End
  271. %If (- Qt_6_5_0)
  272. void writeCharacters(const QString &text);
  273. %End
  274. %If (Qt_6_5_0 -)
  275. void writeComment(QAnyStringView text);
  276. %End
  277. %If (- Qt_6_5_0)
  278. void writeComment(const QString &text);
  279. %End
  280. %If (Qt_6_5_0 -)
  281. void writeDTD(QAnyStringView dtd);
  282. %End
  283. %If (- Qt_6_5_0)
  284. void writeDTD(const QString &dtd);
  285. %End
  286. %If (Qt_6_5_0 -)
  287. void writeEmptyElement(QAnyStringView namespaceUri, QAnyStringView name);
  288. %End
  289. %If (Qt_6_5_0 -)
  290. void writeEmptyElement(QAnyStringView qualifiedName);
  291. %End
  292. %If (- Qt_6_5_0)
  293. void writeEmptyElement(const QString &qualifiedName);
  294. %End
  295. %If (- Qt_6_5_0)
  296. void writeEmptyElement(const QString &namespaceUri, const QString &name);
  297. %End
  298. %If (Qt_6_5_0 -)
  299. void writeTextElement(QAnyStringView namespaceUri, QAnyStringView name, QAnyStringView text);
  300. %End
  301. %If (Qt_6_5_0 -)
  302. void writeTextElement(QAnyStringView qualifiedName, QAnyStringView text);
  303. %End
  304. %If (- Qt_6_5_0)
  305. void writeTextElement(const QString &qualifiedName, const QString &text);
  306. %End
  307. %If (- Qt_6_5_0)
  308. void writeTextElement(const QString &namespaceUri, const QString &name, const QString &text);
  309. %End
  310. void writeEndDocument();
  311. void writeEndElement();
  312. %If (Qt_6_5_0 -)
  313. void writeEntityReference(QAnyStringView name);
  314. %End
  315. %If (- Qt_6_5_0)
  316. void writeEntityReference(const QString &name);
  317. %End
  318. %If (Qt_6_5_0 -)
  319. void writeNamespace(QAnyStringView namespaceUri, QAnyStringView prefix = {});
  320. %End
  321. %If (- Qt_6_5_0)
  322. void writeNamespace(const QString &namespaceUri, const QString &prefix = QString());
  323. %End
  324. %If (Qt_6_5_0 -)
  325. void writeDefaultNamespace(QAnyStringView namespaceUri);
  326. %End
  327. %If (- Qt_6_5_0)
  328. void writeDefaultNamespace(const QString &namespaceUri);
  329. %End
  330. %If (Qt_6_5_0 -)
  331. void writeProcessingInstruction(QAnyStringView target, QAnyStringView data = {});
  332. %End
  333. %If (- Qt_6_5_0)
  334. void writeProcessingInstruction(const QString &target, const QString &data = QString());
  335. %End
  336. %If (Qt_6_5_0 -)
  337. void writeStartDocument(QAnyStringView version, bool standalone);
  338. %End
  339. %If (Qt_6_5_0 -)
  340. void writeStartDocument(QAnyStringView version);
  341. %End
  342. void writeStartDocument();
  343. %If (- Qt_6_5_0)
  344. void writeStartDocument(const QString &version);
  345. %End
  346. %If (- Qt_6_5_0)
  347. void writeStartDocument(const QString &version, bool standalone);
  348. %End
  349. %If (Qt_6_5_0 -)
  350. void writeStartElement(QAnyStringView namespaceUri, QAnyStringView name);
  351. %End
  352. %If (Qt_6_5_0 -)
  353. void writeStartElement(QAnyStringView qualifiedName);
  354. %End
  355. %If (- Qt_6_5_0)
  356. void writeStartElement(const QString &qualifiedName);
  357. %End
  358. %If (- Qt_6_5_0)
  359. void writeStartElement(const QString &namespaceUri, const QString &name);
  360. %End
  361. void writeCurrentToken(const QXmlStreamReader &reader);
  362. bool hasError() const;
  363. %If (Qt_6_10_0 -)
  364. void setStopWritingOnError(bool stop);
  365. %End
  366. %If (Qt_6_10_0 -)
  367. bool stopWritingOnError() const;
  368. %End
  369. %If (Qt_6_10_0 -)
  370. enum class Error
  371. {
  372. None,
  373. IO,
  374. Encoding,
  375. InvalidCharacter,
  376. Custom,
  377. };
  378. %End
  379. %If (Qt_6_10_0 -)
  380. void raiseError(QAnyStringView message);
  381. %End
  382. %If (Qt_6_10_0 -)
  383. QString errorString() const;
  384. %End
  385. %If (Qt_6_10_0 -)
  386. QXmlStreamWriter::Error error() const;
  387. %End
  388. private:
  389. QXmlStreamWriter(const QXmlStreamWriter &);
  390. };
  391. class QXmlStreamAttributes
  392. {
  393. %TypeHeaderCode
  394. #include <qxmlstream.h>
  395. %End
  396. public:
  397. QXmlStreamAttributes();
  398. %If (Qt_6_6_0 -)
  399. QStringView value(QAnyStringView namespaceUri, QAnyStringView name) const;
  400. %End
  401. %If (- Qt_6_6_0)
  402. QStringView value(const QString &namespaceUri, const QString &name) const;
  403. %End
  404. %If (Qt_6_6_0 -)
  405. QStringView value(QAnyStringView qualifiedName) const;
  406. %End
  407. %If (- Qt_6_6_0)
  408. QStringView value(const QString &qualifiedName) const;
  409. %End
  410. void append(const QString &namespaceUri, const QString &name, const QString &value);
  411. void append(const QString &qualifiedName, const QString &value);
  412. %If (Qt_6_6_0 -)
  413. bool hasAttribute(QAnyStringView namespaceUri, QAnyStringView name) const;
  414. %End
  415. %If (- Qt_6_6_0)
  416. bool hasAttribute(const QString &namespaceUri, const QString &name) const;
  417. %End
  418. %If (Qt_6_6_0 -)
  419. bool hasAttribute(QAnyStringView qualifiedName) const;
  420. %End
  421. %If (- Qt_6_6_0)
  422. bool hasAttribute(const QString &qualifiedName) const;
  423. %End
  424. // Methods inherited from QList<QXmlStreamAttribute> and Python special methods.
  425. // Keep in sync with QPolygon and QPolygonF.
  426. void append(const QXmlStreamAttribute &value);
  427. const QXmlStreamAttribute &at(int i) const;
  428. void clear();
  429. bool contains(const QXmlStreamAttribute &value) const;
  430. int count(const QXmlStreamAttribute &value) const;
  431. int count() const /__len__/;
  432. void *data();
  433. // Note the Qt return value is discarded as it would require handwritten code
  434. // and seems pretty useless.
  435. void fill(const QXmlStreamAttribute &value, int size = -1);
  436. QXmlStreamAttribute &first();
  437. int indexOf(const QXmlStreamAttribute &value, int from = 0) const;
  438. void insert(int i, const QXmlStreamAttribute &value);
  439. bool isEmpty() const;
  440. QXmlStreamAttribute &last();
  441. int lastIndexOf(const QXmlStreamAttribute &value, int from = -1) const;
  442. // Note the Qt return type is QList<QXmlStreamAttribute>. We can't do the
  443. // usual trick because there is no QXmlStreamAttributes ctor that takes a
  444. // QList<QXmlStreamAttribute> argument. We could use handwritten code but we
  445. // don't bother.
  446. //QXmlStreamAttributes mid(int pos, int length = -1) const;
  447. void prepend(const QXmlStreamAttribute &value);
  448. void remove(int i);
  449. void remove(int i, int count);
  450. void resize(qsizetype size);
  451. void replace(int i, const QXmlStreamAttribute &value);
  452. int size() const;
  453. // These are hidden by other implementations in QXmlStreamAttributes.
  454. //QXmlStreamAttribute value(int i) const;
  455. //QXmlStreamAttribute value(int i, const QXmlStreamAttribute &defaultValue) const;
  456. bool operator!=(const QXmlStreamAttributes &other) const;
  457. // Note the Qt return type is QList<QXmlStreamAttribute>. We can't do the
  458. // usual trick because there is no QXmlStreamAttributes ctor that takes a
  459. // QList<QXmlStreamAttribute> argument. We could use handwritten code but we
  460. // don't bother.
  461. //QXmlStreamAttributes operator+(const QXmlStreamAttributes &other) const;
  462. QXmlStreamAttributes &operator+=(const QXmlStreamAttributes &other);
  463. QXmlStreamAttributes &operator+=(const QXmlStreamAttribute &value);
  464. bool operator==(const QXmlStreamAttributes &other) const;
  465. QXmlStreamAttribute &operator[](int i);
  466. %MethodCode
  467. Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
  468. if (idx < 0)
  469. sipIsErr = 1;
  470. else
  471. sipRes = &sipCpp->operator[]((int)idx);
  472. %End
  473. // Some additional Python special methods.
  474. void __setitem__(int i, const QXmlStreamAttribute &value);
  475. %MethodCode
  476. int len;
  477. len = sipCpp->count();
  478. if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
  479. sipIsErr = 1;
  480. else
  481. (*sipCpp)[a0] = *a1;
  482. %End
  483. void __setitem__(SIP_PYSLICE slice, const QXmlStreamAttributes &list);
  484. %MethodCode
  485. Py_ssize_t start, stop, step, slicelength;
  486. if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0)
  487. {
  488. sipIsErr = 1;
  489. }
  490. else
  491. {
  492. int vlen = a1->count();
  493. if (vlen != slicelength)
  494. {
  495. sipBadLengthForSlice(vlen, slicelength);
  496. sipIsErr = 1;
  497. }
  498. else
  499. {
  500. QList<QXmlStreamAttribute>::const_iterator it = a1->begin();
  501. for (Py_ssize_t i = 0; i < slicelength; ++i)
  502. {
  503. (*sipCpp)[start] = *it;
  504. start += step;
  505. ++it;
  506. }
  507. }
  508. }
  509. %End
  510. void __delitem__(int i);
  511. %MethodCode
  512. if ((a0 = (int)sipConvertFromSequenceIndex(a0, sipCpp->count())) < 0)
  513. sipIsErr = 1;
  514. else
  515. sipCpp->remove(a0);
  516. %End
  517. void __delitem__(SIP_PYSLICE slice);
  518. %MethodCode
  519. Py_ssize_t start, stop, step, slicelength;
  520. if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0)
  521. {
  522. sipIsErr = 1;
  523. }
  524. else
  525. {
  526. for (Py_ssize_t i = 0; i < slicelength; ++i)
  527. {
  528. sipCpp->remove(start);
  529. start += step - 1;
  530. }
  531. }
  532. %End
  533. QXmlStreamAttributes operator[](SIP_PYSLICE slice);
  534. %MethodCode
  535. Py_ssize_t start, stop, step, slicelength;
  536. if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0)
  537. {
  538. sipIsErr = 1;
  539. }
  540. else
  541. {
  542. sipRes = new QXmlStreamAttributes();
  543. for (Py_ssize_t i = 0; i < slicelength; ++i)
  544. {
  545. (*sipRes) += (*sipCpp)[start];
  546. start += step;
  547. }
  548. }
  549. %End
  550. int __contains__(const QXmlStreamAttribute &value);
  551. %MethodCode
  552. // It looks like you can't assign QBool to int.
  553. sipRes = bool(sipCpp->contains(*a0));
  554. %End
  555. };
  556. %If (Qt_6_8_0 -)
  557. bool operator!=(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &rhs);
  558. %End
  559. %If (Qt_6_8_0 -)
  560. bool operator!=(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs);
  561. %End
  562. %If (Qt_6_8_0 -)
  563. bool operator!=(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs);
  564. %End
  565. %If (Qt_6_8_0 -)
  566. bool operator!=(const QXmlStreamAttribute &lhs, const QXmlStreamAttribute &rhs);
  567. %End
  568. %If (Qt_6_8_0 -)
  569. bool operator==(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &rhs);
  570. %End
  571. %If (Qt_6_8_0 -)
  572. bool operator==(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs);
  573. %End
  574. %If (Qt_6_8_0 -)
  575. bool operator==(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs);
  576. %End
  577. %If (Qt_6_8_0 -)
  578. bool operator==(const QXmlStreamAttribute &lhs, const QXmlStreamAttribute &rhs);
  579. %End