QtiPlot 0.9.7.3
|
#include <MatrixCommand.h>
Public Member Functions | |
MatrixDeleteRowsCommand (MatrixModel *model, int startRow, int count, double *data, const QString &text) | |
virtual void | redo () |
virtual void | undo () |
~MatrixDeleteRowsCommand () | |
Private Attributes | |
int | d_count |
double * | d_data |
MatrixModel * | d_model |
int | d_start_row |
MatrixDeleteRowsCommand::MatrixDeleteRowsCommand | ( | MatrixModel * | model, |
int | startRow, | ||
int | count, | ||
double * | data, | ||
const QString & | text | ||
) |
References MatrixModel::matrix().
MatrixDeleteRowsCommand::~MatrixDeleteRowsCommand | ( | ) | [inline] |
References d_data.
void MatrixDeleteRowsCommand::redo | ( | ) | [virtual] |
References d_count, d_model, d_start_row, and MatrixModel::removeRows().
void MatrixDeleteRowsCommand::undo | ( | ) | [virtual] |
References MatrixModel::columnCount(), d_count, d_data, d_model, d_start_row, MatrixModel::dataVector(), and MatrixModel::insertRows().
int MatrixDeleteRowsCommand::d_count [private] |
double* MatrixDeleteRowsCommand::d_data [private] |
Referenced by undo(), and ~MatrixDeleteRowsCommand().
MatrixModel* MatrixDeleteRowsCommand::d_model [private] |
int MatrixDeleteRowsCommand::d_start_row [private] |