LeechCraft Monocle  0.6.70-16373-g319c272718
Modular document viewer for LeechCraft
ilink.h File Reference
#include <memory>
#include <QObject>
#include <QRectF>
#include <QMetaType>
#include <QUrl>
+ Include dependency graph for ilink.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::Monocle::NavigationAction
 A link action that represents navigating inside the document. More...
 
struct  LC::Monocle::ExternalNavigationAction
 A link action that represents navigating to a different document. More...
 
struct  LC::Monocle::UrlAction
 
struct  LC::Monocle::NoAction
 
class  LC::Monocle::ILink
 Base interface for links. More...
 

Namespaces

 LC::Monocle
 

Typedefs

using LC::Monocle::CustomAction = std::function< void()>
 
using LC::Monocle::LinkAction = std::variant< NoAction, NavigationAction, ExternalNavigationAction, UrlAction, CustomAction >
 
typedef std::shared_ptr< ILink > LC::Monocle::ILink_ptr
 

Enumerations

enum  LC::Monocle::LinkType { LC::Monocle::LinkType::PageLink, LC::Monocle::LinkType::URL, LC::Monocle::LinkType::Command, LC::Monocle::LinkType::OtherLink }
 Describes various link types known to Monocle. More...