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

#include <columncommands.h>

List of all members.

Public Member Functions

 ColumnInsertEmptyRowsCmd (Column::Private *col, int before, int count, QUndoCommand *parent=0)
 Ctor.
virtual void redo ()
 Execute the command.
virtual void undo ()
 Undo the command.
 ~ColumnInsertEmptyRowsCmd ()
 Dtor.

Private Attributes

int d_before
 Row to insert before.
Column::Privated_col
 The private column data to modify.
int d_count
 Number of rows.

Detailed Description

Insert empty rows


Constructor & Destructor Documentation

ColumnInsertEmptyRowsCmd::ColumnInsertEmptyRowsCmd ( Column::Private col,
int  before,
int  count,
QUndoCommand *  parent = 0 
)

Ctor.

References Column::Private::name().

ColumnInsertEmptyRowsCmd::~ColumnInsertEmptyRowsCmd ( )

Dtor.


Member Function Documentation

void ColumnInsertEmptyRowsCmd::redo ( )
virtual

Execute the command.

References d_before, d_col, d_count, and Column::Private::insertRows().

void ColumnInsertEmptyRowsCmd::undo ( )
virtual

Undo the command.

References d_before, d_col, d_count, and Column::Private::removeRows().


Member Data Documentation

int ColumnInsertEmptyRowsCmd::d_before
private

Row to insert before.

Referenced by redo(), and undo().

Column::Private* ColumnInsertEmptyRowsCmd::d_col
private

The private column data to modify.

Referenced by redo(), and undo().

int ColumnInsertEmptyRowsCmd::d_count
private

Number of rows.

Referenced by redo(), and undo().


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