MoleQueue 0.9.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DirectoryDownload Class Reference

#include <directorydownload.h>

Inheritance diagram for DirectoryDownload:
FileSystemOperation

Public Member Functions

 DirectoryDownload (Session *session, QObject *parentObject)
 
QString remotePath () const
 
void setRemotePath (const QString &path)
 
QString localPath () const
 
void setLocalPath (const QString &path)
 
QString url () const
 
void setUrl (const QString &u)
 
void start ()
 
- Public Member Functions inherited from FileSystemOperation
 FileSystemOperation (Session *session, QObject *parentObject=0)
 
qint64 hostId () const
 
void setHostId (qint64 id)
 
QString userName () const
 
void setUserName (const QString &user)
 
const Jobjob () const
 
void setJob (const Job &j)
 

Additional Inherited Members

- Signals inherited from FileSystemOperation
void finished ()
 
void error (const QString &errorString)
 
- Static Public Attributes inherited from FileSystemOperation
static const QString noSuchFileOrDir
 
- Protected Slots inherited from FileSystemOperation
virtual void requestError (const QString &errorString)
 
- Protected Attributes inherited from FileSystemOperation
Sessionm_session
 
qint64 m_hostID
 
QString m_userName
 
Job m_job
 

Detailed Description

File system operation to download a directory from a remote UIT system.

Constructor & Destructor Documentation

◆ DirectoryDownload()

DirectoryDownload ( Session * session,
QObject * parentObject )
Parameters
sessionThe UIT session.
parentObjectThe parent object.

Member Function Documentation

◆ remotePath()

QString remotePath ( ) const
Returns
The remote path being downloaded.

◆ setRemotePath()

void setRemotePath ( const QString & path)
Parameters
pathThe remote path to be downloaded.

◆ localPath()

QString localPath ( ) const
Returns
The local path to download the directory to.

◆ setLocalPath()

void setLocalPath ( const QString & path)
Parameters
pathThe local path to download the directory to.

◆ url()

QString url ( ) const
Returns
The download URL.

◆ setUrl()

void setUrl ( const QString & u)
Parameters
Thedownload URL to use.

◆ start()

void start ( )
virtual

Implemented by subclasses, start the operation.

Implements FileSystemOperation.


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