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