0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Define code style and format all source file using clang-format-14

except those placed in 3rdparty directories.
This commit is contained in:
Андрей Лухнов
2024-09-04 17:31:16 +03:00
parent c5b9ac265d
commit 0fca7169d3
285 changed files with 19120 additions and 17875 deletions

View File

@@ -28,24 +28,21 @@
* GNU General Public License for more details. *
****************************************************************************/
#include "lrbasedesignobjectmodel.h"
#include "lrbasedesignintf.h"
namespace LimeReport{
namespace LimeReport {
BaseDesignPropertyModel::BaseDesignPropertyModel(QObject *parent)
: QObjectPropertyModel(parent)
{}
BaseDesignPropertyModel::BaseDesignPropertyModel(QObject* parent): QObjectPropertyModel(parent) { }
void BaseDesignPropertyModel::setObject(QObject *object)
void BaseDesignPropertyModel::setObject(QObject* object)
{
BaseDesignIntf* reportItem = dynamic_cast<BaseDesignIntf*>(object);
if (reportItem){
connect(reportItem,SIGNAL(propertyChanged(QString,QVariant,QVariant)),this,SLOT(slotPropertyChanged(QString,QVariant,QVariant)));
if (reportItem) {
connect(reportItem, SIGNAL(propertyChanged(QString, QVariant, QVariant)), this,
SLOT(slotPropertyChanged(QString, QVariant, QVariant)));
}
QObjectPropertyModel::setObject(object);
}
}
} // namespace LimeReport