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

KNewStuff

Classes | Enumerations | Functions | Variables
KNS3 Namespace Reference

Classes

class  AtticaHelper
class  AtticaProvider
 KNewStuff Attica Provider class. More...
class  Author
 KNewStuff author information. More...
class  Button
 KHotNewStuff push button that makes using KHNS in an application more convenient by encapsulating most of the details involved in using KHotNewStuff in the button itself. More...
class  Cache
class  DownloadDialog
 KNewStuff download dialog. More...
class  DownloadManager
 KNewStuff update checker. More...
class  DownloadWidget
 KNewStuff download widget. More...
class  DownloadWidgetPrivate
class  Engine
 KNewStuff engine. More...
class  Entry
 KNewStuff information about changed entries. More...
class  EntryDetails
class  EntryInternal
 KNewStuff data entry container. More...
class  ImageLoader
 Convenience class for images with remote sources. More...
class  ImagePreviewWidget
class  Installation
 KNewStuff entry installation. More...
class  ItemsGridViewDelegate
class  ItemsModel
class  ItemsView
class  ItemsViewBaseDelegate
class  ItemsViewDelegate
class  ProgressIndicator
 Embedded progress indicator for the download dialog. More...
class  Provider
 KNewStuff Base Provider class. More...
class  Security
 Handles security related issues, like signing, verifying. More...
class  StaticXmlProvider
 KNewStuff Base Provider class. More...
class  UploadDialog
 KNewStuff file upload dialog. More...
class  XmlLoader
 KNewStuff xml loader. More...

Enumerations

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

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
Enumerator:
DelegateTitleLabel 
DelegateAuthorLabel 
DelegateDownloadCounterLabel 
DelegateGridRatingWidget 

Definition at line 41 of file itemsgridviewdelegate.cpp.

anonymous enum
Enumerator:
DelegateLabel 
DelegateInstallButton 
DelegateDetailsButton 
DelegateRatingWidget 

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


Function Documentation

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

Definition at line 80 of file xmlloader.cpp.

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

Definition at line 417 of file entryinternal.h.

QString KNS3::replaceBBCode ( const QString &  unformattedText)

function to remove bb code formatting that opendesktop sends

Definition at line 586 of file entryinternal.cpp.

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.

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

const int KNS3::FrameThickness = 5
static

Definition at line 30 of file itemsgridviewdelegate.h.

const int KNS3::ItemGridHeight = 202
static

Definition at line 27 of file itemsgridviewdelegate.h.

const int KNS3::ItemGridWidth = 158
static

Definition at line 28 of file itemsgridviewdelegate.h.

const int KNS3::ItemMargin = 2
static

Definition at line 31 of file itemsgridviewdelegate.h.

const int KNS3::PreviewHeight = 72
static

Definition at line 37 of file entryinternal.h.

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-2013 The KDE developers.
Generated on Tue Jul 23 2013 22:02:26 by doxygen 1.8.1.1 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.10.5 API Reference

Skip menu "kdelibs-4.10.5 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