Code refactoring - change code style to the new clang-format rules

This commit is contained in:
Yuriy Puchkov
2020-09-23 15:24:16 +03:00
parent 5a62cd3b13
commit b88a5fbce8
175 changed files with 6200 additions and 5356 deletions

View File

@@ -17,23 +17,22 @@
#pragma once
#include "src/widgets/capture/capturebutton.h"
#include "src/tools/capturetool.h"
#include "src/widgets/capture/capturebutton.h"
#include <QObject>
class CaptureTool;
class ToolFactory : public QObject {
class ToolFactory : public QObject
{
Q_OBJECT
public:
explicit ToolFactory(QObject* parent = nullptr);
explicit ToolFactory(QObject *parent = nullptr);
ToolFactory(const ToolFactory&) = delete;
ToolFactory& operator=(const ToolFactory&) = delete;
ToolFactory(const ToolFactory &) = delete;
ToolFactory & operator=(const ToolFactory &) = delete;
CaptureTool* CreateTool(
CaptureButton::ButtonType t,
QObject *parent = nullptr);
CaptureTool* CreateTool(CaptureButton::ButtonType t,
QObject* parent = nullptr);
};