#include "Property.h"
#include <map>
#include <QDebug>
#include <QObject>
Go to the source code of this file.
|
#define | PROPERTY_LISTENER(x, y) connect(objectData()->properties()->get(x), &Property::changed, this, y) |
|
#define | PROPERTY_DISCONNECT_LISTENER(x, y) disconnect(objectData()->properties()->get(x), &Property::changed, this, y) |
|
#define | PROPERTY_SET(x, y) objectData()->properties()->set(x, y) |
|
#define | PROPERTY_GET(x) objectData()->properties()->get(x) |
|
#define PROPERTY_DISCONNECT_LISTENER |
( |
|
x, |
|
|
|
y |
|
) |
| disconnect(objectData()->properties()->get(x), &Property::changed, this, y) |
#define PROPERTY_GET |
( |
|
x | ) |
objectData()->properties()->get(x) |
#define PROPERTY_LISTENER |
( |
|
x, |
|
|
|
y |
|
) |
| connect(objectData()->properties()->get(x), &Property::changed, this, y) |
#define PROPERTY_SET |
( |
|
x, |
|
|
|
y |
|
) |
| objectData()->properties()->set(x, y) |