80 lines
3.2 KiB
Plaintext
80 lines
3.2 KiB
Plaintext
|
// qplace.sip generated by MetaSIP
|
||
|
//
|
||
|
// This file is part of the QtLocation Python extension module.
|
||
|
//
|
||
|
// Copyright (c) 2020 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||
|
//
|
||
|
// This file is part of PyQt5.
|
||
|
//
|
||
|
// This file may be used under the terms of the GNU General Public License
|
||
|
// version 3.0 as published by the Free Software Foundation and appearing in
|
||
|
// the file LICENSE included in the packaging of this file. Please review the
|
||
|
// following information to ensure the GNU General Public License version 3.0
|
||
|
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||
|
//
|
||
|
// If you do not wish to use this file under the terms of the GPL version 3.0
|
||
|
// then you may purchase a commercial license. For more information contact
|
||
|
// info@riverbankcomputing.com.
|
||
|
//
|
||
|
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||
|
|
||
|
|
||
|
%If (Qt_5_5_0 -)
|
||
|
|
||
|
class QPlace
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qplace.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QPlace();
|
||
|
QPlace(const QPlace &other);
|
||
|
~QPlace();
|
||
|
bool operator==(const QPlace &other) const;
|
||
|
bool operator!=(const QPlace &other) const;
|
||
|
QList<QPlaceCategory> categories() const;
|
||
|
void setCategory(const QPlaceCategory &category);
|
||
|
void setCategories(const QList<QPlaceCategory> &categories);
|
||
|
QGeoLocation location() const;
|
||
|
void setLocation(const QGeoLocation &location);
|
||
|
QPlaceRatings ratings() const;
|
||
|
void setRatings(const QPlaceRatings &ratings);
|
||
|
QPlaceSupplier supplier() const;
|
||
|
void setSupplier(const QPlaceSupplier &supplier);
|
||
|
QString attribution() const;
|
||
|
void setAttribution(const QString &attribution);
|
||
|
QPlaceIcon icon() const;
|
||
|
void setIcon(const QPlaceIcon &icon);
|
||
|
QPlaceContent::Collection content(QPlaceContent::Type type) const;
|
||
|
void setContent(QPlaceContent::Type type, const QPlaceContent::Collection &content);
|
||
|
void insertContent(QPlaceContent::Type type, const QPlaceContent::Collection &content);
|
||
|
int totalContentCount(QPlaceContent::Type type) const;
|
||
|
void setTotalContentCount(QPlaceContent::Type type, int total);
|
||
|
QString name() const;
|
||
|
void setName(const QString &name);
|
||
|
QString placeId() const;
|
||
|
void setPlaceId(const QString &identifier);
|
||
|
QString primaryPhone() const;
|
||
|
QString primaryFax() const;
|
||
|
QString primaryEmail() const;
|
||
|
QUrl primaryWebsite() const;
|
||
|
bool detailsFetched() const;
|
||
|
void setDetailsFetched(bool fetched);
|
||
|
QStringList extendedAttributeTypes() const;
|
||
|
QPlaceAttribute extendedAttribute(const QString &attributeType) const;
|
||
|
void setExtendedAttribute(const QString &attributeType, const QPlaceAttribute &attribute);
|
||
|
void removeExtendedAttribute(const QString &attributeType);
|
||
|
QStringList contactTypes() const;
|
||
|
QList<QPlaceContactDetail> contactDetails(const QString &contactType) const;
|
||
|
void setContactDetails(const QString &contactType, QList<QPlaceContactDetail> details);
|
||
|
void appendContactDetail(const QString &contactType, const QPlaceContactDetail &detail);
|
||
|
void removeContactDetails(const QString &contactType);
|
||
|
QLocation::Visibility visibility() const;
|
||
|
void setVisibility(QLocation::Visibility visibility);
|
||
|
bool isEmpty() const;
|
||
|
};
|
||
|
|
||
|
%End
|