KDbUtils::Property
KDbUtils::Property Class Reference
#include <KDbUtils.h>
Public Member Functions | |
| Property () | |
| Property (const Property &other) | |
| Property (const QVariant &aValue, const QString &aCaption) | |
| QString | caption () const |
| bool | isNull () const |
| bool | operator!= (const Property &other) const |
| bool | operator== (const Property &other) const |
| void | setCaption (const QString &caption) |
| void | setValue (const QVariant &value) |
| QVariant | value () const |
Detailed Description
A single property.
- Note
- This property is general-purpose and not related to Qt Properties.
- See also
- KDbUtils::PropertySet
Definition at line 446 of file KDbUtils.h.
Constructor & Destructor Documentation
◆ Property() [1/2]
| KDbUtils::Property::Property | ( | ) |
Constructs a null property.
◆ Property() [2/2]
| Property::Property | ( | const Property & | other | ) |
Definition at line 85 of file KDbUtils.cpp.
Member Function Documentation
◆ caption()
| QString Property::caption | ( | ) | const |
Definition at line 116 of file KDbUtils.cpp.
◆ isNull()
| bool Property::isNull | ( | ) | const |
Definition at line 100 of file KDbUtils.cpp.
◆ operator!=()
|
inline |
Definition at line 459 of file KDbUtils.h.
◆ operator==()
| bool Property::operator== | ( | const Property & | other | ) | const |
Definition at line 95 of file KDbUtils.cpp.
◆ setCaption()
| void Property::setCaption | ( | const QString & | caption | ) |
Definition at line 121 of file KDbUtils.cpp.
◆ setValue()
| void Property::setValue | ( | const QVariant & | value | ) |
Definition at line 110 of file KDbUtils.cpp.
◆ value()
| QVariant Property::value | ( | ) | const |
Definition at line 105 of file KDbUtils.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:18 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:18 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.