KNS3

KNS3 Namespace Reference

Classes

class  Button
 
class  DownloadDialog
 
class  DownloadManager
 
class  DownloadWidget
 
class  Entry
 
class  QtQuickDialogWrapper
 
class  UploadDialog
 

Enumerations

enum  { DelegateTitleLabel, DelegateAuthorLabel, DelegateDownloadCounterLabel, DelegateGridRatingWidget }
 
enum  { DelegateLabel, DelegateInstallButton, DelegateDetailsButton, DelegateRatingWidget }
 

Functions

KNEWSTUFF_EXPORT QActionstandardAction (const QString &what, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name=nullptr)
 
KNEWSTUFF_EXPORT QActionstandardActionUpload (const QString &what, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name=nullptr)
 

Detailed Description

The namespace for the KNewStuff classes.

Function Documentation

◆ standardAction()

QAction * KNS3::standardAction ( const QString what,
const QObject receiver,
const char *  slot,
KActionCollection parent,
const char *  name = nullptr 
)

Standard action for the Hot New Stuff Download.

This action can be used to add KNewStuff support to menus and toolbars.

Parameters
whattext describing what is being downloaded. For consistency, set it to "Get New Foobar...". Examples: "Get New Wallpapers...", "Get New Emoticons..."
receiverthe QObject to connect the triggered(bool) signal to.
slotthe slot to connect the triggered(bool) signal to.
parentthe action's parent collection.
nameThe name by which the action will be retrieved again from the collection.
Since
4.4
Deprecated:
Since 5.78, create the QAction instance manually.

Definition at line 17 of file knewstuffaction.cpp.

◆ standardActionUpload()

QAction * KNS3::standardActionUpload ( const QString what,
const QObject receiver,
const char *  slot,
KActionCollection parent,
const char *  name = nullptr 
)

Standard action for Uploading files with Hot New Stuff.

This action can be used to add KNewStuff support to menus and toolbars.

Parameters
whattext describing what is being downloaded. For consistency, set it to "Upload Current Foobar...". Examples: "Upload Current Wallpaper...", "Upload Current Document..."
receiverthe QObject to connect the triggered(bool) signal to.
slotthe slot to connect the triggered(bool) signal to.
parentthe action's parent collection.
nameThe name by which the action will be retrieved again from the collection.
Since
4.5
Deprecated:
Since 5.78, create the QAction instance manually.

Definition at line 29 of file knewstuffaction.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 10 2023 03:56:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.