change: change code style to Linux style except indent.
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user