umbrello  2.31.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
cmdchangevisualproperty.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 CMDCHANGEVISUALPROPERTY_H
12 #define CMDCHANGEVISUALPROPERTY_H
13 
14 #include "classifierwidget.h"
15 #include "cmdbasewidgetcommand.h"
16 
17 
18 namespace Uml
19 {
21  {
22  public:
25  void redo();
26  void undo();
27 
28  private:
30  bool m_newValue;
31  bool m_oldValue;
32  };
33 }
34 
35 #endif // CMDCHANGEVISUALPROPERTY_H
bool m_newValue
Definition: cmdchangevisualproperty.h:30
Definition: cmdchangevisualproperty.h:20
VisualProperty
Definition: classifierwidget.h:42
Definition: basictypes.cpp:36
ClassifierWidget::VisualProperty m_property
Definition: cmdchangevisualproperty.h:29
UMLWidget * widget()
Definition: cmdbasewidgetcommand.cpp:76
void undo()
Definition: cmdchangevisualproperty.cpp:50
Definition: cmdbasewidgetcommand.h:25
~CmdChangeVisualProperty()
Definition: cmdchangevisualproperty.cpp:37
void redo()
Definition: cmdchangevisualproperty.cpp:41
CmdChangeVisualProperty(ClassifierWidget *widget, ClassifierWidget::VisualProperty property, bool value)
Definition: cmdchangevisualproperty.cpp:24
Common implementation for class widget and interface widget.
Definition: classifierwidget.h:32
bool m_oldValue
Definition: cmdchangevisualproperty.h:31