mupdf-qt
0.1
Qt5 interface of the popular PDF library MuPDF
|
Launch a file (a document or a executable). More...
#include <mupdf-link.h>
Public Member Functions | |
LinkType | linkType () const |
QString | file () const |
A UTF-8 file specification to launch. More... | |
bool | newWindow () const |
If true, the destination should be launched in a new window. More... | |
bool | isURI () const |
If true, file() is a URI to launch. More... | |
Public Member Functions inherited from MuPDF::Link | |
virtual | ~Link () |
virtual QRectF | linkArea () const |
Rect area of the link. More... | |
Friends | |
class | OutlineItemPrivate |
Additional Inherited Members | |
Public Types inherited from MuPDF::Link | |
enum | LinkType { None = 0, Goto, URI, Launch, Named, GotoR } |
Protected Member Functions inherited from MuPDF::Link | |
Link (LinkPrivate *linkp) | |
Protected Attributes inherited from MuPDF::Link | |
LinkPrivate * | d |
Launch a file (a document or a executable).
Definition at line 75 of file mupdf-link.h.
QString MuPDF::LinkLaunch::file | ( | ) | const |
A UTF-8 file specification to launch.
Definition at line 84 of file mupdf-link.cpp.
bool MuPDF::LinkLaunch::isURI | ( | ) | const |
If true, file() is a URI to launch.
Definition at line 100 of file mupdf-link.cpp.
|
inlinevirtual |
Reimplemented from MuPDF::Link.
Definition at line 78 of file mupdf-link.h.
bool MuPDF::LinkLaunch::newWindow | ( | ) | const |
If true, the destination should be launched in a new window.
Definition at line 92 of file mupdf-link.cpp.
|
friend |
Definition at line 86 of file mupdf-link.h.