QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RTransactionEvent.h
Go to the documentation of this file.
1
20#ifndef RTRANSACTIONEVENT_H
21#define RTRANSACTIONEVENT_H
22
23#include "core_global.h"
24
25#include <QEvent>
26
27#include "RS.h"
28#include "RTransaction.h"
29
36class QCADCORE_EXPORT RTransactionEvent : public QEvent {
37public:
38 RTransactionEvent(RTransaction& t, bool onlyChanges=false, RS::EntityType entityTypeFilter = RS::EntityAll);
39 virtual ~RTransactionEvent();
40
41 bool hasOnlyChanges();
42
43 RS::EntityType getEntityTypeFilter() const;
44 RTransaction getTransaction() const;
45
46private:
50};
51
53
54#endif
Q_DECLARE_METATYPE(RMath *)
EntityType
Entity types used for property handling / filtering.
Definition RS.h:227
@ EntityAll
All entities (for filters)
Definition RS.h:241
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RTransactionEvent.h:36
bool onlyChanges
Definition RTransactionEvent.h:48
RTransaction transaction
Definition RTransactionEvent.h:47
RS::EntityType entityTypeFilter
Definition RTransactionEvent.h:49
Transaction implementation.
Definition RTransaction.h:73
#define QCADCORE_EXPORT
Definition core_global.h:10