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

umbrello 2.38.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

cmdchangelinewidth.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 CMDCHANGELINEWIDTH_H
7#define CMDCHANGELINEWIDTH_H
8
9#include "cmdbasewidgetcommand.h"
10
11class UMLWidget;
12
13namespace Uml
14{
15 class CmdChangeLineWidth : public CmdBaseWidgetCommand
16 {
17 public:
18 CmdChangeLineWidth(UMLWidget *w, const uint width);
19 ~CmdChangeLineWidth();
20 void redo();
21 void undo();
22
23 private:
24 uint m_oldWidth;
25 uint m_newWidth;
26 };
27}
28
29#endif // CMDCHANGELINEWIDTH_H
UMLWidget
The base class for graphical UML objects.
Definition umlwidget.h:36
Uml::CmdBaseWidgetCommand
Definition cmdbasewidgetcommand.h:21
Uml::CmdChangeLineWidth
Definition cmdchangelinewidth.h:16
Uml::CmdChangeLineWidth::undo
void undo()
Definition cmdchangelinewidth.cpp:36
Uml::CmdChangeLineWidth::~CmdChangeLineWidth
~CmdChangeLineWidth()
Definition cmdchangelinewidth.cpp:27
Uml::CmdChangeLineWidth::m_newWidth
uint m_newWidth
Definition cmdchangelinewidth.h:25
Uml::CmdChangeLineWidth::m_oldWidth
uint m_oldWidth
Definition cmdchangelinewidth.h:24
Uml::CmdChangeLineWidth::redo
void redo()
Definition cmdchangelinewidth.cpp:31
cmdbasewidgetcommand.h
Uml
Definition basictypes.cpp:18