• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • 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.

KNewStuff

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal