| Home · All Namespaces · All Classes |
#include <launcheraction.h>


Public Member Functions | |
| LauncherAction () | |
| LauncherAction (const QString &dekstopEntry) | |
A convenience wrapper around libcontentaction's ContenAction::Action. The object is used to turn .desktop files into objects that take care of invoking of the default action (D-Bus method call, execution of a binary, etc) specified in these .desktop files.
Instantiated with a valid .desktop file path, the object provides a trigger() method that asynchronously trigers the default action for that .desktop file.
Definition at line 35 of file launcheraction.h.
| LauncherAction::LauncherAction | ( | ) |
Constructs an empty LauncherAction object.
Definition at line 22 of file launcheraction.cpp.
: Action() { }
| LauncherAction::LauncherAction | ( | const QString & | dekstopEntry | ) |
Constructs a LauncherAction object from a given .desktop file.
| dekstopEntry | Path to the .desktop file to initialize the action for. |
Definition at line 27 of file launcheraction.cpp.
: Action(Action::defaultActionForFile(desktopEntry, "application/x-desktop")) { }
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:20:42 Doxygen 1.7.1 |
MeeGo Touch |