Home · All Namespaces · All Classes

LauncherAction Class Reference

#include <launcheraction.h>

List of all members.

Public Member Functions

 LauncherAction ()
 LauncherAction (const QString &dekstopEntry)

Detailed Description

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.


Constructor & Destructor Documentation

LauncherAction::LauncherAction (  ) 

Constructs an empty LauncherAction object.

LauncherAction::LauncherAction ( const QString &  dekstopEntry  ) 

Constructs a LauncherAction object from a given .desktop file.

Parameters:
dekstopEntry Path to the .desktop file to initialize the action for.

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

Copyright © 2010 Nokia Corporation Generated on Sun Feb 6 23:02:53 2011
Doxygen 1.6.1
MeeGo Touch