Page

Search for usage in LXR

Inherits kcm.

Properties

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

Signals

void busyMessage (string message)
 
void errorMessage (string message)
 
void idleMessage (string message)
 
void message (string message)
 

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.

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 61 of file Page.qml.

Member Function Documentation

◆ busyMessage

void Page::busyMessage ( string  message)
signal

A message posted when the engine is busy doing something long duration (usually this will be when fetching installation data)

Parameters
messageThe message to be shown to the user

◆ errorMessage

void Page::errorMessage ( string  message)
signal

A message posted when something has gone wrong.

Parameters
messageThe message to be shown to the user

◆ idleMessage

void Page::idleMessage ( string  message)
signal

A message posted usually describing that whatever action a recent busy message said was happening has been completed.

Parameters
messageThe message to be shown to the user

◆ message

void Page::message ( string  message)
signal

Any generic message from the NewStuff.Engine.

Parameters
messageThe message to be shown to the user

◆ 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-2022 The KDE developers.
Generated on Thu Oct 6 2022 03:56:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.