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
+17 -17
View File
@@ -27,42 +27,42 @@
#include "common/debug.h"
#include "widget/taskview/elapsedcounterwidget.h"
namespace olive {
class ProgressDialog : public QDialog
namespace olive
{
Q_OBJECT
class ProgressDialog : public QDialog {
Q_OBJECT
public:
ProgressDialog(const QString &message, const QString &title, QWidget* parent = nullptr);
ProgressDialog(const QString &message, const QString &title,
QWidget *parent = nullptr);
protected:
virtual void showEvent(QShowEvent* e) override;
virtual void showEvent(QShowEvent *e) override;
virtual void closeEvent(QCloseEvent *) override;
virtual void closeEvent(QCloseEvent *) override;
public slots:
void SetProgress(double value);
void SetProgress(double value);
signals:
void Cancelled();
void Cancelled();
protected:
void ShowErrorMessage(const QString& title, const QString& message);
void ShowErrorMessage(const QString &title, const QString &message);
private:
QProgressBar* bar_;
QProgressBar *bar_;
ElapsedCounterWidget* elapsed_timer_lbl_;
ElapsedCounterWidget *elapsed_timer_lbl_;
bool show_progress_;
bool show_progress_;
bool first_show_;
bool first_show_;
private slots:
void DisableSenderWidget();
void DisableProgressWidgets();
void DisableSenderWidget();
void DisableProgressWidgets();
};
}