Purpose::PluginBase Class
Base class to implement by plugins. More...
Header: | #include <Purpose/PluginBase> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Purpose) target_link_libraries(mytarget PRIVATE KF6::Purpose) |
Inherits: | QObject |
Public Functions
virtual Purpose::Job * | createJob() const = 0 |
Detailed Description
Class for Qt native plugins to extend. Plugins will just be issuing jobs that will be configured then started.
See README.md on how to create plugins on technologies different to Qt.
Note: This file shouldn't be included by any application.
Member Function Documentation
[pure virtual]
Purpose::Job *PluginBase::createJob() const
Returns the job that will perform the plugin's action.