syndication/rdf
model.h
virtual ResourcePtr resourceByID(uint id) const
searches the model for a resource by ID.
Definition model.cpp:334
virtual StatementPtr addStatement(ResourcePtr subject, PropertyPtr predicate, NodePtr object)
adds a statement to the model.
Definition model.cpp:146
virtual void removeStatement(ResourcePtr subject, PropertyPtr predicate, NodePtr object)
removes a statement from the model.
Definition model.cpp:137
virtual ResourcePtr createResource(const QString &uri=QString())
creates a resource and associates it with this model.
Definition model.cpp:80
virtual QList< StatementPtr > statements() const
returns a list of the statements in this model.
Definition model.cpp:269
virtual SequencePtr createSequence(const QString &uri=QString())
creates a sequence and associates it with this model.
Definition model.cpp:98
virtual PropertyPtr propertyByID(uint id) const
searches the model for a property by ID.
Definition model.cpp:355
bool operator==(const Model &other) const
Returns whether two models objects represent the same model (i.e.
Definition model.cpp:50
virtual PropertyPtr createProperty(const QString &uri)
creates a property and associates it with this model.
Definition model.cpp:55
virtual LiteralPtr literalByID(uint id) const
searches the model for a literal by ID.
Definition model.cpp:376
virtual QString debugInfo() const
/** a debug string listing the contained statements for debugging purposes
Definition model.cpp:274
virtual LiteralPtr createLiteral(const QString &text)
creates a literal and associates it with this model.
Definition model.cpp:123
virtual QList< ResourcePtr > resourcesWithType(ResourcePtr type) const
returns all resources of a given type.
Definition model.cpp:300
Syndication's parser for the RDF-based RSS 0.9 and RSS 1.0 formats.
Definition contentvocab.cpp:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.