umbrello/umbrello
Uml::CmdRemoveWidget Class Reference
#include <cmd_removeWidget.h>
Inheritance diagram for Uml::CmdRemoveWidget:

Public Member Functions | |
| CmdRemoveWidget (UMLWidget *widget) | |
| ~CmdRemoveWidget () | |
| void | redo () |
| void | undo () |
Public Member Functions inherited from Uml::CmdBaseWidgetCommand | |
| CmdBaseWidgetCommand (UMLWidget *widget) | |
| virtual | ~CmdBaseWidgetCommand () |
Public Member Functions inherited from QUndoCommand | |
| QUndoCommand (QUndoCommand *parent) | |
| QUndoCommand (const QString &text, QUndoCommand *parent) | |
| virtual | ~QUndoCommand () |
| QString | actionText () const |
| const QUndoCommand * | child (int index) const |
| int | childCount () const |
| virtual int | id () const |
| virtual bool | mergeWith (const QUndoCommand *command) |
| void | setText (const QString &text) |
| QString | text () const |
Additional Inherited Members | |
Protected Member Functions inherited from Uml::CmdBaseWidgetCommand | |
| void | addWidgetToScene (UMLWidget *widget) |
| UMLScene * | scene () |
| void | setWidget (UMLWidget *widget) |
| UMLWidget * | widget () |
Protected Attributes inherited from Uml::CmdBaseWidgetCommand | |
| Uml::ID::Type | m_sceneId |
| Uml::ID::Type | m_widgetId |
Detailed Description
Definition at line 22 of file cmd_removeWidget.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 26 of file cmd_removeWidget.cpp.
| Uml::CmdRemoveWidget::~CmdRemoveWidget | ( | ) |
Destructor.
Definition at line 39 of file cmd_removeWidget.cpp.
Member Function Documentation
|
virtual |
Remove the widget.
Reimplemented from QUndoCommand.
Definition at line 46 of file cmd_removeWidget.cpp.
|
virtual |
Add the widget back.
Reimplemented from QUndoCommand.
Definition at line 58 of file cmd_removeWidget.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from