Nepomuk
Nepomuk::Literal Class Reference
#include <literal.h>
Public Member Functions | |
Literal () | |
Literal (const Literal &) | |
Literal (const QUrl &dataTypeUri) | |
~Literal () | |
QVariant::Type | dataType () const |
const QUrl & | dataTypeUri () const |
Literal & | operator= (const Literal &) |
Detailed Description
Defines a literal type based on XML Schema.
Each valid Literal represents the literal type as XML Schema URI and as QVariant type.
- Deprecated:
- in favor of Nepomuk::Types::Literal
Constructor & Destructor Documentation
Nepomuk::Literal::Literal | ( | ) |
Default constructor.
Creates an empty Literal
Nepomuk::Literal::Literal | ( | const Literal & | ) |
Nepomuk::Literal::Literal | ( | const QUrl & | dataTypeUri | ) |
Nepomuk::Literal::~Literal | ( | ) |
Member Function Documentation
QVariant::Type Nepomuk::Literal::dataType | ( | ) | const |
The type converted to a QVariant::Type.
- Returns
- The QVariant::Type that corresponds to the XML Schema type or QVariant::Invalid if it could not be matched.
const QUrl& Nepomuk::Literal::dataTypeUri | ( | ) | const |
The XML Schema type URI.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:27 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:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.