[meta] clang-format literally all of the Qt code (#3706)
Some checks failed
tx-src / sources (push) Has been cancelled
Check Strings / check-strings (push) Has been cancelled

I'm tired of dealing with this tbh

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
This commit is contained in:
crueter 2026-03-10 06:51:08 +01:00
parent 769edbfea3
commit 8678cb06eb
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
107 changed files with 1457 additions and 1737 deletions

View file

@ -1,30 +1,33 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef MIGRATION_DIALOG_H
#define MIGRATION_DIALOG_H
#include <QMessageBox>
#include <QWidget>
#include <QHBoxLayout>
#include <QMessageBox>
#include <QVBoxLayout>
#include <QWidget>
class MigrationDialog : public QDialog {
Q_OBJECT
public:
MigrationDialog(QWidget *parent = nullptr);
MigrationDialog(QWidget* parent = nullptr);
virtual ~MigrationDialog();
void setText(const QString &text);
void addBox(QWidget *box);
QAbstractButton *addButton(const QString &text, const bool reject = false);
void setText(const QString& text);
void addBox(QWidget* box);
QAbstractButton* addButton(const QString& text, const bool reject = false);
QAbstractButton *clickedButton() const;
QAbstractButton* clickedButton() const;
private:
QLabel *m_text;
QVBoxLayout *m_boxes;
QHBoxLayout *m_buttons;
QLabel* m_text;
QVBoxLayout* m_boxes;
QHBoxLayout* m_buttons;
QAbstractButton *m_clickedButton;
QAbstractButton* m_clickedButton;
};
#endif // MIGRATION_DIALOG_H