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 )
215 Link(
const QString &name = QString(),
const QString &type = QString(),
const QString &url = QString() )
266 typedef QList< QgsAbstractMetadataBase::Link >
LinkList;
280 QString identifier()
const;
286 void setIdentifier(
const QString &identifier );
293 QString parentIdentifier()
const;
300 void setParentIdentifier(
const QString &parentIdentifier );
309 QString language()
const;
317 void setLanguage(
const QString &language );
324 QString type()
const;
331 void setType(
const QString &type );
337 QString title()
const;
343 void setTitle(
const QString &title );
349 QString
abstract()
const;
355 void setAbstract(
const QString &
abstract );
361 QStringList history()
const;
369 void setHistory(
const QStringList &history );
376 void addHistoryItem(
const QString &text );
415 void addKeywords(
const QString &vocabulary,
const QStringList &keywords );
423 bool removeKeywords(
const QString &vocabulary );
433 QStringList keywordVocabularies()
const;
445 QStringList keywords(
const QString &vocabulary )
const;
453 QStringList categories()
const;
461 void setCategories(
const QStringList &categories );
515 virtual bool readMetadataXml(
const QDomElement &metadataElement );
528 virtual bool writeMetadataXml( QDomElement &metadataElement, QDomDocument &document )
const;
QList< QgsAbstractMetadataBase::Link > LinkList
A list of links.
QList< QgsAbstractMetadataBase::Contact > ContactList
A list of contacts.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Q_DECLARE_METATYPE(QgsMeshTimeSettings)