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

kopete/libkopete

Kopete::Properties

Kopete::Properties Namespace Reference


Detailed Description

Contains the classes forming Kopete's Properties system.

Todo:
Explain more, give examples.
Author:
Richard Smith <kde@metafoo.co.uk>


Classes

class  DataProperty
 Convenience implementation of a Property that stores PropertyData. More...
class  Property
 Property-type-dependent base class for properties. More...
class  PropertyBase
 Property-type-independent base class for properties. More...
struct  PropertyData
 Base class for property data objects. More...
class  PropertyStorage
 Storage object for PropertyData objects. More...
class  SimpleDataProperty
 Convenience implementation of a Property which stores a single datum as PropertyData. More...
struct  SimplePropertyData
 Convenience implementation of a PropertyData subclass which stores a single datum. More...
struct  StringSerializable
 An interface for properties which can be serialized as strings. More...
struct  UserVisible
 An interface for user-visible properties. More...
class  WithProperties
 Base class for classes to which properties can be applied. More...
class  XMLProperty
 Convenience implementation of XMLSerializable in terms of QVariants. More...
struct  XMLSerializable
 An interface for properties which can be serialized as XML. More...

Functions

void customPropertyDataIncorrectType (const char *name, const std::type_info &found, const std::type_info &expected)
template<>
int variantTo< int > (QVariant)
QVariant variantFromXML (const QDomElement &)
template<class T>
T variantTo (QVariant)
void variantToXML (QVariant v, QDomElement &)

Function Documentation

void Kopete::Properties::customPropertyDataIncorrectType ( const char *  name,
const std::type_info &  found,
const std::type_info &  expected 
)

For internal use only.

Display a warning message when the wrong type of property data is found

Definition at line 30 of file kopeteproperties.cpp.

QVariant Kopete::Properties::variantFromXML ( const QDomElement &   ) 

Definition at line 40 of file kopeteproperties.cpp.

template<class T>
T Kopete::Properties::variantTo ( QVariant   )  [inline]

Move somewhere else.

Explicitly specialized for all types QVariant supports

template<>
int Kopete::Properties::variantTo< int > ( QVariant   )  [inline]

void Kopete::Properties::variantToXML ( QVariant  v,
QDomElement &   
)

Definition at line 45 of file kopeteproperties.cpp.

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork 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