Nepomuk-Core
rcgen.cpp
Go to the documentation of this file.
57 aboutData.addAuthor(ki18n("Tobias Koenig"), ki18n("Major cleanup - Personal hero of maintainer"), "tokoe@kde.org");
58 aboutData.addAuthor(ki18n("Vishesh Handa"), ki18n("Bug fixes and port to Nepomuk2"), "me@vhanda.in");
68 options.add("listheaders", ki18n("List all header files that will be generated via the --writeall command."));
69 options.add("listsources", ki18n("List all source files that will be generated via the --writeall command."));
70 options.add("ontologies <files>", ki18n("The ontology files containing the ontologies to be generated, a space separated list (deprecated: use arguments instead.)"));
72 options.add("target <target-folder>", ki18n("Specify the target folder to store generated files into."));
74 // KCmdLineOptions doesn't allow empty option arguments, so e.g. "--templates --foo" will treat --foo as the argument to --templates
75 // Since the option is deprecated it's probably not worth changing the KCmdLineOptions behaviour only for this ?
77 options.add("class <classname>", ki18n("Optionally specify the classes to be generated. Use option multiple times (defaults to all classes)"));
78 options.add("serialization <rdf-serialization>", ki18n("Serialization used in the ontology files. Will default to primitive file extension detection."));
79 options.add("visibility <visibility-name>", ki18n("Set the used visibility in case the classes are to be used in public API. <visibility-name> will be used to construct the export macro name and the export header. By default classes will not be exported."));
80 options.add("+[ontologies]", ki18n("The ontology files containing the ontologies to be generated."));
95 QStringList ontoFiles = extractOntologyFileList( args->getOptionList("ontologies") ); // backwards comp
Definition: ontologyparser.h:23
bool parse(const QString &filename, const QString &serialization=QString())
Definition: ontologyparser.cpp:105
QList< ResourceClass * > parsedClasses() const
Definition: ontologyparser.cpp:232
void setGenerateClass(bool generate)
Sets whether code for this class shall be generated.
Definition: resourceclass.cpp:112
Definition: codegenerator.h:26
Definition: codegenerator.h:30
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.