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

knewstuff

KNS::UploadDialog

KNS::UploadDialog Class Reference

#include <uploaddialog.h>

Inherits KDialogBase.

List of all members.


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.


Public Member Functions

 UploadDialog (Engine *engine, QWidget *parent)
 ~UploadDialog ()
void setPreviewFile (const QString &previewFile)
void setPayloadFile (const QString &payloadFile)

Protected Slots

void slotOk ()

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


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
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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