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

Nepomuk

Nepomuk::Types::Literal

Nepomuk::Types::Literal Class Reference

#include <literal.h>

List of all members.


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.

Definition at line 37 of file literal.h.


Public Member Functions

QVariant::Type dataType () const
QUrl dataTypeUri () const
 Literal (const QUrl &dataTypeUri)
 Literal (const Literal &)
 Literal ()
Literal & operator= (const Literal &)
 ~Literal ()

Constructor & Destructor Documentation

Nepomuk::Types::Literal::Literal (  ) 

Default constructor.

Creates an empty Literal

Nepomuk::Types::Literal::Literal ( const Literal &   ) 

Nepomuk::Types::Literal::Literal ( const QUrl &  dataTypeUri  ) 

Nepomuk::Types::Literal::~Literal (  ) 


Member Function Documentation

QVariant::Type Nepomuk::Types::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.

QUrl Nepomuk::Types::Literal::dataTypeUri (  )  const

The XML Schema type URI.

Literal& Nepomuk::Types::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
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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