#include <columncommands.h>
List of all members.
Constructor & Destructor Documentation
ColumnRemoveRowsCmd::ColumnRemoveRowsCmd |
( |
Column::Private * |
col, |
|
|
int |
first, |
|
|
int |
count, |
|
|
QUndoCommand * |
parent = 0 |
|
) |
| |
ColumnRemoveRowsCmd::~ColumnRemoveRowsCmd |
( |
| ) |
|
Member Function Documentation
void ColumnRemoveRowsCmd::redo |
( |
| ) |
|
|
virtual |
Execute the command.
References Column::Private::columnMode(), Column::copy(), d_backup, d_backup_owner, d_col, d_count, d_data_row_count, d_first, d_formulas, d_masking, d_old_size, Column::Private::formulaAttribute(), Column::Private::maskingAttribute(), Column::Private::removeRows(), and Column::Private::rowCount().
void ColumnRemoveRowsCmd::undo |
( |
| ) |
|
|
virtual |
Undo the command.
References Column::Private::copy(), d_backup, d_col, d_count, d_data_row_count, d_first, d_formulas, d_masking, d_old_size, Column::Private::insertRows(), Column::Private::replaceFormulas(), Column::Private::replaceMasking(), and Column::Private::resizeTo().
Member Data Documentation
Column* ColumnRemoveRowsCmd::d_backup_owner |
|
private |
The private column data to modify.
Referenced by redo(), and undo().
int ColumnRemoveRowsCmd::d_count |
|
private |
The number of rows to be removed.
Referenced by redo(), and undo().
int ColumnRemoveRowsCmd::d_data_row_count |
|
private |
Number of removed rows actually containing data.
Referenced by redo(), and undo().
int ColumnRemoveRowsCmd::d_first |
|
private |
Backup of the formula attribute.
Referenced by redo(), and undo().
Backup of the masking attribute.
Referenced by redo(), and undo().
int ColumnRemoveRowsCmd::d_old_size |
|
private |
The number of rows before the removal.
Referenced by redo(), and undo().
The documentation for this class was generated from the following files: