umbrello: umbrello/cmds/widget/cmdchangeusefillcolor.h Source File

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

cmdchangeusefillcolor.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2002-2014 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef CMDCHANGEUSEFILLCOLOR_H
12 #define CMDCHANGEUSEFILLCOLOR_H
13
14 #include "cmdbasewidgetcommand.h"
15
16 class UMLWidget;
17
18 namespace Uml
19 {
20
21 class CmdChangeUseFillColor : public CmdBaseWidgetCommand
22 {
23 public:
24 CmdChangeUseFillColor(UMLWidget* w, const bool value);
25 ~CmdChangeUseFillColor();
26
27 void redo();
28 void undo();
29
30 private:
31 bool m_oldValue;
32 bool m_newValue;
33 };
34 }
35
36 #endif
Uml::CmdChangeUseFillColor
Definition: cmdchangeusefillcolor.h:21
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:40
WidgetBase::name
QString name() const
Definition: widgetbase.cpp:309
cmdchangeusefillcolor.h
Uml::CmdChangeUseFillColor::~CmdChangeUseFillColor
~CmdChangeUseFillColor()
Definition: cmdchangeusefillcolor.cpp:42
cmdbasewidgetcommand.h
Uml::CmdChangeUseFillColor::m_oldValue
bool m_oldValue
Definition: cmdchangeusefillcolor.h:31
Uml::CmdChangeUseFillColor::CmdChangeUseFillColor
CmdChangeUseFillColor(UMLWidget *w, const bool value)
Definition: cmdchangeusefillcolor.cpp:29
Uml::CmdChangeUseFillColor::undo
void undo()
Definition: cmdchangeusefillcolor.cpp:51
Uml::CmdChangeUseFillColor::redo
void redo()
Definition: cmdchangeusefillcolor.cpp:46
umlwidget.h
Uml::CmdBaseWidgetCommand
Definition: cmdbasewidgetcommand.h:25
i18n
#define i18n
Definition: main.cpp:39
Uml::CmdBaseWidgetCommand::widget
UMLWidget * widget()
Definition: cmdbasewidgetcommand.cpp:84
UMLWidget::setUseFillColorCmd
void setUseFillColorCmd(bool fc)
Definition: umlwidget.cpp:1099
WidgetBase::useFillColor
bool useFillColor()
Definition: widgetbase.cpp:419
Uml::CmdChangeUseFillColor::m_newValue
bool m_newValue
Definition: cmdchangeusefillcolor.h:32
Uml
Definition: basictypes.cpp:36
umlscene.h