Line data Source code
1 : #include "crosstabcell.hpp" 2 : 3 : namespace qtreports 4 : { 5 : namespace detail 6 : { 7 3 : CrosstabCell::CrosstabCell() {} 8 : 9 6 : CrosstabCell::~CrosstabCell() {} 10 : 11 9 : void CrosstabCell::setCellContents(const CellContentsPtr &cellContents) 12 : { 13 9 : m_cellContents = cellContents; 14 9 : } 15 : 16 220 : const CellContentsPtr CrosstabCell::getCellContents() 17 : { 18 220 : return m_cellContents; 19 : } 20 : 21 3 : void CrosstabCell::setWidth(int width) 22 : { 23 3 : m_width = width; 24 3 : } 25 : 26 86 : int CrosstabCell::getWidth() 27 : { 28 86 : return m_width; 29 : } 30 : 31 3 : void CrosstabCell::setHeight(int height) 32 : { 33 3 : m_height = height; 34 3 : } 35 : 36 57 : int CrosstabCell::getHeight() 37 : { 38 57 : return m_height; 39 : } 40 : } 41 : }