Nepomuk-Core
resourceclass.h
Go to the documentation of this file.
void addProperty(Property *property)
Adds a new property to the resource.
Definition: resourceclass.cpp:92
bool generateClass() const
Returns true if this class should be generated.
Definition: resourceclass.cpp:117
ResourceClass * parentClass(bool considerGenerateClass=true) const
Returns the parent resource of the resource.
Definition: resourceclass.cpp:63
Property::ConstPtrList allProperties() const
Returns the list of all properties of the resource.
Definition: resourceclass.cpp:97
Property::ConstPtrList allReverseProperties() const
Returns the list of all reverse properties of the resource.
Definition: resourceclass.cpp:107
void setGenerateClass(bool generate)
Sets whether code for this class shall be generated.
Definition: resourceclass.cpp:112
QString sourceName() const
Returns the name of the source file for this resource.
Definition: resourceclass.cpp:135
void setComment(const QString &comment)
Sets the comment of the resource.
Definition: resourceclass.cpp:48
void addReverseProperty(Property *property)
Adds a reverse property to the resource.
Definition: resourceclass.cpp:102
void setParentResource(ResourceClass *parent)
Sets the parent resource of the resource.
Definition: resourceclass.cpp:58
QString name(const QString &nameSpace=QString()) const
Returns the name of the resource.
Definition: resourceclass.cpp:122
QString headerName() const
Returns the name of the header file for this resource.
Definition: resourceclass.cpp:130
void addParentResource(ResourceClass *parent)
Adds a parent resource to the resource.
Definition: resourceclass.cpp:82
QList< ResourceClass * > allParentResources() const
Returns all parent resource of the resource.
Definition: resourceclass.cpp:87
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.