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

KNewStuff

KNS::UploadDialog

KNS::UploadDialog Class Reference

KNewStuff file upload dialog. More...

#include <uploaddialog.h>

Inheritance diagram for KNS::UploadDialog:

Inheritance graph
[legend]

List of all members.


Public Member Functions

void setPayloadFile (const QString &payloadFile)
void setPreviewFile (const QString &previewFile)
 UploadDialog (Engine *engine, 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, instead a KNewStuff (or KNewStuffGeneric) object invokes it.

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

Definition at line 47 of file uploaddialog.h.


Constructor & Destructor Documentation

UploadDialog::UploadDialog ( Engine *  engine,
QWidget *  parent 
)

Constructor.

Parameters:
engine a KNewStuff engine object to be used for uploads
parent the parent window

Definition at line 46 of file uploaddialog.cpp.

UploadDialog::~UploadDialog (  ) 

Destructor.

Definition at line 113 of file uploaddialog.cpp.


Member Function Documentation

void UploadDialog::setPayloadFile ( const QString &  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 163 of file uploaddialog.cpp.

void UploadDialog::setPreviewFile ( const QString &  previewFile  ) 

Sets the preview filename.

This is only meaningful if the application supports previews.

Parameters:
previewFile the preview image file

Definition at line 158 of file uploaddialog.cpp.

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

Reimplemented from KDialogBase.

Definition at line 118 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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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