Logo Search packages:      
Sourcecode: kmess version File versions  Download package

TransferEntry Class Reference

#include <transferentry.h>

List of all members.

Detailed Description

One transfer entry in the transfer window.

Diederik van der Boor

Definition at line 31 of file transferentry.h.

Public Slots

void failTransfer (const QString &message=QString::null)
void finishTransfer ()
void setStatusMessage (const QString &message)
void updateProgress (ulong bytesTransferred)


void cancelTransfer (int transferID)

Public Member Functions

QString getFileName () const
bool isDone () const
bool isIncoming () const
void setTransferID (int transferID)
 TransferEntry (QWidget *parent, const QString filename, const ulong filesize, bool incoming=false, const QImage preview=QImage())

Static Public Member Functions

static QString toReadableBytes (ulong bytes)

Private Slots

void cancelClicked ()
void openClicked ()
void updateTransferRate ()

Private Attributes

ulong bytesTransferred_
QString filename_
ulong filesize_
bool incoming_
bool isDone_
QPixmap preview_
int previousPercentage_
ulong previousTransferred_
QString speedText_
QString statusText_
QTimer * timer_
int transferID_

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

Generated by  Doxygen 1.6.0   Back to index