#include <MatrixCommand.h>
Public Member Functions | |
| MatrixSetViewCommand (Matrix *m, Matrix::ViewType oldView, Matrix::ViewType newView, const QString &text) | |
| virtual void | redo () |
| virtual void | undo () |
Private Attributes | |
| Matrix * | d_matrix |
| Matrix::ViewType | d_new_view |
| Matrix::ViewType | d_old_view |
| MatrixSetViewCommand::MatrixSetViewCommand | ( | Matrix * | m, | |
| Matrix::ViewType | oldView, | |||
| Matrix::ViewType | newView, | |||
| const QString & | text | |||
| ) |
| void MatrixSetViewCommand::redo | ( | ) | [virtual] |
References d_matrix, d_new_view, and Matrix::setViewType().
| void MatrixSetViewCommand::undo | ( | ) | [virtual] |
References d_matrix, d_old_view, and Matrix::setViewType().
Matrix* MatrixSetViewCommand::d_matrix [private] |
Referenced by redo().
Referenced by undo().
1.5.6