QtiPlot 0.9.8.2
|
#include <MatrixCommand.h>
Public Member Functions | |
MatrixSetColWidthCommand (Matrix *m, int oldWidth, int newWidth, const QString &text) | |
virtual void | redo () |
virtual void | undo () |
Private Attributes | |
Matrix * | d_matrix |
int | d_new_width |
int | d_old_width |
MatrixSetColWidthCommand::MatrixSetColWidthCommand | ( | Matrix * | m, |
int | oldWidth, | ||
int | newWidth, | ||
const QString & | text | ||
) |
void MatrixSetColWidthCommand::redo | ( | ) | [virtual] |
References d_matrix, d_new_width, and Matrix::setColumnsWidth().
void MatrixSetColWidthCommand::undo | ( | ) | [virtual] |
References d_matrix, d_old_width, and Matrix::setColumnsWidth().
Matrix* MatrixSetColWidthCommand::d_matrix [private] |
int MatrixSetColWidthCommand::d_new_width [private] |
Referenced by redo().
int MatrixSetColWidthCommand::d_old_width [private] |
Referenced by undo().