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

kopete/libkopete

  • Kopete
  • Properties
  • PropertyStorage
Public Member Functions | List of all members
Kopete::Properties::PropertyStorage Class Reference

#include <kopeteproperties.h>

Inheritance diagram for Kopete::Properties::PropertyStorage:
Inheritance graph
[legend]

Public Member Functions

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

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.

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

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.

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.


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