Okular::BrowseAction
Okular::BrowseAction Class Reference
#include <action.h>
Inheritance diagram for Okular::BrowseAction:

Public Member Functions | |
BrowseAction (const QUrl &url) | |
~BrowseAction () override | |
QString | actionTip () const override |
ActionType | actionType () const override |
QUrl | url () const |
![]() | |
virtual | ~Action () |
QVariant | nativeId () const |
QVector< Action * > | nextActions () const |
void | setNativeId (const QVariant &id) |
void | setNextActions (const QVector< Action * > &actions) |
Additional Inherited Members | |
![]() | |
enum | ActionType { Goto, Execute, Browse, DocAction, Sound, Movie, Script, Rendition, BackendOpaque } |
Detailed Description
The Browse action browses an url by opening a web browser or email client, depending on the url protocol (e.g.
http, mailto, etc.).
Constructor & Destructor Documentation
◆ BrowseAction()
|
explicit |
Creates a new browse action.
- Parameters
-
url The url to browse.
Definition at line 214 of file action.cpp.
◆ ~BrowseAction()
|
override |
Destroys the browse action.
Definition at line 219 of file action.cpp.
Member Function Documentation
◆ actionTip()
|
overridevirtual |
Returns the action tip.
Reimplemented from Okular::Action.
Definition at line 228 of file action.cpp.
◆ actionType()
|
overridevirtual |
◆ url()
QUrl BrowseAction::url | ( | ) | const |
Returns the url to browse.
Definition at line 239 of file action.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jun 6 2023 04:07:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jun 6 2023 04:07:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.