• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

NewTransferDialog Class Reference

#include <newtransferdialog.h>

Inheritance diagram for NewTransferDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

Dialog to allow add one or more transfers to kget.

If only one transfer is added then the dialog shows a KUrlRequester. If a list of transfers are added then the dialog shows a KListWidget (multiple = true) with the transfers as checkable items. Also display a KUrlComboRequester for the destination file (or folder if multiple = true) And a QComboBox with the groups of transfer in case there are more than one

This class is a singleton, only one instance is allowed. If a source is added and the dialog is already showed, the dialog becomes multiple and shows the KListWidget adding the new transfer to the list of previous ones.

Definition at line 34 of file newtransferdialog.h.


Public Slots

void setDefaultDestination ()

Public Member Functions

 NewTransferDialog (QWidget *parent=0)
void showDialog (const KUrl::List &list)
void showDialog (const QString &srcUrl=QString())
 ~NewTransferDialog ()

Static Public Member Functions

static NewTransferDialog * instance (QWidget *parent=0)

Constructor & Destructor Documentation

NewTransferDialog::NewTransferDialog ( QWidget *  parent = 0  ) 

Definition at line 213 of file newtransferdialog.cpp.

NewTransferDialog::~NewTransferDialog (  ) 

Definition at line 244 of file newtransferdialog.cpp.


Member Function Documentation

NewTransferDialog * NewTransferDialog::instance ( QWidget *  parent = 0  )  [static]

Returns the current instance of the 'new transfer' dialog.

Definition at line 250 of file newtransferdialog.cpp.

void NewTransferDialog::setDefaultDestination (  )  [slot]

Called when the transfer group or the urlREquester changed, the dialog sets the default destination for transfers in the new group.

Definition at line 286 of file newtransferdialog.cpp.

void NewTransferDialog::showDialog ( const KUrl::List &  list  ) 

Shows the dialog adding one url list transfers.

Definition at line 265 of file newtransferdialog.cpp.

void NewTransferDialog::showDialog ( const QString &  srcUrl = QString()  ) 

Shows the dialog adding one transfer url.

If the dialog is already displayed, then add the url to the others or other transfer, and displayed the sources as a listWidget (multiple = true)

Definition at line 257 of file newtransferdialog.cpp.


The documentation for this class was generated from the following files:
  • newtransferdialog.h
  • newtransferdialog.cpp

kget

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

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal