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

umbrello/umbrello

  • Uml
  • CmdRemoveWidget
Public Member Functions | List of all members
Uml::CmdRemoveWidget Class Reference

#include <cmd_removeWidget.h>

Inheritance diagram for Uml::CmdRemoveWidget:
Inheritance graph
[legend]

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

Uml::CmdRemoveWidget::CmdRemoveWidget ( UMLWidget *  widget)
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

void Uml::CmdRemoveWidget::redo ( )
virtual

Remove the widget.

Reimplemented from QUndoCommand.

Definition at line 46 of file cmd_removeWidget.cpp.

void Uml::CmdRemoveWidget::undo ( )
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:
  • cmd_removeWidget.h
  • cmd_removeWidget.cpp
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

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