#include <columncommands.h>
List of all members.
Detailed Description
Constructor & Destructor Documentation
ColumnPartialCopyCmd::ColumnPartialCopyCmd |
( |
Column::Private * |
col, |
|
|
const AbstractColumn * |
src, |
|
|
int |
src_start, |
|
|
int |
dest_start, |
|
|
int |
num_rows, |
|
|
QUndoCommand * |
parent = 0 |
|
) |
| |
ColumnPartialCopyCmd::~ColumnPartialCopyCmd |
( |
| ) |
|
Member Function Documentation
void ColumnPartialCopyCmd::redo |
( |
| ) |
|
|
virtual |
Execute the command.
References Column::Private::columnMode(), Column::Private::copy(), Column::copy(), d_col, d_col_backup, d_col_backup_owner, d_dest_start, d_num_rows, d_old_row_count, d_old_validity, d_src, d_src_backup, d_src_backup_owner, d_src_start, Column::Private::rowCount(), and Column::Private::validityAttribute().
void ColumnPartialCopyCmd::undo |
( |
| ) |
|
|
virtual |
Member Data Documentation
The private column data to modify.
Referenced by redo(), and undo().
Column* ColumnPartialCopyCmd::d_col_backup_owner |
|
private |
int ColumnPartialCopyCmd::d_dest_start |
|
private |
Start index in destination column.
Referenced by redo(), and undo().
int ColumnPartialCopyCmd::d_num_rows |
|
private |
int ColumnPartialCopyCmd::d_old_row_count |
|
private |
Previous number of rows in the destination column.
Referenced by redo(), and undo().
The old validity information.
Referenced by redo(), and undo().
The column to copy.
Referenced by redo().
Column* ColumnPartialCopyCmd::d_src_backup_owner |
|
private |
int ColumnPartialCopyCmd::d_src_start |
|
private |
Start index in source column.
Referenced by redo().
The documentation for this class was generated from the following files: