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

Nepomuk

  • Nepomuk
  • Literal
Public Member Functions | List of all members
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

Definition at line 91 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
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

KDE's Doxygen guidelines are available online.

Nepomuk

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal