18#ifndef QGSABSTRACTMETADATABASE_H
19#define QGSABSTRACTMETADATABASE_H
63 sipType = sipType_QgsLayerMetadata;
65 sipType = sipType_QgsProjectMetadata;
92 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() )
96 , administrativeArea( administrativeArea )
97 , postalCode( postalCode )
216 Link(
const QString &name = QString(),
const QString &type = QString(),
const QString &url = QString() )
267 typedef QList< QgsAbstractMetadataBase::Link >
LinkList;
281 QString identifier()
const;
287 void setIdentifier(
const QString &identifier );
294 QString parentIdentifier()
const;
301 void setParentIdentifier(
const QString &parentIdentifier );
310 QString language()
const;
318 void setLanguage(
const QString &language );
325 QString type()
const;
332 void setType(
const QString &type );
338 QString title()
const;
344 void setTitle(
const QString &title );
350 QString abstract()
const;
356 void setAbstract(
const QString &abstract );
362 QStringList history()
const;
370 void setHistory(
const QStringList &history );
377 void addHistoryItem(
const QString &text );
416 void addKeywords(
const QString &vocabulary,
const QStringList &keywords );
424 bool removeKeywords(
const QString &vocabulary );
434 QStringList keywordVocabularies()
const;
446 QStringList keywords(
const QString &vocabulary )
const;
454 QStringList categories()
const;
462 void setCategories(
const QStringList &categories );
532 virtual bool readMetadataXml(
const QDomElement &metadataElement );
545 virtual bool writeMetadataXml( QDomElement &metadataElement, QDomDocument &document )
const;
593 QMap< Qgis::MetadataDateType, QDateTime >
mDates;
MetadataDateType
Date types for metadata.
QList< QgsAbstractMetadataBase::Link > LinkList
A list of links.
QList< QgsAbstractMetadataBase::Contact > ContactList
A list of contacts.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)