MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
DirectoryUpload Class Reference

#include <directoryupload.h>

Inheritance diagram for DirectoryUpload:
FileSystemOperation

Public Member Functions

 DirectoryUpload (Session *session, QObject *parentObject=0)
 
QString localPath () const
 
void setLocalPath (const QString &path)
 
QString targetPath () const
 
void setRemotePath (const QString &path)
 
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 upload a directory to a remote UIT system.

Constructor & Destructor Documentation

DirectoryUpload ( Session session,
QObject *  parentObject = 0 
)
Parameters
sessionThe UIT session.
parentObjectThe parent object.

Member Function Documentation

QString localPath ( ) const
Returns
The local path to be uploaded.
void setLocalPath ( const QString &  path)
Parameters
pathThe local path to be uploaded.
QString targetPath ( ) const
Returns
The remote file path for the directory to be uploaded to.
void setRemotePath ( const QString &  path)
Parameters
pathThe target path on the remote system.
void start ( )
virtual

Implemented by subclasses, start the operation.

Implements FileSystemOperation.


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