diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp
index fb93f12cef95da6df9c0fa683737f8bbc1ca756d..a4eb4202217d7c238d4da157e7f216130dd3ad75 100644
--- a/src/handlers/xdgurl.cpp
+++ b/src/handlers/xdgurl.cpp
@@ -205,6 +205,11 @@ bool XdgUrl::_install()
  * Public slots
  */
 
+QString XdgUrl::getXdgUrl()
+{
+    return _xdgUrl;
+}
+
 bool XdgUrl::isValid()
 {
     bool isValid = true;
diff --git a/src/handlers/xdgurl.h b/src/handlers/xdgurl.h
index c705843226afcfaa8e0686600b7372ba7ff01a75..619e2aec346579ca3b0469374365ed0a928f142c 100644
--- a/src/handlers/xdgurl.h
+++ b/src/handlers/xdgurl.h
@@ -43,6 +43,7 @@ private:
 private slots:
 
 public slots:
+    QString getXdgUrl();
     bool isValid();
     bool process();