MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
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 ( Session session,
QObject *  parentObject 
)
Parameters
sessionThe UIT session.
parentObjectThe parent object.

Member Function Documentation

QString remotePath ( ) const
Returns
The remote path being downloaded.
void setRemotePath ( const QString &  path)
Parameters
pathThe remote path to be downloaded.
QString localPath ( ) const
Returns
The local path to download the directory to.
void setLocalPath ( const QString &  path)
Parameters
pathThe local path to download the directory to.
QString url ( ) const
Returns
The download URL.
void setUrl ( const QString &  u)
Parameters
Thedownload URL to use.
void start ( )
virtual

Implemented by subclasses, start the operation.

Implements FileSystemOperation.


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