UploadPage

Search for usage in LXR

UploadPage Class Reference

Inherits org::kde::kirigami::ScrollablePage.

Properties

QtObject engine
 

Detailed Description

A Kirigami.Page component used for showing how to upload KNS entries to a service.

This page shows a short guide for uploading new content to the service provided by a KNewStuff provider. This attempts to use the information available through the provider itself, and shows a link to the service's web page, and email in case it is not the KDE Store.

While there are not currently any services which support direct OCS API based uploading of new content, we still need a way to guide people to how to do this, hence this component's simplistic nature.

This component is functionally equivalent to the old UploadDialog

See also
KNewStuff::UploadDialog
Since
5.85

Definition at line 28 of file UploadPage.qml.

Property Documentation

◆ engine

QtObject UploadPage::engine
read

The NewStuffQuick Engine instance used to display content for this item.

You can either pass in one that has already been set up (such as from a NewStuff.Page or NewStuff.Dialog), or you can construct a new one yourself, simply by doing something like this (which will use the wallpapers configuration):

NewStuff.UploadPage {
engine: NewStuff.Engine {
configFile: "wallpapers.knsrc"
}
}
QtObject engine
The NewStuffQuick Engine instance used to display content for this item.

Definition at line 43 of file UploadPage.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 Tue Mar 26 2024 11:21:35 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.