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