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
+20 -21
View File
@@ -26,41 +26,40 @@
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
namespace olive {
namespace olive
{
using namespace core;
class TimelineWorkArea : public QObject
{
Q_OBJECT
class TimelineWorkArea : public QObject {
Q_OBJECT
public:
TimelineWorkArea(QObject* parent = nullptr);
TimelineWorkArea(QObject *parent = nullptr);
bool enabled() const;
void set_enabled(bool e);
bool enabled() const;
void set_enabled(bool e);
const rational& in() const;
const rational& out() const;
const rational& length() const;
const TimeRange& range() const;
void set_range(const TimeRange& range);
const rational &in() const;
const rational &out() const;
const rational &length() const;
const TimeRange &range() const;
void set_range(const TimeRange &range);
bool load(QXmlStreamReader *reader);
void save(QXmlStreamWriter *writer) const;
bool load(QXmlStreamReader *reader);
void save(QXmlStreamWriter *writer) const;
static const rational kResetIn;
static const rational kResetOut;
static const rational kResetIn;
static const rational kResetOut;
signals:
void EnabledChanged(bool e);
void EnabledChanged(bool e);
void RangeChanged(const TimeRange& r);
void RangeChanged(const TimeRange &r);
private:
bool workarea_enabled_;
TimeRange workarea_range_;
bool workarea_enabled_;
TimeRange workarea_range_;
};
}