aboutsummaryrefslogtreecommitdiff
path: root/include/adwaitamm/preferencesdialog.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-04 07:18:13 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-04 07:19:10 +0200
commite49fa74dd76455ae559e8e26ee44103809db85c0 (patch)
treef9b8c985dbfd8839b53126216c62d4f3ede7f137 /include/adwaitamm/preferencesdialog.hpp
parent30c03f8d5136b4148d2b1e4de53748f3f02723bd (diff)
downloadlibadwaitamm-e49fa74dd76455ae559e8e26ee44103809db85c0.tar.xz
libadwaitamm-e49fa74dd76455ae559e8e26ee44103809db85c0.zip
adw: rename namespace to Adwaita
Diffstat (limited to 'include/adwaitamm/preferencesdialog.hpp')
-rw-r--r--include/adwaitamm/preferencesdialog.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/adwaitamm/preferencesdialog.hpp b/include/adwaitamm/preferencesdialog.hpp
index d57e015..824a683 100644
--- a/include/adwaitamm/preferencesdialog.hpp
+++ b/include/adwaitamm/preferencesdialog.hpp
@@ -18,11 +18,11 @@
using AdwPreferencesDialog = struct _AdwPreferencesDialog;
using AdwPreferencesDialogClass = struct _AdwPreferencesDialogClass;
-namespace turns::adw
+namespace Adwaita
{
struct PreferencesDialog_Class;
- struct PreferencesDialog : adw::Dialog,
+ struct PreferencesDialog : Dialog,
helpers::gobj_mixin<PreferencesDialog, AdwPreferencesDialog>
{
struct Class : Glib::Class
@@ -30,7 +30,7 @@ namespace turns::adw
using BaseClassParent = AdwDialogClass;
using BaseClassType = AdwPreferencesDialogClass;
using BaseObjectType = AdwPreferencesDialog;
- using CppClassParent = adw::Dialog::Class;
+ using CppClassParent = Dialog::Class;
using CppObjectType = PreferencesDialog;
auto init() -> Glib::Class const &;
@@ -56,17 +56,17 @@ namespace turns::adw
auto static get_type() -> GType;
auto static get_base_type() -> GType;
- auto add(adw::PreferencesPage & page) -> void;
+ auto add(PreferencesPage & page) -> void;
protected:
explicit PreferencesDialog(Glib::ConstructParams const & params);
explicit PreferencesDialog(BaseObjectType * gobj);
};
-} // namespace turns::adw
+} // namespace Adwaita
namespace Glib
{
- auto wrap(AdwPreferencesDialog * object, bool copy = false) -> turns::adw::PreferencesDialog *;
+ auto wrap(AdwPreferencesDialog * object, bool copy = false) -> Adwaita::PreferencesDialog *;
} // namespace Glib
#endif \ No newline at end of file