change: change code style to Linux style except indent.

This commit is contained in:
Mike Solar
2025-08-03 03:09:40 +08:00
parent 65ab76edc8
commit 74f73ab3be
789 changed files with 77113 additions and 68888 deletions
+10 -9
View File
@@ -25,15 +25,15 @@
#include "tool/tool.h"
namespace olive {
namespace olive
{
/**
* @brief Simple derived class of QPushButton to contain an Tool ID. Used as the main widget through Toolbar.
*/
class ToolbarButton : public QPushButton
{
class ToolbarButton : public QPushButton {
public:
/**
/**
* @brief ToolbarButton Constructor
*
* @param parent
@@ -44,19 +44,20 @@ public:
*
* Tool object. Must be a member of enum Tool::Item, including kNone if this button does not represent a tool.
*/
ToolbarButton(QWidget* parent, const Tool::Item& tool);
ToolbarButton(QWidget *parent, const Tool::Item &tool);
/**
/**
* @brief Retrieve tool ID that this button represents
*
* Set in the constructor and shouldn't change throughout its lifetime.
*/
const Tool::Item& tool();
const Tool::Item &tool();
private:
/**
/**
* @brief Internal tool value
*/
Tool::Item tool_;
Tool::Item tool_;
};
}