KNewStuff
KNS::UploadDialog Class Reference
#include <uploaddialog.h>
Inheritance diagram for KNS::UploadDialog:

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.
- Maintainer:
- Josef Spillner (spillner@kde.org)
Definition at line 51 of file uploaddialog.h.
Public Member Functions | |
Entry * | entry () const |
void | setPayloadFile (const KUrl &payloadFile) |
void | setPreviewFile (const KUrl &previewFile) |
UploadDialog (QWidget *parent) | |
~UploadDialog () | |
Protected Slots | |
void | slotOk () |
Constructor & Destructor Documentation
UploadDialog::UploadDialog | ( | QWidget * | parent | ) |
UploadDialog::~UploadDialog | ( | ) |
Member Function Documentation
Entry * UploadDialog::entry | ( | ) | const |
Definition at line 226 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 192 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 187 of file uploaddialog.cpp.
void UploadDialog::slotOk | ( | ) | [protected, slot] |
Definition at line 137 of file uploaddialog.cpp.
The documentation for this class was generated from the following files: