SciDAVis  1.D4
Public Member Functions | Private Attributes
MatrixRemoveRowsCmd Class Reference

#include <matrixcommands.h>

List of all members.

Public Member Functions

 MatrixRemoveRowsCmd (future::Matrix::Private *private_obj, int first, int count, QUndoCommand *parent=0)
virtual void redo ()
virtual void undo ()
 ~MatrixRemoveRowsCmd ()

Private Attributes

QVector< QVector< qreal > > d_backups
 Backups of the removed rows.
int d_count
 The number of rows to remove.
int d_first
 First row to remove.
future::Matrix::Privated_private_obj
 The private object to modify.

Detailed Description

Remove rows


Constructor & Destructor Documentation

MatrixRemoveRowsCmd::MatrixRemoveRowsCmd ( future::Matrix::Private private_obj,
int  first,
int  count,
QUndoCommand *  parent = 0 
)
MatrixRemoveRowsCmd::~MatrixRemoveRowsCmd ( )

Member Function Documentation

void MatrixRemoveRowsCmd::redo ( )
virtual
void MatrixRemoveRowsCmd::undo ( )
virtual

Member Data Documentation

QVector< QVector<qreal> > MatrixRemoveRowsCmd::d_backups
private

Backups of the removed rows.

Referenced by redo(), and undo().

int MatrixRemoveRowsCmd::d_count
private

The number of rows to remove.

Referenced by MatrixRemoveRowsCmd(), redo(), and undo().

int MatrixRemoveRowsCmd::d_first
private

First row to remove.

Referenced by redo(), and undo().

future::Matrix::Private* MatrixRemoveRowsCmd::d_private_obj
private

The private object to modify.

Referenced by MatrixRemoveRowsCmd(), redo(), and undo().


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