rocs/App
ApiDocManager.cpp
Go to the documentation of this file.
47 QStringList apiDocFiles = KGlobal::dirs()->findAllResources("appdata", QString("engineapi/*.xml"));
190 for (QDomElement descriptionNode = root.firstChildElement("description").firstChildElement("para");
208 for (QDomElement descriptionNode = propertyNode.firstChildElement("description").firstChildElement("para");
235 for (QDomElement descriptionNode = methodNode.firstChildElement("description").firstChildElement("para");
243 for (QDomElement parameterNode = methodNode.firstChildElement("parameters").firstChildElement();
341 kWarning() << "Could not open XML document " << path.toLocalFile() << " for reading, aborting.";
QString objectParent() const
Definition: ObjectDocumentation.cpp:130
Definition: ObjectDocumentation.h:30
Definition: PropertyDocumentation.h:28
void objectApiAdded()
iterator insert(const Key &key, const T &value)
void addMethod(MethodDocumentation *method)
Definition: ObjectDocumentation.cpp:115
bool loadObjectApi(const KUrl &path)
Load documenation object specification from locally stored XML file.
Definition: ApiDocManager.cpp:155
void setComponentType(const QString &compenentTypeName)
Definition: ObjectDocumentation.cpp:42
QString objectApiDocument(const QString &identifier)
Generates HTML document with the API documentation for the specified object.
Definition: ApiDocManager.cpp:64
void setSyntaxExample(const QString &syntaxExample)
Definition: ObjectDocumentation.cpp:95
void objectApiAboutToBeAdded(ObjectDocumentation *, int)
const T & at(int i) const
void setDescription(const QStringList &description)
Definition: ObjectDocumentation.cpp:81
QDomElement documentElement() const
QList< PropertyDocumentation * > properties() const
Definition: ObjectDocumentation.cpp:110
void addProperty(PropertyDocumentation *property)
Definition: ObjectDocumentation.cpp:105
void setTitle(const QString &title)
Definition: ObjectDocumentation.cpp:71
void addParameter(const QString &name, const QString &type, const QString &info, const QString &typeLink)
Definition: MethodDocumentation.cpp:62
int count(const T &value) const
void append(const T &value)
QVariant property(const char *name) const
void setObjectParent(const QString &id)
Definition: ObjectDocumentation.cpp:125
bool isEmpty() const
QList< ObjectDocumentation * > objectApiList() const
Definition: ApiDocManager.cpp:53
void setDescription(const QStringList &description)
Definition: MethodDocumentation.cpp:38
const T value(const Key &key) const
bool contains(const T &value) const
bool isNull() const
Definition: MethodDocumentation.h:29
bool isValid() const
void setReturnType(const QString &type)
Definition: MethodDocumentation.cpp:52
QDomElement firstChildElement(const QString &tagName) const
bool load(const QUrl &source)
QList< T > values() const
ObjectDocumentation * objectApi(int index) const
Definition: ApiDocManager.cpp:58
ComponentType componentType() const
Definition: ObjectDocumentation.cpp:66
bool contains(const Key &key) const
QList< MethodDocumentation * > methods() const
Definition: ObjectDocumentation.cpp:120
QString apiOverviewDocument() const
Generates HTML document with the an overview over all available API objects.
Definition: ApiDocManager.cpp:265
Type type() const
void setReturnTypeLink(const QString &link)
Definition: MethodDocumentation.cpp:87
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
bool setContent(const QByteArray &data, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.