MoleQueue 0.9.0
Loading...
Searching...
No Matches
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()

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

Member Function Documentation

◆ localPath()

QString localPath ( ) const
Returns
The local path to be uploaded.

◆ setLocalPath()

void setLocalPath ( const QString & path)
Parameters
pathThe local path to be uploaded.

◆ targetPath()

QString targetPath ( ) const
Returns
The remote file path for the directory to be uploaded to.

◆ setRemotePath()

void setRemotePath ( const QString & path)
Parameters
pathThe target path on the remote system.

◆ start()

void start ( )
virtual

Implemented by subclasses, start the operation.

Implements FileSystemOperation.


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