• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KNewStuff

KNS::UploadDialog

KNS::UploadDialog Class Reference

KNewStuff file upload dialog. More...

#include <uploaddialog.h>

Inheritance diagram for KNS::UploadDialog:
KDialog QDialog

List of all members.

Public Member Functions

Entry * entry () const
void setPayloadFile (const KUrl &payloadFile)
void setPreviewFile (const KUrl &previewFile)
 UploadDialog (QWidget *parent)
 ~UploadDialog ()

Protected Slots

void slotOk ()

Detailed Description

KNewStuff file upload dialog.

Using this dialog, data can easily be uploaded to the Hotstuff servers. It should however not be used on its own, as an engine will invoke it for the upload workflow.

Author:
Cornelius Schumacher (schumacher@kde.org)
Maintainer:
Josef Spillner (spillner@kde.org)

For internal use only.

Definition at line 49 of file uploaddialog.h.


Constructor & Destructor Documentation

UploadDialog::UploadDialog ( QWidget *  parent  ) 

Constructor.

Parameters:
parent the parent window

Definition at line 45 of file uploaddialog.cpp.

UploadDialog::~UploadDialog (  ) 

Destructor.

Definition at line 128 of file uploaddialog.cpp.


Member Function Documentation

Entry * UploadDialog::entry (  )  const

Definition at line 223 of file uploaddialog.cpp.

void UploadDialog::setPayloadFile ( const KUrl &  payloadFile  ) 

Sets the payload filename.

This is optional, but necessary if the application wants to support reusing previously filled out form data based on the filename.

Parameters:
payloadFile the payload data file

Definition at line 189 of file uploaddialog.cpp.

void UploadDialog::setPreviewFile ( const KUrl &  previewFile  ) 

Sets the preview filename.

This is only meaningful if the application supports previews.

Parameters:
previewFile the preview image file

Definition at line 184 of file uploaddialog.cpp.

void UploadDialog::slotOk (  )  [protected, slot]

Definition at line 134 of file uploaddialog.cpp.


The documentation for this class was generated from the following files:
  • uploaddialog.h
  • uploaddialog.cpp

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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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