From cf2169a9865becd96a0158e840ceaf9a3e6edeaa Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Wed, 5 Oct 2016 00:30:31 +0900 Subject: [PATCH] Get XDG-URL string --- src/handlers/xdgurl.cpp | 5 +++++ src/handlers/xdgurl.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp index fb93f12..a4eb420 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 c705843..619e2ae 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(); -- GitLab