Qtopia Home - Classes - Hierachy - Annotated - Functions - Qt Embedded |
|
The TransferReceipt class tracks FileSystemOperator ftp operations and results. More...
#include <common/filesystemoperator.h>
The TransferReceipt is useful to inform the caller when an FileSystemOperator ftp operation is finshed. The caller can connect to the TransferReceipt signals to find out when a certain operation is completed. It also gives the caller information about what the transfer operation was by calling the operationType() method. The associated file and a possible additional argument can also be gotten. The receipt also defines the success or error of the transfer.
The FileSystemOperator is the only class that can create TransferReceipts.
See also Qtopia Desktop Classes.
This enum type defines the possible types of network operations that can have receipts.
The type can be:
Returns the argument string of the transfer operation.
Returns the error type if an error has occoured.
See also QNetworkProtocol.
Returns the type of the file beiong transfered. enum FileType { Setting=0, AppData, Documents, Other };
Returns the name of the file (no path) being transfered. It's the local file for send and the remote file for receive operations.
This signal is emittied when the ftp operation is finished. The thisPtr pointer is a pointer to the TransferRecept object.
This signal is emitted when part of a listing operation is done. The thisPtr pointer is a pointer to the TransferRecept object. The listing QValueList of QUrlInfo objects contains the directory listing.
Returns the base name (no file extension) of the file being transfered. It's the local file for send and the remote file for receive operations.
This signal is emitted when the ftp operation has actually been started. The thisPtr pointer is a pointer to the TransferRecept object.
Returns the type of transfer operation associated with this TransferReceipt. enum OperationType { Retrieve=0, Send, List, Remove, RSync };
This signal is emitted when a QCop message from the Qtopia device arrives. call is the method called, data a QByteArray of argument data.
This signal is emitted when transfer progress was made. bytesDone is the number of bytes done, bytesTotal is the total number of bytes to be transfered. op is a pointer to the QNetworkOperation in charge of the transfer. The thisPtr pointer is a pointer to the TransferRecept object.
This file is part of the Qtopia platform, copyright © 1995-2005 Trolltech, all rights reserved.
| Copyright © 2005 Trolltech | Trademarks | Qtopia version 2.1.2
|