org::kde::newstuff::UploadPage

Search for usage in LXR

org::kde::newstuff::UploadPage Class Reference

Inherits ScrollablePage.

Properties

QtObject engine
 

Detailed Description

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

Since
1.85This 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 29 of file UploadPage.qml.

Property Documentation

QtObject org::kde::newstuff::UploadPage::engine

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"
}
}

Definition at line 44 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-2021 The KDE developers.
Generated on Mon Oct 18 2021 22:43:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.