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

kopete/libkopete

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

#include <kopeteproperties.h>

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

Public Member Functions

virtual Type get (const Parent *parent) const =0
 
virtual void set (Parent *, const Type &) const =0
 
- 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::Property< Parent, Type >

Property-type-dependent base class for properties.

This class represents a property of type Type applicable to Parent objects. Usage of this class is usually as simple as:

SomeParent *propertyContainer = ...
Property<SomeParent,QString> &myProperty = ...
QString value = propertyContainer->property(myProperty);
propertyContainer->setProperty(myProperty, "hello");

You should never need to call functions in this class directly.

Definition at line 88 of file kopeteproperties.h.

Member Function Documentation

template<class Parent, typename Type>
virtual Type Kopete::Properties::Property< Parent, Type >::get ( const Parent *  parent) const
pure virtual

Returns the value of this property in the object parent.

Implemented in Kopete::Properties::SimpleDataProperty< Parent, Type >.

template<class Parent, typename Type>
virtual void Kopete::Properties::Property< Parent, Type >::set ( Parent *  ,
const Type &   
) const
pure virtual

Sets the value of this property in the object parent.

Implemented in Kopete::Properties::SimpleDataProperty< Parent, Type >.


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