Herqq
|
This is a class used to transfer state variable event information. More...
#include <HStateVariableEvent>
Public Member Functions | |
HStateVariableEvent () | |
HStateVariableEvent (const QVariant &previousValue, const QVariant &newValue) | |
HStateVariableEvent (const HStateVariableEvent &) | |
~HStateVariableEvent () | |
HStateVariableEvent & | operator= (const HStateVariableEvent &) |
bool | isEmpty () const |
QVariant | previousValue () const |
QVariant | newValue () const |
This is a class used to transfer state variable event information.
Creates a new, empty instance.
HStateVariableEvent | ( | const QVariant & | previousValue, |
const QVariant & | newValue | ||
) |
Creates a new instance based on the provided values.
previousValue | specifies the value before the change. |
newValue | specifies the value of the state variable at the time the event was generated. |
HStateVariableEvent | ( | const HStateVariableEvent & | other | ) |
Copy constructor.
Copies the contents of the other
to this.
~HStateVariableEvent | ( | ) |
Destroys the instance.
HStateVariableEvent & operator= | ( | const HStateVariableEvent & | other | ) |
Assigns the contents of the other object to this.
bool isEmpty | ( | ) | const |
Indicates if the instance is empty.
QVariant previousValue | ( | ) | const |
Returns the previous value of the state variable.
QVariant newValue | ( | ) | const |
Returns the new, changed value of the state variable.