Development/Tutorials/Plasma4/ContainmentAction: Difference between revisions

From KDE TechBase
(debugging)
 
No edit summary
Line 1: Line 1:
You can use Plasma ContainmentAction e.g. for Context Menus on your Plasma Desktop. They will run as plugins meaning you can add and remove them after compilation. If they exist, their name will be stored in [[Development/Tutorials/Desktop_File|.desktop files]].
= Debugging =
= Debugging =
To debug your Plasma ContainmentAction call
To debug your Plasma ContainmentAction call
  kdebugdialog --fullmode
  kdebugdialog --fullmode
search for "plasma" and direct kDebug's output to /tmp/whatever.txt
search for "plasma" and direct kDebug's output to /tmp/whatever.txt

Revision as of 22:46, 28 February 2013

You can use Plasma ContainmentAction e.g. for Context Menus on your Plasma Desktop. They will run as plugins meaning you can add and remove them after compilation. If they exist, their name will be stored in .desktop files.

Debugging

To debug your Plasma ContainmentAction call

kdebugdialog --fullmode

search for "plasma" and direct kDebug's output to /tmp/whatever.txt