kopete/libkopete
#include <kopeteproperties.h>
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
|
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.
|
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:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.