The QTPlgDataCopier class implements the interface in order to provide asynchronous copy of data.
The can be either an or an ; in the former case the copy is local, in the latter the data will be downloaded, if possible, from the remote address specified
The QTPlgDataCopier class supersedes the data transfer services provided by the class; you are strongly encouraged to use this class to provide your applications with data copy capabilities.
→
The QTPlgDataCopier class constructors are called when you create a new instance of the class, while the ˜QTPlgDataCopier class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. A QTPlgDataCopier object is valid if a valid and a valid have been assigned to it. Though, when instantiating this class by using the , the source and destination of data have not been yet assigned and the class property returns false, it is lecit to continue to use the class. Anyway, using the new class instance makes sense only if you have set some data source and destination to act upon.
The class implements the following initializer methods:
()
This is the default constructor
specifies the dimensions, in bytes, of the temporary buffer used during asynchronous data transfer. Changes to this property are not effective for the transfer
operation in progress (if any)
specifies the file where the data have to be copied. If the destination already exists, the file is deleted and created ex novo