umbrello 2.39.2 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

cmdchangeusefillcolor.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CMDCHANGEUSEFILLCOLOR_H
7#define CMDCHANGEUSEFILLCOLOR_H
8
9#include "cmdbasewidgetcommand.h"
10
11 class UMLWidget;
12
13 namespace Uml
14{
15
16 class CmdChangeUseFillColor : public CmdBaseWidgetCommand
17 {
18 public:
19 CmdChangeUseFillColor(UMLWidget* w, const bool value);
20 ~CmdChangeUseFillColor();
21
22 void redo();
23 void undo();
24
25 private:
26 bool m_oldValue;
27 bool m_newValue;
28 };
29}
30
31#endif
UMLWidget
The base class for graphical UML objects.
Definition umlwidget.h:36
Uml::CmdBaseWidgetCommand
Definition cmdbasewidgetcommand.h:21
Uml::CmdChangeUseFillColor
Definition cmdchangeusefillcolor.h:17
Uml::CmdChangeUseFillColor::m_newValue
bool m_newValue
Definition cmdchangeusefillcolor.h:27
Uml::CmdChangeUseFillColor::CmdChangeUseFillColor
CmdChangeUseFillColor(UMLWidget *w, const bool value)
Definition cmdchangeusefillcolor.cpp:16
Uml::CmdChangeUseFillColor::~CmdChangeUseFillColor
~CmdChangeUseFillColor()
Definition cmdchangeusefillcolor.cpp:29
Uml::CmdChangeUseFillColor::undo
void undo()
Definition cmdchangeusefillcolor.cpp:38
Uml::CmdChangeUseFillColor::m_oldValue
bool m_oldValue
Definition cmdchangeusefillcolor.h:26
Uml::CmdChangeUseFillColor::redo
void redo()
Definition cmdchangeusefillcolor.cpp:33
cmdbasewidgetcommand.h
Uml
Definition basictypes.cpp:18