Debian Codegraph @

Source/Core/DolphinQt/Config/ConfigControls/ConfigUserPath.h

raw symbols SCIP
1 // Copyright 2025 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <QLineEdit>
7
8 #include "Common/Config/ConfigInfo.h"
9
10 #include "DolphinQt/Config/ConfigControls/ConfigText.h"
11
12 class ConfigUserPath final : public ConfigText
13 {
14 Q_OBJECT
15 public:
16 ConfigUserPath(const unsigned int dir_index, const Config::Info<std::string>& setting);
17 ConfigUserPath(const unsigned int dir_index, const Config::Info<std::string>& setting,
18 Config::Layer* layer);
19
20 protected:
21 void OnConfigChanged() override;
22
23 private:
24 void RefreshText();
25 void Update();
26
27 const unsigned int m_dir_index;
28 };