4 #ifndef pqDesktopServicesReaction_h 5 #define pqDesktopServicesReaction_h 37 static bool openUrl(
const QUrl& url);
static bool openUrl(const QUrl &url)
Attempt to open a file (local or on the Web) using QDesktopServices.
void onTriggered() override
Called when the action is triggered.
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
pqDesktopServicesReaction can be used to open a file (or URL) using QDesktopServices.