KNS3
KNS3 Namespace Reference
Classes | |
class | Button |
class | DownloadDialog |
class | DownloadManager |
class | DownloadWidget |
class | Entry |
class | QtQuickDialogWrapper |
class | UploadDialog |
Functions | |
KNEWSTUFF_EXPORT QAction * | standardAction (const QString &what, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name=nullptr) |
KNEWSTUFF_EXPORT QAction * | standardActionUpload (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
-
what text describing what is being downloaded. For consistency, set it to "Get New Foobar...". Examples: "Get New Wallpapers...", "Get New Emoticons..." receiver the QObject to connect the triggered(bool) signal to. slot the slot to connect the triggered(bool) signal to. parent the action's parent collection. name The 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
-
what text describing what is being downloaded. For consistency, set it to "Upload Current Foobar...". Examples: "Upload Current Wallpaper...", "Upload Current Document..." receiver the QObject to connect the triggered(bool) signal to. slot the slot to connect the triggered(bool) signal to. parent the action's parent collection. name The 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
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.