The PasteDiagramCommand class This command pastes some content onto a particular diagram.  
 More...
#include <diagramcommands.h>
Inherits QUndoCommand.
The PasteDiagramCommand class This command pastes some content onto a particular diagram. 
◆ PasteDiagramCommand() [1/2]
      
        
          | PasteDiagramCommand::PasteDiagramCommand | ( | Diagram * | dia, | 
        
          |  |  | const DiagramContent & | c, | 
        
          |  |  | QUndoCommand * | parent = nullptr | 
        
          |  | ) |  |  | 
      
 
 
◆ ~PasteDiagramCommand()
  
  | 
        
          | PasteDiagramCommand::~PasteDiagramCommand | ( |  | ) |  |  | override | 
 
 
◆ PasteDiagramCommand() [2/2]
◆ redo()
  
  | 
        
          | void PasteDiagramCommand::redo | ( |  | ) |  |  | override | 
 
 
◆ undo()
  
  | 
        
          | void PasteDiagramCommand::undo | ( |  | ) |  |  | override | 
 
 
◆ content
◆ diagram
  
  | 
        
          | Diagram* PasteDiagramCommand::diagram |  | private | 
 
diagram content is pasted onto 
 
 
◆ filter
  
  | 
        
          | int PasteDiagramCommand::filter |  | private | 
 
filter stating what kinds of items should be pasted 
 
 
◆ first_redo
  
  | 
        
          | bool PasteDiagramCommand::first_redo |  | private | 
 
prevent the first call to redo() 
 
 
The documentation for this class was generated from the following files: