KDbUtils::Property

Search for usage in LXR

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/3]

Property::Property ( )

Constructs a null property.

Definition at line 75 of file KDbUtils.cpp.

◆ Property() [2/3]

Property::Property ( const QVariant & aValue,
const QString & aCaption )

Definition at line 80 of file KDbUtils.cpp.

◆ Property() [3/3]

Property::Property ( const Property & other)

Definition at line 85 of file KDbUtils.cpp.

◆ ~Property()

Property::~Property ( )

Definition at line 90 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!=()

bool KDbUtils::Property::operator!= ( const Property & other) const
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-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:11:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.