Home
last modified time | relevance | path

Searched refs:m_address (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioningquick/
H A Dqdeclarativegeoaddress.cpp93 QObject(parent), m_address(address) in QDeclarativeGeoAddress()
105 return m_address; in address()
120 m_address = address; in setAddress()
145 return m_address.text(); in text()
150 QString oldText = m_address.text(); in setText()
151 bool oldIsTextGenerated = m_address.isTextGenerated(); in setText()
152 m_address.setText(address); in setText()
154 if (oldText != m_address.text()) in setText()
156 if (oldIsTextGenerated != m_address.isTextGenerated()) in setText()
167 return m_address.country(); in country()
[all …]
H A Dqdeclarativegeolocation.cpp111 if (m_address && m_address->parent() == this) { in setLocation()
112 m_address->setAddress(src.address()); in setLocation()
113 } else if (!m_address || m_address->parent() != this) { in setLocation()
114 m_address = new QDeclarativeGeoAddress(src.address(), this); in setLocation()
126 retValue.setAddress(m_address ? m_address->address() : QGeoAddress()); in location()
140 if (m_address == address) in setAddress()
143 if (m_address && m_address->parent() == this) in setAddress()
144 delete m_address; in setAddress()
146 m_address = address; in setAddress()
152 return m_address; in address()
H A Dqdeclarativegeolocation_p.h96 QDeclarativeGeoAddress *m_address = nullptr;
H A Dqdeclarativegeoaddress_p.h116 QGeoAddress m_address;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeolocation/
H A Dtst_qgeolocation.cpp57 QCOMPARE(m_location.address(), m_address); in constructor()
83 m_address.setCity("Berlin"); in address()
84 m_address.setCountry("Germany"); in address()
85 m_address.setCountryCode("DEU"); in address()
86 m_address.setDistrict("Mitte"); in address()
87 m_address.setPostalCode("10115"); in address()
88 m_address.setStreet("Invalidenstrasse"); in address()
90 m_location.setAddress(m_address); in address()
92 QCOMPARE(m_location.address(),m_address); in address()
94 m_address.setPostalCode("10125"); in address()
[all …]
H A Dtst_qgeolocation.h75 QGeoAddress m_address; variable
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qmlinterface/
H A Dtst_qmlinterface.cpp68 QGeoAddress m_address; member in tst_qmlinterface
88 m_address.setCity(QStringLiteral("Brisbane")); in tst_qmlinterface()
89 m_address.setCountry(QStringLiteral("Australia")); in tst_qmlinterface()
90 m_address.setCountryCode(QStringLiteral("AU")); in tst_qmlinterface()
91 m_address.setPostalCode(QStringLiteral("4000")); in tst_qmlinterface()
92 m_address.setState(QStringLiteral("Queensland")); in tst_qmlinterface()
93 m_address.setStreet(QStringLiteral("123 Fake Street")); in tst_qmlinterface()
99 m_location.setAddress(m_address); in tst_qmlinterface()
156 QCOMPARE(address, m_address); in testAddress()