mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-13 02:12:46 +01:00
4be00def5c
Looks like it was just missed when it was added, as currently the Network Tab only has one item RetranslateUI is used more commonly throughout the project
30 lines
609 B
C++
30 lines
609 B
C++
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class ConfigureNetwork;
|
|
}
|
|
|
|
class ConfigureNetwork : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureNetwork(const Core::System& system_, QWidget* parent = nullptr);
|
|
~ConfigureNetwork() override;
|
|
|
|
void ApplyConfiguration();
|
|
|
|
private:
|
|
void changeEvent(QEvent*) override;
|
|
void RetranslateUI();
|
|
void SetConfiguration();
|
|
|
|
std::unique_ptr<Ui::ConfigureNetwork> ui;
|
|
|
|
const Core::System& system;
|
|
};
|