• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Nepomuk

Nepomuk::Literal

Nepomuk::Literal Class Reference

Defines a literal type based on XML Schema. More...

#include <literal.h>

List of all members.


Public Member Functions

QVariant::Type dataType () const
const QUrl & dataTypeUri () const
 Literal (const QUrl &dataTypeUri)
 Literal (const Literal &)
 Literal ()
Literal & operator= (const Literal &)
 ~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

Definition at line 85 of file literal.h.


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.

Literal& Nepomuk::Literal::operator= ( const Literal &   ) 


The documentation for this class was generated from the following file:
  • literal.h

Nepomuk

Skip menu "Nepomuk"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal