OpenWalnut  1.5.0dev
Public Member Functions | Protected Attributes | List of all members
WModuleDeleteEvent Class Reference

Event signalling a module item should be deleted. More...

#include <WModuleDeleteEvent.h>

+ Inheritance diagram for WModuleDeleteEvent:
+ Collaboration diagram for WModuleDeleteEvent:

Public Member Functions

 WModuleDeleteEvent (WQtTreeItem *treeItem)
 Creates a new event instance denoting that the specified module got deleted in the root container. More...
 
virtual ~WModuleDeleteEvent ()
 Destructor. More...
 
WQtTreeItemgetTreeItem ()
 Getter for the tree item that got outdated. More...
 

Protected Attributes

WQtTreeItemm_item
 The tree item sent this event. More...
 

Detailed Description

Event signalling a module item should be deleted.

Definition at line 35 of file WModuleDeleteEvent.h.

Constructor & Destructor Documentation

◆ WModuleDeleteEvent()

WModuleDeleteEvent::WModuleDeleteEvent ( WQtTreeItem treeItem)
explicit

Creates a new event instance denoting that the specified module got deleted in the root container.

Parameters
treeItemthe tree item that switched its state.

Definition at line 29 of file WModuleDeleteEvent.cpp.

◆ ~WModuleDeleteEvent()

WModuleDeleteEvent::~WModuleDeleteEvent ( )
virtual

Destructor.

Definition at line 36 of file WModuleDeleteEvent.cpp.

Member Function Documentation

◆ getTreeItem()

WQtTreeItem * WModuleDeleteEvent::getTreeItem ( )

Getter for the tree item that got outdated.

Returns
the tree item

Definition at line 41 of file WModuleDeleteEvent.cpp.

References m_item.

Referenced by WQtControlPanel::event(), and WQtNetworkEditor::event().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_item

WQtTreeItem* WModuleDeleteEvent::m_item
protected

The tree item sent this event.

Definition at line 61 of file WModuleDeleteEvent.h.

Referenced by getTreeItem().


The documentation for this class was generated from the following files: