Wrap code for better readability

This commit is contained in:
Simon De Backer
2020-09-07 22:03:40 +02:00
parent 8ee38fab9e
commit 5d92393ee7
202 changed files with 4031 additions and 2153 deletions

View File

@@ -3,7 +3,8 @@
/**
Constructor
*/
TitleBlockCell::TitleBlockCell() {
TitleBlockCell::TitleBlockCell()
{
cell_type = TitleBlockCell::EmptyCell;
num_row = num_col = -1;
row_span = col_span = 0;
@@ -20,27 +21,31 @@ TitleBlockCell::TitleBlockCell() {
/**
Destructor
*/
TitleBlockCell::~TitleBlockCell() {
TitleBlockCell::~TitleBlockCell()
{
}
/**
@return the type of this cell
*/
TitleBlockCell::TemplateCellType TitleBlockCell::type() const {
TitleBlockCell::TemplateCellType TitleBlockCell::type() const
{
return(cell_type);
}
/**
@return the horizontal alignment of this cell
*/
int TitleBlockCell::horizontalAlign() const {
int TitleBlockCell::horizontalAlign() const
{
return(alignment & Qt::AlignHorizontal_Mask);
}
/**
@return the vertical alignment of this cell
*/
int TitleBlockCell::verticalAlign() const {
int TitleBlockCell::verticalAlign() const
{
return(alignment & Qt::AlignVertical_Mask);
}
@@ -131,7 +136,8 @@ QString TitleBlockCell::attributeName(const QString &attribute) {
/**
@return true if this cell spans over other cells, false otherwise.
*/
bool TitleBlockCell::spans() const {
bool TitleBlockCell::spans() const
{
return(row_span || col_span);
}