#include <uploaddialog.h>
Inherits KDialogBase.
Public Member Functions | |
UploadDialog (Engine *engine, TQWidget *parent) | |
~UploadDialog () | |
void | setPreviewFile (const TQString &previewFile) |
void | setPayloadFile (const TQString &payloadFile) |
Protected Slots | |
void | slotOk () |
Detailed Description
TDENewStuff 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 TDENewStuff (or TDENewStuffGeneric) object invokes it.
- Maintainer:
- Josef Spillner (spill) ner@ kde.o rg
Definition at line 47 of file uploaddialog.h.
Constructor & Destructor Documentation
◆ UploadDialog()
UploadDialog::UploadDialog | ( | Engine * | engine, |
TQWidget * | parent | ||
) |
Constructor.
- Parameters
-
engine a TDENewStuff engine object to be used for uploads parent the parent window
Definition at line 46 of file uploaddialog.cpp.
◆ ~UploadDialog()
UploadDialog::~UploadDialog | ( | ) |
Destructor.
Definition at line 113 of file uploaddialog.cpp.
Member Function Documentation
◆ setPayloadFile()
void UploadDialog::setPayloadFile | ( | const TQString & | 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.
◆ setPreviewFile()
void UploadDialog::setPreviewFile | ( | const TQString & | 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.
The documentation for this class was generated from the following files: