#include <launcherbutton.h>
List of all members.
Detailed Description
A button widget that represents a .desktop file. Triggers the default action associated with the .desktop file when clicked.
Constructor & Destructor Documentation
Creates a launcher button representing a .desktop file.
- Parameters:
-
| desktopEntryPath | path to the .desktop file to create a launcher button from |
| parent | the parent widget, defaults to NULL |
LauncherButton::~LauncherButton |
( |
|
) |
[virtual] |
Member Function Documentation
Returns current button state.
- Returns:
- the button state.
QString LauncherButton::desktopEntry |
( |
|
) |
const |
Returns the file name of the desktop entry where this launcher button was constructed from.
- Returns:
- the desktop entry file name.
int LauncherButton::operationProgress |
( |
|
) |
const |
Returns progress of button's ongoing operation
- Returns:
- operation progress
QString LauncherButton::packageName |
( |
|
) |
const |
Returns the package name of the application that button is representing
- Returns:
- name Package name
bool LauncherButton::packageRemovable |
( |
|
) |
const |
Return whether the package represented by button is removable
- Returns:
true
if package is removable, false
otherwise
void LauncherButton::retranslateUi |
( |
|
) |
[protected, virtual] |
void LauncherButton::setPackageName |
( |
const QString & |
packageName |
) |
|
Sets the package name of the application that button is representing
- Parameters:
-
void LauncherButton::setPackageRemovable |
( |
const bool |
removable |
) |
|
Sets whether the package represented by button is removable
- Parameters:
-
| removable | Is package removable |
Sets the state and progress of a button Progress property is changed only if parameter progress is valid (0..100)
- Parameters:
-
| state | State of a button |
| progress | Progress of operation |
void LauncherButton::updateFromDesktopEntry |
( |
const QString & |
desktopEntryPath |
) |
|
Updates button from given desktop entry.
- Parameters:
-
| desktopEntryPath | Path to the desktop entry to update the button from. |
Property Documentation
QString LauncherButton::desktopEntryPath [read] |
int LauncherButton::operationProgress [read] |
The documentation for this class was generated from the following files:
- /home/bifh4/cs2009q3-i386/work/meegotouchhome-1.0.4/src/libmeegotouchhome/launcherbutton.h
- /home/bifh4/cs2009q3-i386/work/meegotouchhome-1.0.4/src/libmeegotouchhome/launcherbutton.cpp