umbrello  2.32.1
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
Common implementation for class widget and interface widget.
Definition: classifierwidget.h:33
VisualProperty
Definition: classifierwidget.h:42
Definition: cmdbasewidgetcommand.h:26
UMLWidget * widget()
Definition: cmdbasewidgetcommand.cpp:76
Definition: cmdchangevisualproperty.h:21
bool m_newValue
Definition: cmdchangevisualproperty.h:30
ClassifierWidget::VisualProperty m_property
Definition: cmdchangevisualproperty.h:29
~CmdChangeVisualProperty()
Definition: cmdchangevisualproperty.cpp:37
void undo()
Definition: cmdchangevisualproperty.cpp:50
CmdChangeVisualProperty(ClassifierWidget *widget, ClassifierWidget::VisualProperty property, bool value)
Definition: cmdchangevisualproperty.cpp:24
void redo()
Definition: cmdchangevisualproperty.cpp:41
bool m_oldValue
Definition: cmdchangevisualproperty.h:31
Definition: basictypes.cpp:37