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

kopete/libkopete

  • Kopete
  • Properties
  • SimpleDataProperty
Public Member Functions | List of all members
Kopete::Properties::SimpleDataProperty< Parent, Type > Class Template Reference

#include <kopeteproperties.h>

Inheritance diagram for Kopete::Properties::SimpleDataProperty< Parent, Type >:
Inheritance graph
[legend]

Public Member Functions

Type get (const Parent *p) const
 
void set (Parent *p, const Type &v) const
 
- Public Member Functions inherited from Kopete::Properties::DataProperty< Parent, Type, SimplePropertyData< Type > >
SimplePropertyData< Type > * data (const Parent *c) const
 
- Public Member Functions inherited from Kopete::Properties::PropertyBase< Parent >
virtual const QByteArray & name () const =0
 

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.

Member Function Documentation

template<class Parent , typename Type >
Type Kopete::Properties::SimpleDataProperty< Parent, Type >::get ( const Parent *  parent) const
inlinevirtual

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
inlinevirtual

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

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