MauiKit Image Tools

command.cpp
1/*
2 * SPDX-FileCopyrightText: (C) 2020 Carl Schwan <carl@carlschwan.eu>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6
7#include "command.h"
8
9Command::~Command()
10{
11}
12
13void Command::addProperty(const QString &key, const QVariant &value)
14{
15 m_properties.insert(key, value);
16}
17
18bool Command::hasProperty(const QString &key)
19{
20 return m_properties.contains(key);
21}
22
23QVariant Command::getPropertyValue(const QString &key)
24{
25 return m_properties.value(key);
26}
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 11 2025 11:57:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.