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
+8 -7
View File
@@ -1,22 +1,23 @@
#include "multicampanel.h"
namespace olive {
namespace olive
{
#define super TimeBasedPanel
MulticamPanel::MulticamPanel() :
super(QStringLiteral("MultiCamPanel"))
MulticamPanel::MulticamPanel()
: super(QStringLiteral("MultiCamPanel"))
{
SetTimeBasedWidget(new MulticamWidget(this));
SetTimeBasedWidget(new MulticamWidget(this));
Retranslate();
Retranslate();
}
void MulticamPanel::Retranslate()
{
super::Retranslate();
super::Retranslate();
SetTitle(tr("Multi-Cam"));
SetTitle(tr("Multi-Cam"));
}
}
+11 -9
View File
@@ -4,19 +4,21 @@
#include "panel/viewer/viewerbase.h"
#include "widget/multicam/multicamwidget.h"
namespace olive {
class MulticamPanel : public TimeBasedPanel
namespace olive
{
Q_OBJECT
public:
MulticamPanel();
MulticamWidget *GetMulticamWidget() const { return static_cast<MulticamWidget *>(GetTimeBasedWidget()); }
class MulticamPanel : public TimeBasedPanel {
Q_OBJECT
public:
MulticamPanel();
MulticamWidget *GetMulticamWidget() const
{
return static_cast<MulticamWidget *>(GetTimeBasedWidget());
}
protected:
virtual void Retranslate() override;
virtual void Retranslate() override;
};
}