kopete/libkopete
Kopete::Properties::SimplePropertyData< T > Struct Template Reference
#include <kopeteproperties.h>
Inheritance diagram for Kopete::Properties::SimplePropertyData< T >:

Detailed Description
template<typename T>
struct Kopete::Properties::SimplePropertyData< T >
Convenience implementation of a PropertyData subclass which stores a single datum.
If a Property needs to store only a single value in an object, using this class is simpler than deriving from PropertyData yourself. The value will be default-constructed (which means for numeric types and pointers it will be set to 0).
Definition at line 274 of file kopeteproperties.h.
Public Member Functions | |
| SimplePropertyData () | |
Public Attributes | |
| T | value |
Constructor & Destructor Documentation
template<typename T>
| Kopete::Properties::SimplePropertyData< T >::SimplePropertyData | ( | ) | [inline] |
Definition at line 276 of file kopeteproperties.h.
Member Data Documentation
template<typename T>
| T Kopete::Properties::SimplePropertyData< T >::value |
Definition at line 277 of file kopeteproperties.h.
The documentation for this struct was generated from the following file:
KDE 4.0 API Reference