DownloadAction

Search for usage in LXR

DownloadAction Class Reference

Inherits org::kde::kirigami::Action.

Properties

bool completed
 
real progress
 
bool started
 

Detailed Description

An action for with bindings for managing the download of a piece of media.

The action provides properties to help track progress but is up to the action representation to respond to them. The onTriggered() signal should be used to perform the download action itself.

The most common use case for this is where a custom URI scheme is used that a QML media component can't handle on it's own.

Definition at line 16 of file DownloadAction.qml.

Property Documentation

◆ completed

bool DownloadAction::completed
read

Whether the download has completed.

Remarks
This property is read-only

Definition at line 31 of file DownloadAction.qml.

◆ progress

real DownloadAction::progress
read

The download progress between 0% and 100%.

Definition at line 21 of file DownloadAction.qml.

◆ started

bool DownloadAction::started
read

Whether the download has started.

Remarks
This property is read-only

Definition at line 26 of file DownloadAction.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Apr 27 2024 22:09:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.