kopete/libkopete
#include <kopeteproperty.h>
Public Types | |
| typedef QMap< QString, Property > | Map |
Public Member Functions | |
| Property () | |
| Property (const PropertyTmpl &tmpl, const QVariant &value) | |
| Property (const Property &other) | |
| ~Property () | |
| bool | isNull () const |
| bool | isRichText () const |
| Property & | operator= (const Property &other) |
| const PropertyTmpl & | tmpl () const |
| const QVariant & | value () const |
Static Public Attributes | |
| static Property | null |
Detailed Description
A data container for whatever information Kopete or any of its plugins want to store for a Kopete::Contact
Definition at line 150 of file kopeteproperty.h.
Member Typedef Documentation
| typedef QMap<QString, Property> Kopete::Property::Map |
A map of key,Property items.
Definition at line 205 of file kopeteproperty.h.
Constructor & Destructor Documentation
| Kopete::Property::Property | ( | ) |
Constructor only used for empty Property objects.
Note: you cannot set a label or value later on!
Definition at line 190 of file kopeteproperty.cpp.
| Kopete::Property::Property | ( | const PropertyTmpl & | tmpl, |
| const QVariant & | value | ||
| ) |
- Parameters
-
tmpl The contact property template this property is based on value The value this Property holds
Definition at line 195 of file kopeteproperty.cpp.
| Kopete::Property::Property | ( | const Property & | other | ) |
Copy constructor.
Definition at line 203 of file kopeteproperty.cpp.
| Kopete::Property::~Property | ( | ) |
Destructor.
Definition at line 210 of file kopeteproperty.cpp.
Member Function Documentation
| bool Kopete::Property::isNull | ( | ) | const |
Returns true if this object is an empty Property (i.e.
it holds no value), false otherwise.
Definition at line 239 of file kopeteproperty.cpp.
| bool Kopete::Property::isRichText | ( | ) | const |
Returns true if this property is HTML formatted.
Definition at line 244 of file kopeteproperty.cpp.
Definition at line 215 of file kopeteproperty.cpp.
| const PropertyTmpl & Kopete::Property::tmpl | ( | ) | const |
Getter for this properties template.
Definition at line 234 of file kopeteproperty.cpp.
| const QVariant & Kopete::Property::value | ( | ) | const |
Getter for this properties value.
Definition at line 229 of file kopeteproperty.cpp.
Member Data Documentation
|
static |
The documentation for this class was generated from the following files:
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.
KDE API Reference