All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent eafd18dac0
commit 25c3ba7338
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -22,8 +22,7 @@
***************************************************************************/
# include <QMessageBox>
#include <QMessageBox>
#include <App/Document.h>
@@ -46,14 +45,13 @@ using namespace Gui::TaskView;
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TaskDialog::TaskDialog()
: QObject(nullptr), pos(North)
: QObject(nullptr)
, pos(North)
, escapeButton(true)
, autoCloseTransaction(false)
, autoCloseDeletedDocument(false)
, autoCloseClosedView(false)
{
}
{}
TaskDialog::~TaskDialog()
{
@@ -70,10 +68,7 @@ QWidget* TaskDialog::addTaskBox(QWidget* widget, bool expandable, QWidget* paren
return addTaskBox(QPixmap(), widget, expandable, parent);
}
QWidget* TaskDialog::addTaskBox(const QPixmap& icon,
QWidget* widget,
bool expandable,
QWidget* parent)
QWidget* TaskDialog::addTaskBox(const QPixmap& icon, QWidget* widget, bool expandable, QWidget* parent)
{
auto taskbox = new Gui::TaskView::TaskBox(icon, widget->windowTitle(), expandable, parent);
taskbox->groupLayout()->addWidget(widget);
@@ -89,7 +84,7 @@ QWidget* TaskDialog::addTaskBoxWithoutHeader(QWidget* widget)
return taskbox;
}
const std::vector<QWidget*> &TaskDialog::getDialogContent() const
const std::vector<QWidget*>& TaskDialog::getDialogContent() const
{
return Content;
}
@@ -127,34 +122,22 @@ void TaskDialog::associateToObject3dView(App::DocumentObject* obj)
//==== calls from the TaskView ===============================================================
void TaskDialog::open()
{
}
{}
void TaskDialog::closed()
{
}
{}
void TaskDialog::autoClosedOnTransactionChange()
{
}
{}
void TaskDialog::autoClosedOnDeletedDocument()
{
}
{}
void TaskDialog::autoClosedOnClosedView()
{
}
{}
void TaskDialog::clicked(int)
{
}
{}
bool TaskDialog::accept()
{
@@ -167,21 +150,13 @@ bool TaskDialog::reject()
}
void TaskDialog::helpRequested()
{
}
{}
void TaskDialog::onUndo()
{
}
{}
void TaskDialog::onRedo()
{
}
{}
#include "moc_TaskDialog.cpp"