KNS::UploadDialog Class Reference
#include <uploaddialog.h>
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
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 | ( | ) |
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 156 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 151 of file uploaddialog.cpp.
The documentation for this class was generated from the following files: