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

#include <columncommands.h>

List of all members.

Public Member Functions

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

Private Attributes

Column::Privated_col
 The private column data to modify.
QDateTime d_new_value
 The new value.
QDateTime 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 value of a date-time cell


Constructor & Destructor Documentation

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

Ctor.

References Column::Private::name().

ColumnSetDateTimeCmd::~ColumnSetDateTimeCmd ( )

Dtor.


Member Function Documentation

void ColumnSetDateTimeCmd::redo ( )
virtual
void ColumnSetDateTimeCmd::undo ( )
virtual

Member Data Documentation

Column::Private* ColumnSetDateTimeCmd::d_col
private

The private column data to modify.

Referenced by redo(), and undo().

QDateTime ColumnSetDateTimeCmd::d_new_value
private

The new value.

Referenced by redo().

QDateTime ColumnSetDateTimeCmd::d_old_value
private

The old value.

Referenced by redo(), and undo().

int ColumnSetDateTimeCmd::d_row
private

The row to modify.

Referenced by redo(), and undo().

int ColumnSetDateTimeCmd::d_row_count
private

The old number of rows.

Referenced by redo(), and undo().

IntervalAttribute<bool> ColumnSetDateTimeCmd::d_validity
private

The old validity.

Referenced by redo(), and undo().


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