Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Developer Tutorial and Article Site
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DocumentationDocumentation
  • Developer Tutorial and Article Site
  • Issues
  • #52
Closed
Open
Issue created May 21, 2021 by Chris Holland@chollandDeveloper

Check Plasma Scripting API Examples Are Valid

I think the first createActivity(...) example is incorrect. The API mentions the following:

  • https://develop.kde.org/docs/plasma/scripting/api/
  • https://invent.kde.org/plasma/plasma-workspace/blob/master/shell/scripting/scriptengine_v1.cpp#L223
  • JSValue ScriptEngine::V1::createActivity(const QJSValue &nameParam, const QString &pluginParam)

There's likely a few other undocumented changes since:

  • Plasma4 => Plasma5
  • Port Plasma Desktop Scripting to QJSEngine
    plasma/plasma-workspace@033ad5ca

Misc:

[`createActivity(name, plugin)`](https://invent.kde.org/plasma/plasma-workspace/blob/master/shell/scripting/scriptengine_v1.cpp#L223)
Assignee
Assign to
Time tracking