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
+5 -4
View File
@@ -20,7 +20,8 @@
#include "gap.h"
namespace olive {
namespace olive
{
GapBlock::GapBlock()
{
@@ -28,17 +29,17 @@ GapBlock::GapBlock()
QString GapBlock::Name() const
{
return tr("Gap");
return tr("Gap");
}
QString GapBlock::id() const
{
return QStringLiteral("org.olivevideoeditor.Olive.gap");
return QStringLiteral("org.olivevideoeditor.Olive.gap");
}
QString GapBlock::Description() const
{
return tr("A time-based node that represents an empty space.");
return tr("A time-based node that represents an empty space.");
}
}
+9 -10
View File
@@ -23,23 +23,22 @@
#include "node/block/block.h"
namespace olive {
namespace olive
{
/**
* @brief Node that represents nothing in its respective track for a certain period of time
*/
class GapBlock : public Block
{
Q_OBJECT
class GapBlock : public Block {
Q_OBJECT
public:
GapBlock();
GapBlock();
NODE_DEFAULT_FUNCTIONS(GapBlock)
virtual QString Name() const override;
virtual QString id() const override;
virtual QString Description() const override;
NODE_DEFAULT_FUNCTIONS(GapBlock)
virtual QString Name() const override;
virtual QString id() const override;
virtual QString Description() const override;
};
}