Page

Search for usage in LXR

Inheritance diagram for Page:

Public Types

enum class  ViewMode { Tiles , Icons , Preview }
 

Properties

alias configFile
 
alias engine
 
alias showUploadAction
 
string uninstallLabel
 
string useLabel
 
int viewMode
 

Public Member Functions

void showEntryDetails (providerId, entryId)
 

Detailed Description

A Kirigami.Page component used for managing KNS entries.

This component is functionally equivalent to the old DownloadDialog

See also
KNewStuff::DownloadDialog
Since
5.63

Definition at line 20 of file Page.qml.

Member Enumeration Documentation

◆ ViewMode

enum class Page::ViewMode
strong

Definition at line 61 of file Page.qml.

Property Documentation

◆ configFile

alias Page::configFile
read

The configuration file which describes the application (knsrc)

The format and location of this file is found in the documentation for KNS3::DownloadDialog

Definition at line 28 of file Page.qml.

◆ engine

alias Page::engine
read
Remarks
This property is read-only

Definition at line 31 of file Page.qml.

◆ showUploadAction

alias Page::showUploadAction
read

Whether or not to show the Upload... context action Usually this will be bound to the engine's property which usually defines this, but you can override it programmatically by setting it here.

Since
5.85
See also
KNSCore::Engine::uploadEnabled

Definition at line 39 of file Page.qml.

◆ uninstallLabel

string Page::uninstallLabel
read

Definition at line 55 of file Page.qml.

◆ useLabel

string Page::useLabel
read

Definition at line 57 of file Page.qml.

◆ viewMode

int Page::viewMode
read

Definition at line 59 of file Page.qml.

Member Function Documentation

◆ showEntryDetails()

void Page::showEntryDetails ( providerId ,
entryId  )

Show the details page for a specific entry.

If you call this function before the engine initialisation has been completed, the action itself will be postponed until that has happened.

Parameters
providerIdThe provider ID for the entry you wish to show details for
entryIdThe unique ID for the entry you wish to show details for
Since
5.79

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 Fri Oct 11 2024 12:12:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.