KActivities::ResourceInstance Namespace
Library for interacting with Plasma Activities. More...
- Header:
#include <KActivities/ResourceInstance> - CMake:
find_package(Plasma REQUIRED COMPONENTS Activities)
target_link_libraries(mytarget PRIVATE Plasma::Activities)
Detailed Description
Function Documentation
void ResourceInstance::notifyAccessed(const QUrl &uri, const QString &application = QString())
This function is used to notify the system that a file, web page or some other resource has been accessed.
uri URI of the resource
application application's name (the name used for the .desktop file). If not specified, QCoreApplication::applicationName is used