swift
Public Member Functions | Protected Member Functions | List of all members
swift::gui::components::CDownloadDialog Class Reference

CDownloadComponent as dialog. More...

Inheritance diagram for swift::gui::components::CDownloadDialog:
[legend]

Public Member Functions

 CDownloadDialog (QWidget *parent=nullptr)
 Constructor.
 
virtual ~CDownloadDialog ()
 Destructor.
 
void setDownloadFile (const swift::misc::network::CRemoteFile &remoteFile)
 Set file to be downloaded. More...
 
void setDownloadFiles (const swift::misc::network::CRemoteFileList &remoteFiles)
 Set files to be downloaded. More...
 
void triggerDownloadingOfFiles (int delayMs)
 Trigger downloading of the file. More...
 
void setMode (CDownloadComponent::Mode mode)
 Set the mode. More...
 
void showAndStartDownloading ()
 Show and start the downloading.
 

Protected Member Functions

virtual void accept ()
 

Detailed Description

CDownloadComponent as dialog.

Definition at line 29 of file downloaddialog.h.

Member Function Documentation

◆ accept()

void swift::gui::components::CDownloadDialog::accept ( )
protectedvirtual

Definition at line 50 of file downloaddialog.cpp.

◆ setDownloadFile()

void swift::gui::components::CDownloadDialog::setDownloadFile ( const swift::misc::network::CRemoteFile remoteFile)

Set file to be downloaded.

Definition at line 22 of file downloaddialog.cpp.

◆ setDownloadFiles()

void swift::gui::components::CDownloadDialog::setDownloadFiles ( const swift::misc::network::CRemoteFileList remoteFiles)

Set files to be downloaded.

Definition at line 28 of file downloaddialog.cpp.

◆ setMode()

void swift::gui::components::CDownloadDialog::setMode ( CDownloadComponent::Mode  mode)

Set the mode.

Definition at line 38 of file downloaddialog.cpp.

◆ triggerDownloadingOfFiles()

void swift::gui::components::CDownloadDialog::triggerDownloadingOfFiles ( int  delayMs)

Trigger downloading of the file.

Definition at line 33 of file downloaddialog.cpp.


The documentation for this class was generated from the following files: