QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
18 #ifndef QGSABSTRACTMETADATABASE_H
19 #define QGSABSTRACTMETADATABASE_H
22 #include "qgis_core.h"
62 sipType = sipType_QgsLayerMetadata;
64 sipType = sipType_QgsProjectMetadata;
91 Address(
const QString &type = QString(),
const QString &address = QString(),
const QString &city = QString(),
const QString &administrativeArea = QString(),
const QString &postalCode = QString(),
const QString &country = QString() )
95 , administrativeArea( administrativeArea )
96 , postalCode( postalCode )
213 Link(
const QString &name = QString(),
const QString &type = QString(),
const QString &url = QString() )
263 typedef QList< QgsAbstractMetadataBase::Link >
LinkList;
277 QString identifier()
const;
283 void setIdentifier(
const QString &identifier );
290 QString parentIdentifier()
const;
297 void setParentIdentifier(
const QString &parentIdentifier );
306 QString language()
const;
314 void setLanguage(
const QString &language );
321 QString type()
const;
328 void setType(
const QString &type );
334 QString title()
const;
340 void setTitle(
const QString &title );
346 QString
abstract()
const;
352 void setAbstract(
const QString &
abstract );
358 QStringList history()
const;
366 void setHistory(
const QStringList &history );
373 void addHistoryItem(
const QString &text );
412 void addKeywords(
const QString &vocabulary,
const QStringList &keywords );
420 bool removeKeywords(
const QString &vocabulary );
430 QStringList keywordVocabularies()
const;
442 QStringList keywords(
const QString &vocabulary )
const;
450 QStringList categories()
const;
458 void setCategories(
const QStringList &categories );
512 virtual bool readMetadataXml(
const QDomElement &metadataElement );
525 virtual bool writeMetadataXml( QDomElement &metadataElement, QDomDocument &document )
const;
588 #endif // QGSABSTRACTMETADATABASE_H
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
QList< QgsAbstractMetadataBase::Contact > ContactList
A list of contacts.
QList< QgsAbstractMetadataBase::Link > LinkList
A list of links.