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

kopete/libkopete

Kopete::Properties::PropertyStorage

Kopete::Properties::PropertyStorage Class Reference

#include <kopeteproperties.h>

Inheritance diagram for Kopete::Properties::PropertyStorage:

Inheritance graph
[legend]

List of all members.


Detailed Description

Storage object for PropertyData objects.

This class is responsible for storing PropertyData-derived data objects for properties. This is the non-templated part of the WithProperties class, split out into its own class to eliminate the template bloat.

Definition at line 122 of file kopeteproperties.h.


Public Member Functions

 PropertyStorage ()
 ~PropertyStorage ()
void setCustomPropertyData (const QByteArray &name, PropertyData *data) const
PropertyData * getCustomPropertyData (const QByteArray &name) const

Constructor & Destructor Documentation

Kopete::Properties::PropertyStorage::PropertyStorage (  )  [inline]

Definition at line 130 of file kopeteproperties.h.

Kopete::Properties::PropertyStorage::~PropertyStorage (  )  [inline]

Definition at line 131 of file kopeteproperties.h.


Member Function Documentation

void Kopete::Properties::PropertyStorage::setCustomPropertyData ( const QByteArray &  name,
PropertyData *  data 
) const [inline]

Sets the stored property data with name name to be data.

Note:
The name argument should usually be the name of the property which the data is being stored for. However, if properties wish to share data, they may choose to name their custom data differently. Names are bound by the same rules as are laid out for naming properties in PropertyBase<Parent>::name.

Definition at line 144 of file kopeteproperties.h.

PropertyData* Kopete::Properties::PropertyStorage::getCustomPropertyData ( const QByteArray &  name  )  const [inline]

Gets the stored property data with name name.

Returns a null pointer if no data has been stored for that property.

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