KSpread::MergeCellCommand Class Reference

#include <commands.h>

Inherits KCommand.

Public Member Functions

 MergeCellCommand (Cell *cell, int colSpan, int rowSpan)
 
virtual void execute ()
 
virtual void unexecute ()
 
virtual TQString name () const
 

Protected Attributes

Cell * cell
 
int colSpan
 
int rowSpan
 
int oldColSpan
 
int oldRowSpan
 
TQString rangeName
 

Detailed Description

Class MergeCellCommand implements a command for merging two or more cells into one cell.

Definition at line 107 of file commands.h.

Constructor & Destructor Documentation

◆ MergeCellCommand()

MergeCellCommand::MergeCellCommand ( Cell *  cell,
int  colSpan,
int  rowSpan 
)

Definition at line 61 of file commands.cpp.

Member Function Documentation

◆ execute()

void MergeCellCommand::execute ( )
virtual

Definition at line 83 of file commands.cpp.

◆ name()

TQString MergeCellCommand::name ( ) const
virtual

Definition at line 75 of file commands.cpp.

◆ unexecute()

void MergeCellCommand::unexecute ( )
virtual

Definition at line 90 of file commands.cpp.

Member Data Documentation

◆ cell

Cell* KSpread::MergeCellCommand::cell
protected

Definition at line 117 of file commands.h.

◆ colSpan

int KSpread::MergeCellCommand::colSpan
protected

Definition at line 118 of file commands.h.

◆ oldColSpan

int KSpread::MergeCellCommand::oldColSpan
protected

Definition at line 120 of file commands.h.

◆ oldRowSpan

int KSpread::MergeCellCommand::oldRowSpan
protected

Definition at line 121 of file commands.h.

◆ rangeName

TQString KSpread::MergeCellCommand::rangeName
protected

Definition at line 122 of file commands.h.

◆ rowSpan

int KSpread::MergeCellCommand::rowSpan
protected

Definition at line 119 of file commands.h.


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