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