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

@@ -37,7 +37,8 @@ HelperCell::HelperCell(QGraphicsItem *parent) :
/**
Destructor
*/
HelperCell::~HelperCell() {
HelperCell::~HelperCell()
{
}
/**
@@ -56,7 +57,8 @@ void HelperCell::setGeometry(const QRectF &g) {
@param constraint New value for the size hint
@return the size hint for \a which using the width or height of \a constraint
*/
QSizeF HelperCell::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const {
QSizeF HelperCell::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
{
Q_UNUSED(which);
return(constraint);
}
@@ -64,7 +66,8 @@ QSizeF HelperCell::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
/**
@return the bounding rect of this helper cell
*/
QRectF HelperCell::boundingRect() const {
QRectF HelperCell::boundingRect() const
{
return QRectF(QPointF(0,0), geometry().size());
}
@@ -114,7 +117,8 @@ void HelperCell::setActions(const QList<QAction *> &actions) {
/**
@return the list of actions displayed by the context menu of this helper cell.
*/
QList<QAction *> HelperCell::actions() const {
QList<QAction *> HelperCell::actions() const
{
return actions_;
}