From 87769ed51d8087ddc4a02705f39fe4f21431b66f Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 8 Jul 2024 01:04:09 +0300 Subject: Added Email interface, minor refactoring Signed-off-by: Mavridis Philippe --- src/portal_service.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/portal_service.cpp') diff --git a/src/portal_service.cpp b/src/portal_service.cpp index 4e0eae3..280078d 100644 --- a/src/portal_service.cpp +++ b/src/portal_service.cpp @@ -31,6 +31,7 @@ // Portal #include "file_chooser_portal.h" +#include "email_portal.h" #include "portal_service.h" @@ -44,6 +45,7 @@ DesktopNodeService::DesktopNodeService(TQT_DBusConnection &connection) m_interfaces.insert("org.freedesktop.DBus.Introspectable", this); REGISTER_PORTAL(TDEFileChooserPortal) + REGISTER_PORTAL(TDEEmailPortal) registerObject(connection, dbusObjectPath); } @@ -51,6 +53,7 @@ DesktopNodeService::DesktopNodeService(TQT_DBusConnection &connection) DesktopNodeService::~DesktopNodeService() { DESTROY_PORTAL(TDEFileChooserPortal) + DESTROY_PORTAL(TDEEmailPortal) } TQT_DBusObjectBase* DesktopNodeService::createInterface(const TQString& iface) -- cgit v1.2.1