• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.14
  • kdesdk
  • umbrello
  • umbrello
  • cmds
  • widget
cmd_removeWidget.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 CMD_REMOVE_WIDGET_H
12 #define CMD_REMOVE_WIDGET_H
13 
14 #include "cmd_baseWidgetCommand.h"
15 
16 #include <QDomElement>
17 
18 class UMLWidget;
19 
20 namespace Uml
21 {
22  class CmdRemoveWidget : public CmdBaseWidgetCommand
23  {
24  public:
25  explicit CmdRemoveWidget(UMLWidget* widget);
26  ~CmdRemoveWidget();
27 
28  void redo();
29  void undo();
30 
31  private:
32  QDomElement m_element;
33  };
34 }
35 
36 #endif
Uml::CmdRemoveWidget::undo
void undo()
Add the widget back.
Definition: cmd_removeWidget.cpp:58
Uml::CmdBaseWidgetCommand::widget
UMLWidget * widget()
Definition: cmd_baseWidgetCommand.cpp:52
Uml::CmdRemoveWidget::redo
void redo()
Remove the widget.
Definition: cmd_removeWidget.cpp:46
Uml::CmdRemoveWidget::~CmdRemoveWidget
~CmdRemoveWidget()
Destructor.
Definition: cmd_removeWidget.cpp:39
Uml::CmdRemoveWidget::CmdRemoveWidget
CmdRemoveWidget(UMLWidget *widget)
Constructor.
Definition: cmd_removeWidget.cpp:26
Uml::CmdBaseWidgetCommand
Definition: cmd_baseWidgetCommand.h:23
Uml::CmdRemoveWidget
Definition: cmd_removeWidget.h:22
QDomElement
cmd_baseWidgetCommand.h
UMLWidget
This is the base class for nearly all graphical widgets.
Definition: umlwidget.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal