RTransactionEvent
Class in Core Module
Header: #include <src/core/RTransactionEvent.h>
Inherits: QEvent
Description
Section titled “Description”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.
Event that is posted whenever a transaction happened.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RTransactionEvent(RTransaction &t, bool onlyChanges=false, RS::EntityType entityTypeFilter=RS::EntityAll) |
|
| virtual | ~RTransactionEvent() |
| RS::EntityType | getEntityTypeFilter() const |
| RTransaction | getTransaction() const |
| bool | hasOnlyChanges() |
Private Attributes
Section titled “Private Attributes”| RS::EntityType | entityTypeFilter |
| bool | onlyChanges |
| RTransaction | transaction |
Member Documentation
Section titled “Member Documentation”RTransactionEvent
Section titled “RTransactionEvent”RTransactionEvent::RTransactionEvent(RTransaction &t, bool onlyChanges=false, RS::EntityType entityTypeFilter=RS::EntityAll)~RTransactionEvent
Section titled “~RTransactionEvent”virtual RTransactionEvent::~RTransactionEvent()virtual
getEntityTypeFilter
Section titled “getEntityTypeFilter”RS::EntityType RTransactionEvent::getEntityTypeFilter() constconst
getTransaction
Section titled “getTransaction”RTransaction RTransactionEvent::getTransaction() constconst
hasOnlyChanges
Section titled “hasOnlyChanges”bool RTransactionEvent::hasOnlyChanges()entityTypeFilter
Section titled “entityTypeFilter”RS::EntityType RTransactionEvent::entityTypeFilterprivate
onlyChanges
Section titled “onlyChanges”bool RTransactionEvent::onlyChangesprivate
transaction
Section titled “transaction”RTransaction RTransactionEvent::transactionprivate