swift
scalarmutator.cpp
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2017 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
7 
9 
11 {
12  void CGenericScalarMutator::initialize(IDataLink *dataLink) { dataLink->publish(m_mutator.data()); }
13 
14  void CGenericScalarMutator::setValue(const CVariant &value) { m_mutator->postEvent(value); }
15 } // namespace swift::misc::shared_state
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
Definition: variant.h:66
void setValue(const CVariant &value)
Set scalar value as variant.
void initialize(IDataLink *)
Publish using the given transport mechanism.
Utilities for sharing state between multiple objects.
Definition: application.h:48