Pages
API Documentation
On this page

KNSWidgets::Action Class

QAction subclass that encapsulates the logic for showing the KNewStuff dialog. More...

  • Header: #include <Action>
  • CMake: find_package(KF6 REQUIRED COMPONENTS NewStuff)
    target_link_libraries(mytarget PRIVATE KF6::NewStuff)

List of all members, including inherited members

Public Functions

Signals

Detailed Description

If KNewStuff is disabled using KAuthorized, the action is hidden.

See also KAuthorized::GenericRestriction::GHNS

Member Function Documentation

[explicit] Action::Action(const QString &text, const QString &configFile, QObject *parent)

Constructs a KNSWidgets::Action instance.

text describing what is being downloaded. It should be a text beginning with "Download New ..." for consistency

configFile the name of the .knsrc file

parent the parent object

[signal] void Action::dialogFinished(const QList<KNSCore::Entry> &changedEntries)

Emitted when the dialog has been closed.

changedEntries contains the entries that were changed

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.