diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-11 22:43:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-11 22:43:23 +0300 |
commit | 121273a1f81b6476f12b32feb5c22e005623b211 (patch) | |
tree | c25cfc04b6b1bc7774fadac8d9748aa54b906e45 /src/gui/widgets/itemlinkhandler.h | |
parent | 3887b0f4b9ddf987bcb2880ca47d6da0aeab3c54 (diff) | |
download | mv-121273a1f81b6476f12b32feb5c22e005623b211.tar.gz mv-121273a1f81b6476f12b32feb5c22e005623b211.tar.bz2 mv-121273a1f81b6476f12b32feb5c22e005623b211.tar.xz mv-121273a1f81b6476f12b32feb5c22e005623b211.zip |
Add support for add action commands inside links.
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.h')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/widgets/itemlinkhandler.h b/src/gui/widgets/itemlinkhandler.h index 1729f3cf9..25d6dbe41 100644 --- a/src/gui/widgets/itemlinkhandler.h +++ b/src/gui/widgets/itemlinkhandler.h @@ -38,6 +38,18 @@ class ItemLinkHandler final : public LinkHandler void handleLink(const std::string &link, MouseEvent *event) override final; + + private: + static void handleCommandLink(const std::string &link); + + static void handleHelpLink(const std::string &link); + + static void handleHttpLink(const std::string &link, + const MouseEvent *const event); + + static void handleItemLink(const std::string &link); + + static void handleSearchLink(const std::string &link); }; #endif // GUI_WIDGETS_ITEMLINKHANDLER_H |