qgeoaddress.sip 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // qgeoaddress.sip generated by MetaSIP
  2. //
  3. // This file is part of the QtPositioning 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. %If (Qt_6_2_0 -)
  22. class QGeoAddress
  23. {
  24. %TypeHeaderCode
  25. #include <qgeoaddress.h>
  26. %End
  27. public:
  28. QGeoAddress();
  29. QGeoAddress(const QGeoAddress &other);
  30. ~QGeoAddress();
  31. QString text() const;
  32. void setText(const QString &text);
  33. QString country() const;
  34. void setCountry(const QString &country);
  35. QString countryCode() const;
  36. void setCountryCode(const QString &countryCode);
  37. QString state() const;
  38. void setState(const QString &state);
  39. QString county() const;
  40. void setCounty(const QString &county);
  41. QString city() const;
  42. void setCity(const QString &city);
  43. QString district() const;
  44. void setDistrict(const QString &district);
  45. QString postalCode() const;
  46. void setPostalCode(const QString &postalCode);
  47. QString street() const;
  48. void setStreet(const QString &street);
  49. bool isEmpty() const;
  50. void clear();
  51. bool isTextGenerated() const;
  52. void swap(QGeoAddress &other /Constrained/);
  53. QString streetNumber() const;
  54. void setStreetNumber(const QString &streetNumber);
  55. Py_hash_t __hash__() const;
  56. %MethodCode
  57. sipRes = qHash(*sipCpp);
  58. %End
  59. };
  60. %End
  61. %If (Qt_6_2_0 -)
  62. bool operator==(const QGeoAddress &lhs, const QGeoAddress &rhs);
  63. %End
  64. %If (Qt_6_2_0 -)
  65. bool operator!=(const QGeoAddress &lhs, const QGeoAddress &rhs);
  66. %End