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