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

#include <tablecommands.h>

List of all members.

Public Member Functions

virtual void redo ()
 TableInsertColumnsCmd (future::Table::Private *private_obj, int before, QList< Column * > cols, QUndoCommand *parent=0)
virtual void undo ()
 ~TableInsertColumnsCmd ()

Private Attributes

int d_before
 Column to insert before.
QList< Column * > d_cols
 The new columns.
future::Table::Privated_private_obj
 The private object to modify.
int d_rows_before
 Row count before the command.

Detailed Description

Insert columns The number of inserted columns is cols.size().


Constructor & Destructor Documentation

TableInsertColumnsCmd::TableInsertColumnsCmd ( future::Table::Private private_obj,
int  before,
QList< Column * >  cols,
QUndoCommand *  parent = 0 
)
TableInsertColumnsCmd::~TableInsertColumnsCmd ( )

Member Function Documentation

void TableInsertColumnsCmd::redo ( )
virtual
void TableInsertColumnsCmd::undo ( )
virtual

Member Data Documentation

int TableInsertColumnsCmd::d_before
private

Column to insert before.

Referenced by redo(), and undo().

QList<Column*> TableInsertColumnsCmd::d_cols
private

The new columns.

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

future::Table::Private* TableInsertColumnsCmd::d_private_obj
private

The private object to modify.

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

int TableInsertColumnsCmd::d_rows_before
private

Row count before the command.

Referenced by redo(), and undo().


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