kopete/libkopete
Kopete::Properties Namespace Reference
Detailed Description
Contains the classes forming Kopete's Properties system.
- Todo:
- Explain more, give examples.
Classes | |
| class | DataProperty |
| Convenience implementation of a Property that stores PropertyData. More... | |
| class | Property |
| Property-type-dependent base class for properties. More... | |
| class | PropertyBase |
| Property-type-independent base class for properties. More... | |
| struct | PropertyData |
| Base class for property data objects. More... | |
| class | PropertyStorage |
| Storage object for PropertyData objects. More... | |
| class | SimpleDataProperty |
| Convenience implementation of a Property which stores a single datum as PropertyData. More... | |
| struct | SimplePropertyData |
| Convenience implementation of a PropertyData subclass which stores a single datum. More... | |
| struct | StringSerializable |
| An interface for properties which can be serialized as strings. More... | |
| struct | UserVisible |
| An interface for user-visible properties. More... | |
| class | WithProperties |
| Base class for classes to which properties can be applied. More... | |
| class | XMLProperty |
| Convenience implementation of XMLSerializable in terms of QVariants. More... | |
| struct | XMLSerializable |
| An interface for properties which can be serialized as XML. More... | |
Functions | |
| void | customPropertyDataIncorrectType (const char *name, const std::type_info &found, const std::type_info &expected) |
| template<> | |
| int | variantTo< int > (QVariant) |
| QVariant | variantFromXML (const QDomElement &) |
| template<class T> | |
| T | variantTo (QVariant) |
| void | variantToXML (QVariant v, QDomElement &) |
Function Documentation
| void Kopete::Properties::customPropertyDataIncorrectType | ( | const char * | name, | |
| const std::type_info & | found, | |||
| const std::type_info & | expected | |||
| ) |
For internal use only.
Display a warning message when the wrong type of property data is found
Definition at line 30 of file kopeteproperties.cpp.
| QVariant Kopete::Properties::variantFromXML | ( | const QDomElement & | ) |
Definition at line 40 of file kopeteproperties.cpp.
template<class T>
| T Kopete::Properties::variantTo | ( | QVariant | ) | [inline] |
Move somewhere else.
Explicitly specialized for all types QVariant supports
template<>
| int Kopete::Properties::variantTo< int > | ( | QVariant | ) | [inline] |
| void Kopete::Properties::variantToXML | ( | QVariant | v, | |
| QDomElement & | ||||
| ) |
Definition at line 45 of file kopeteproperties.cpp.
KDE 4.2 API Reference