QtiPlot  0.9.8.2
Public Member Functions | Private Attributes | List of all members
MatrixSetViewCommand Class Reference

#include <MatrixCommand.h>

Inheritance diagram for MatrixSetViewCommand:

Public Member Functions

 MatrixSetViewCommand (Matrix *m, Matrix::ViewType oldView, Matrix::ViewType newView, const QString &text)
 
virtual void redo ()
 
virtual void undo ()
 

Private Attributes

Matrixd_matrix
 
Matrix::ViewType d_new_view
 
Matrix::ViewType d_old_view
 

Constructor & Destructor Documentation

◆ MatrixSetViewCommand()

MatrixSetViewCommand::MatrixSetViewCommand ( Matrix m,
Matrix::ViewType  oldView,
Matrix::ViewType  newView,
const QString &  text 
)

Member Function Documentation

◆ redo()

void MatrixSetViewCommand::redo ( )
virtual

◆ undo()

void MatrixSetViewCommand::undo ( )
virtual

Member Data Documentation

◆ d_matrix

Matrix* MatrixSetViewCommand::d_matrix
private

Referenced by redo(), and undo().

◆ d_new_view

Matrix::ViewType MatrixSetViewCommand::d_new_view
private

Referenced by redo().

◆ d_old_view

Matrix::ViewType MatrixSetViewCommand::d_old_view
private

Referenced by undo().


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