korganizer Library API Documentation

KNS::UploadDialog Class Reference

KNewStuff file upload dialog. More...

#include <uploaddialog.h>

Collaboration diagram for KNS::UploadDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Slots

void slotOk ()
void nameChanged (const QString &)

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 43 of file uploaddialog.cpp.

UploadDialog::~UploadDialog  ) 
 

Destructor.

Definition at line 105 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 139 of file uploaddialog.cpp.

Referenced by KNS::Engine::requestMetaInformation().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Dec 21 14:26:10 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003