• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

Classes | Enumerations | Functions | Variables
KNS3 Namespace Reference

Classes

class  AtticaHelper
class  AtticaProvider
class  Author
class  Button
class  Cache
class  DownloadDialog
class  DownloadManager
class  DownloadWidget
class  DownloadWidgetPrivate
class  Engine
class  Entry
class  EntryDetails
class  EntryInternal
class  ImageLoader
class  ImagePreviewWidget
class  Installation
class  ItemsGridViewDelegate
class  ItemsModel
class  ItemsView
class  ItemsViewBaseDelegate
class  ItemsViewDelegate
class  ProgressIndicator
class  Provider
class  Security
class  StaticXmlProvider
class  UploadDialog
class  XmlLoader

Enumerations

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

Functions

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)

Variables

static const int FrameThickness = 5
static const int ItemGridHeight = 202
static const int ItemGridWidth = 158
static const int ItemMargin = 2
static const int PreviewHeight = 72
static const int PreviewWidth = 96

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DelegateLabel 
DelegateInstallButton 
DelegateDetailsButton 
DelegateRatingWidget 

Definition at line 40 of file knewstuff3/ui/itemsviewdelegate.cpp.

◆ anonymous enum

anonymous enum
Enumerator
DelegateTitleLabel 
DelegateAuthorLabel 
DelegateDownloadCounterLabel 
DelegateGridRatingWidget 

Definition at line 41 of file itemsgridviewdelegate.cpp.

Function Documentation

◆ addElement()

QDomElement KNS3::addElement ( QDomDocument & doc,
QDomElement & parent,
const QString & tag,
const QString & value )

Definition at line 80 of file xmlloader.cpp.

◆ qHash()

uint KNS3::qHash ( const KNS3::EntryInternal & entry)
inline

Definition at line 417 of file entryinternal.h.

◆ 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()

KAction * KNS3::standardAction ( const QString & what,
const QObject * receiver,
const char * slot,
KActionCollection * parent,
const char * name = 0 )

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

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
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

Definition at line 40 of file knewstuff3/knewstuffaction.cpp.

Variable Documentation

◆ FrameThickness

const int KNS3::FrameThickness = 5
static

Definition at line 30 of file itemsgridviewdelegate.h.

◆ ItemGridHeight

const int KNS3::ItemGridHeight = 202
static

Definition at line 27 of file itemsgridviewdelegate.h.

◆ ItemGridWidth

const int KNS3::ItemGridWidth = 158
static

Definition at line 28 of file itemsgridviewdelegate.h.

◆ ItemMargin

const int KNS3::ItemMargin = 2
static

Definition at line 31 of file itemsgridviewdelegate.h.

◆ PreviewHeight

const int KNS3::PreviewHeight = 72
static

Definition at line 37 of file entryinternal.h.

◆ PreviewWidth

const int KNS3::PreviewWidth = 96
static

Definition at line 36 of file entryinternal.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal