summaryrefslogtreecommitdiff
path: root/ui/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-30 11:01:48 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-30 11:01:48 +0200
commit3e68879c7901384913c03bd587b248a3fd79d9ff (patch)
tree3aa3395d6c84b064c60ad19f5d274a5d2bd575d4 /ui/include
parentf729c62bf23061e33a362ef1322d8fed8ae632b1 (diff)
downloadturns-3e68879c7901384913c03bd587b248a3fd79d9ff.tar.xz
turns-3e68879c7901384913c03bd587b248a3fd79d9ff.zip
core: rename participant to Participant
Diffstat (limited to 'ui/include')
-rw-r--r--ui/include/turns/ui/participant_editor.hpp12
-rw-r--r--ui/include/turns/ui/participant_row.hpp2
2 files changed, 7 insertions, 7 deletions
diff --git a/ui/include/turns/ui/participant_editor.hpp b/ui/include/turns/ui/participant_editor.hpp
index 0b1e0f1..3dfd7fb 100644
--- a/ui/include/turns/ui/participant_editor.hpp
+++ b/ui/include/turns/ui/participant_editor.hpp
@@ -41,20 +41,20 @@ namespace turns::ui
"priority",
};
- explicit ParticipantEditor(Glib::RefPtr<core::participant> participant);
+ explicit ParticipantEditor(Glib::RefPtr<core::Participant> participant);
[[nodiscard]] auto get_disposition() const -> core::disposition;
[[nodiscard]] auto get_name() const -> Glib::ustring;
- [[nodiscard]] auto get_participant() const -> Glib::RefPtr<core::participant>;
+ [[nodiscard]] auto get_participant() const -> Glib::RefPtr<core::Participant>;
[[nodiscard]] auto get_priority() const -> double;
auto set_disposition(core::disposition value) -> void;
auto set_name(Glib::ustring const & value) -> void;
- auto set_participant(Glib::RefPtr<core::participant> const & value) -> void;
+ auto set_participant(Glib::RefPtr<core::Participant> const & value) -> void;
auto set_priority(double value) -> void;
- [[nodiscard]] auto property_participant() -> Glib::PropertyProxy<Glib::RefPtr<core::participant>>;
- [[nodiscard]] auto property_participant() const -> Glib::PropertyProxy_ReadOnly<Glib::RefPtr<core::participant>>;
+ [[nodiscard]] auto property_participant() -> Glib::PropertyProxy<Glib::RefPtr<core::Participant>>;
+ [[nodiscard]] auto property_participant() const -> Glib::PropertyProxy_ReadOnly<Glib::RefPtr<core::Participant>>;
auto signal_finished() -> SignalFinishedType;
@@ -71,7 +71,7 @@ namespace turns::ui
Glib::RefPtr<Gtk::SignalListItemFactory> m_disposition_factory;
Glib::RefPtr<Gtk::StringList> m_disposition_model;
- Glib::Property<Glib::RefPtr<core::participant>> m_participant;
+ Glib::Property<Glib::RefPtr<core::Participant>> m_participant;
SignalFinishedType m_signal_finished{};
};
diff --git a/ui/include/turns/ui/participant_row.hpp b/ui/include/turns/ui/participant_row.hpp
index ed7b47c..561214b 100644
--- a/ui/include/turns/ui/participant_row.hpp
+++ b/ui/include/turns/ui/participant_row.hpp
@@ -27,7 +27,7 @@ namespace turns::ui
"toggle_defeated",
};
- ParticipantRow(Glib::RefPtr<core::participant> participant);
+ ParticipantRow(Glib::RefPtr<core::Participant> participant);
auto delete_enabled() -> Glib::PropertyProxy<bool>;
auto edit_enabled() -> Glib::PropertyProxy<bool>;