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

#include <columncommands.h>

List of all members.

Public Member Functions

 ColumnSetTextCmd (Column::Private *col, int row, const QString &new_value, QUndoCommand *parent=0)
 Ctor.
virtual void redo ()
 Execute the command.
virtual void undo ()
 Undo the command.
 ~ColumnSetTextCmd ()
 Dtor.

Private Attributes

Column::Privated_col
 The private column data to modify.
QString d_new_value
 The new value.
QString d_old_value
 The old value.
int d_row
 The row to modify.
int d_row_count
 The old number of rows.
IntervalAttribute< bool > d_validity
 The old validity.

Detailed Description

Set the text for a string cell


Constructor & Destructor Documentation

ColumnSetTextCmd::ColumnSetTextCmd ( Column::Private col,
int  row,
const QString &  new_value,
QUndoCommand *  parent = 0 
)

Ctor.

References Column::Private::name().

ColumnSetTextCmd::~ColumnSetTextCmd ( )

Dtor.


Member Function Documentation

void ColumnSetTextCmd::redo ( )
virtual
void ColumnSetTextCmd::undo ( )
virtual

Member Data Documentation

Column::Private* ColumnSetTextCmd::d_col
private

The private column data to modify.

Referenced by redo(), and undo().

QString ColumnSetTextCmd::d_new_value
private

The new value.

Referenced by redo().

QString ColumnSetTextCmd::d_old_value
private

The old value.

Referenced by redo(), and undo().

int ColumnSetTextCmd::d_row
private

The row to modify.

Referenced by redo(), and undo().

int ColumnSetTextCmd::d_row_count
private

The old number of rows.

Referenced by redo(), and undo().

IntervalAttribute<bool> ColumnSetTextCmd::d_validity
private

The old validity.

Referenced by redo(), and undo().


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