Skip to content

RPropertyChange

Class in Core Module
Header: #include <src/core/RPropertyChange.h>

Stores the change that was made to a property of an object.

Scriptable: This class is available in script environments.

Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.

RPropertyChange()
RPropertyChange(RPropertyTypeId propertyTypeId, QVariant oldValue, QVariant newValue)
QVariant getNewValue() const
QVariant getOldValue() const
RPropertyTypeId getPropertyTypeId() const
void setNewValue(const QVariant &v)
void setOldValue(const QVariant &v)
void setPropertyTypeId(const RPropertyTypeId &id)
QVariant newValue
QVariant oldValue
RPropertyTypeId propertyTypeId

RPropertyChange::RPropertyChange()

inline

RPropertyChange::RPropertyChange(RPropertyTypeId propertyTypeId, QVariant oldValue, QVariant newValue)

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

QVariant RPropertyChange::getNewValue() const

inline const

QVariant RPropertyChange::getOldValue() const

inline const

RPropertyTypeId RPropertyChange::getPropertyTypeId() const

inline const

void RPropertyChange::setNewValue(const QVariant &v)

inline

void RPropertyChange::setOldValue(const QVariant &v)

inline

void RPropertyChange::setPropertyTypeId(const RPropertyTypeId &id)

inline

QVariant RPropertyChange::newValue

QVariant RPropertyChange::oldValue

RPropertyTypeId RPropertyChange::propertyTypeId