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 -11
View File
@@ -20,7 +20,8 @@
#include "timeinput.h"
namespace olive {
namespace olive
{
#define super Node
@@ -30,31 +31,29 @@ TimeInput::TimeInput()
QString TimeInput::Name() const
{
return tr("Time");
return tr("Time");
}
QString TimeInput::id() const
{
return QStringLiteral("org.olivevideoeditor.Olive.time");
return QStringLiteral("org.olivevideoeditor.Olive.time");
}
QVector<Node::CategoryID> TimeInput::Category() const
{
return {kCategoryTime};
return { kCategoryTime };
}
QString TimeInput::Description() const
{
return tr("Generates the time (in seconds) at this frame.");
return tr("Generates the time (in seconds) at this frame.");
}
void TimeInput::Value(const NodeValueRow &value, const NodeGlobals &globals, NodeValueTable *table) const
void TimeInput::Value(const NodeValueRow &value, const NodeGlobals &globals,
NodeValueTable *table) const
{
table->Push(NodeValue::kFloat,
globals.time().in().toDouble(),
this,
false,
QStringLiteral("time"));
table->Push(NodeValue::kFloat, globals.time().in().toDouble(), this, false,
QStringLiteral("time"));
}
}