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

kopete/libkopete

Kopete::Properties::SimpleDataProperty

Kopete::Properties::SimpleDataProperty< Parent, Type > Class Template Reference

#include <kopeteproperties.h>

Inheritance diagram for Kopete::Properties::SimpleDataProperty< Parent, Type >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class Parent, typename Type>
class Kopete::Properties::SimpleDataProperty< Parent, Type >

Convenience implementation of a Property which stores a single datum as PropertyData.

This convenience class implements the Property interface by simply storing and retrieving the datum from PropertyData. This class does not provide any serialization of the data.

Note:
You will need to derive from this class to use it; the name function is still pure virtual.

Definition at line 291 of file kopeteproperties.h.


Public Member Functions

Type get (const Parent *p) const
void set (Parent *p, const Type &v) const

Member Function Documentation

template<class Parent, typename Type>
Type Kopete::Properties::SimpleDataProperty< Parent, Type >::get ( const Parent *  parent  )  const [inline, virtual]

Returns the value of this property in the object parent.

Implements Kopete::Properties::Property< Parent, Type >.

Definition at line 294 of file kopeteproperties.h.

template<class Parent, typename Type>
void Kopete::Properties::SimpleDataProperty< Parent, Type >::set ( Parent *  ,
const Type &   
) const [inline, virtual]

Sets the value of this property in the object parent.

Implements Kopete::Properties::Property< Parent, Type >.

Definition at line 295 of file kopeteproperties.h.


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

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