• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

  • KNS
  • UploadDialog
Public Member Functions | Protected Slots | List of all members
KNS::UploadDialog Class Reference

#include <uploaddialog.h>

Inheritance diagram for KNS::UploadDialog:
Inheritance graph
[legend]

Public Member Functions

 UploadDialog (QWidget *parent)
 
 ~UploadDialog ()
 
Entry * entry () const
 
void setPayloadFile (const KUrl &payloadFile)
 
void setPreviewFile (const KUrl &previewFile)
 

Protected Slots

void slotOk ()
 

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.

Author
Cornelius Schumacher (schum.nosp@m.ache.nosp@m.r@kde.nosp@m..org)
Maintainer:
Jeremy Whiting (jpwhi.nosp@m.ting.nosp@m.@kde..nosp@m.org)

Definition at line 52 of file knewstuff2/ui/uploaddialog.h.

Constructor & Destructor Documentation

UploadDialog::UploadDialog ( QWidget *  parent)

Constructor.

Parameters
parentthe parent window

Definition at line 48 of file knewstuff2/ui/uploaddialog.cpp.

UploadDialog::~UploadDialog ( )

Destructor.

Definition at line 82 of file knewstuff2/ui/uploaddialog.cpp.

Member Function Documentation

Entry * UploadDialog::entry ( ) const

Definition at line 177 of file knewstuff2/ui/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
payloadFilethe payload data file

Definition at line 143 of file knewstuff2/ui/uploaddialog.cpp.

void UploadDialog::setPreviewFile ( const KUrl &  previewFile)

Sets the preview filename.

This is only meaningful if the application supports previews.

Parameters
previewFilethe preview image file

Definition at line 138 of file knewstuff2/ui/uploaddialog.cpp.

void UploadDialog::slotOk ( )
protectedslot

Definition at line 88 of file knewstuff2/ui/uploaddialog.cpp.


The documentation for this class was generated from the following files:
  • knewstuff2/ui/uploaddialog.h
  • knewstuff2/ui/uploaddialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal