plasma-show-stdout
A KDE Plasma 6 widget that displays stdout of shell scripts to the panel
Loading...
Searching...
No Matches
ShowStdoutPlugin Class Referencefinal

QML extension plugin registering the ScriptOutput type. More...

#include <plasma-show-stdout.hpp>

Inheritance diagram for ShowStdoutPlugin:
[legend]
Collaboration diagram for ShowStdoutPlugin:
[legend]

Public Member Functions

void registerTypes (const char *uri) override
 Register the plugin's QML types.

Detailed Description

QML extension plugin registering the ScriptOutput type.

QQmlExtensionPlugin that exposes PSSspace::ScriptOutput to QML as the ScriptOutput type under URI com.github.tonymugen.plasmashowstdout (version 1.0), so the Plasma package's QML can import and instantiate it.

Member Function Documentation

◆ registerTypes()

void ShowStdoutPlugin::registerTypes ( const char * uri)
override

Register the plugin's QML types.

Invoked by the QML engine when the module is imported; registers ScriptOutput under the given module URI.

Parameters
[in]urithe module URI being registered

The documentation for this class was generated from the following file: