kopete/libkopete
#include <kopetetransfermanager.h>
Inherits Job.
Public Slots | |
bool | showMessage (QString text) const |
void | slotCancelled () |
void | slotComplete () |
void | slotError (int error, const QString &errorText) |
void | slotNextFile (const QString &sourceFile, const QString &destinationFile) |
void | slotProcessed (unsigned int) |
Signals | |
void | transferCanceled () |
Public Member Functions | |
Transfer (const FileTransferInfo &, const QString &localFile, bool showProgressInfo=true) | |
Transfer (const FileTransferInfo &, bool showProgressInfo=true) | |
~Transfer () | |
KUrl | destinationURL () |
const FileTransferInfo & | info () const |
KUrl | sourceURL () |
Protected Member Functions | |
void | emitCopying (const KUrl &src, const KUrl &dest) |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
A KIO job for a kopete file transfer.
Definition at line 183 of file kopetetransfermanager.h.
Constructor & Destructor Documentation
Kopete::Transfer::Transfer | ( | const FileTransferInfo & | kfti, |
const QString & | localFile, | ||
bool | showProgressInfo = true |
||
) |
Constructor.
Definition at line 90 of file kopetetransfermanager.cpp.
|
explicit |
Constructor.
Definition at line 103 of file kopetetransfermanager.cpp.
Kopete::Transfer::~Transfer | ( | ) |
Destructor.
Definition at line 130 of file kopetetransfermanager.cpp.
Member Function Documentation
KUrl Kopete::Transfer::destinationURL | ( | ) |
Retrieve a URL indicating where the file is being copied to.
See sourceURL
Definition at line 200 of file kopetetransfermanager.cpp.
|
protected |
Definition at line 205 of file kopetetransfermanager.cpp.
const Kopete::FileTransferInfo & Kopete::Transfer::info | ( | ) | const |
Get the info for this file transfer.
Definition at line 137 of file kopetetransfermanager.cpp.
|
slot |
something interesting happened; not an error / void slotInfo( int type, const QString &text );
display a message in the chatwindow if it exists
Definition at line 295 of file kopetetransfermanager.cpp.
|
slot |
transfer was cancelled (but not by our user)
Definition at line 283 of file kopetetransfermanager.cpp.
|
slot |
Indicate that the transfer is complete.
Definition at line 249 of file kopetetransfermanager.cpp.
|
slot |
Inform the job that an error has occurred while transferring the file.
- Parameters
-
error A member of the KIO::Error enumeration indicating what error occurred. errorText A string to aid understanding of the error, often the offending URL.
Definition at line 257 of file kopetetransfermanager.cpp.
|
slot |
Set the source and destination file names of currently processed file.
Definition at line 162 of file kopetetransfermanager.cpp.
|
slot |
Set the file size processed so far.
Definition at line 212 of file kopetetransfermanager.cpp.
KUrl Kopete::Transfer::sourceURL | ( | ) |
Retrieve a URL indicating where the file is being copied from.
For display purposes only! There's no guarantee that this URL refers to a real file being transferred.
Definition at line 189 of file kopetetransfermanager.cpp.
|
protectedvirtual |
Definition at line 223 of file kopetetransfermanager.cpp.
|
signal |
- Deprecated:
- Use result() and check error() for ERR_USER_CANCELED
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.