KNewStuff
|
QDomElement | addElement (QDomDocument &doc, QDomElement &parent, const QString &tag, const QString &value) |
|
uint | qHash (const KNS3::EntryInternal &entry) |
|
QString | replaceBBCode (const QString &unformattedText) |
|
KAction * | standardAction (const QString &what, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name=0) |
|
KAction * | standardActionUpload (const QString &what, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name=0) |
|
◆ anonymous enum
Enumerator |
---|
DelegateTitleLabel | |
DelegateAuthorLabel | |
DelegateDownloadCounterLabel | |
DelegateGridRatingWidget | |
Definition at line 41 of file itemsgridviewdelegate.cpp.
◆ anonymous enum
◆ addElement()
QDomElement KNS3::addElement |
( |
QDomDocument & |
doc, |
|
|
QDomElement & |
parent, |
|
|
const QString & |
tag, |
|
|
const QString & |
value |
|
) |
| |
◆ qHash()
◆ replaceBBCode()
QString KNS3::replaceBBCode |
( |
const QString & |
unformattedText | ) |
|
function to remove bb code formatting that opendesktop sends
Definition at line 586 of file entryinternal.cpp.
◆ standardAction()
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
Definition at line 27 of file knewstuff3/knewstuffaction.cpp.
◆ standardActionUpload()
KAction * KNS3::standardActionUpload |
( |
const QString & |
what, |
|
|
const QObject * |
receiver, |
|
|
const char * |
slot, |
|
|
KActionCollection * |
parent, |
|
|
const char * |
name = 0 |
|
) |
| |
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
Definition at line 40 of file knewstuff3/knewstuffaction.cpp.
◆ FrameThickness
const int KNS3::FrameThickness = 5 |
|
static |
◆ ItemGridHeight
const int KNS3::ItemGridHeight = 202 |
|
static |
◆ ItemGridWidth
const int KNS3::ItemGridWidth = 158 |
|
static |
◆ ItemMargin
const int KNS3::ItemMargin = 2 |
|
static |
◆ PreviewHeight
const int KNS3::PreviewHeight = 72 |
|
static |
◆ PreviewWidth
const int KNS3::PreviewWidth = 96 |
|
static |
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.