1 #ifndef _KVI_FILETRANSFER_H_
2 #define _KVI_FILETRANSFER_H_
40 #define KVI_FILE_TRANSFER_WINDOW_EXTENSION_NAME "File transfer extension"
57 static void cleanup();
66 void invokeTransferWindow(
bool bCreateMinimized =
false,
bool bNoRaise =
false);
67 void killAllTransfers();
68 void killTerminatedTransfers();
74 #define COLUMN_TRANSFERTYPE 0
75 #define COLUMN_FILEINFO 1
76 #define COLUMN_PROGRESS 2
96 void invokeTransferWindow(
bool bCreateMinimized =
false,
bool bNoRaise =
false);
104 void displayUpdate();
107 virtual bool active() = 0;
108 virtual void displayPaint(QPainter *
p,
int column, QRect rect) = 0;
109 virtual QString tipText();
110 virtual QString localFileName();
111 virtual QString retryCommand();
112 virtual int displayHeight(
int iLineSpacing);
113 virtual void fillContextPopup(QMenu *
m) = 0;
void setDisplayItem(KviTalTableWidgetItemEx *i)
Definition: KviFileTransfer.h:91
KviPointerList< KviFileTransfer > * m_pTransferList
Definition: KviFileTransfer.h:53
Definition: KviFileTransfer.h:78
void transferUnregistering(KviFileTransfer *t)
Definition: FileTransferWindow.cpp:386
#define KVIRC_API
Definition: kvi_settings.h:128
#define m
Definition: detector.cpp:77
Definition: KviFileTransfer.h:42
int m_iId
Definition: KviFileTransfer.h:86
Definition: FileTransferWindow.h:91
KviWindow * m_pTransferWindow
Definition: KviFileTransfer.h:54
void setTransferWindow(KviWindow *wnd)
Definition: KviFileTransfer.h:60
#define i
Definition: detector.cpp:73
KviTalTableWidgetItemEx * m_pDisplayItem
Definition: KviFileTransfer.h:87
QHashIterator< int, QFile * > t(getDict)
C++ Template based double linked pointer list class.
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
KviWindow * transferWindow()
Definition: KviFileTransfer.h:99
Definition: KviApplication.h:102
static KviFileTransferManager * instance()
Definition: KviFileTransfer.cpp:48
void transferRegistered(KviFileTransfer *t)
Definition: FileTransferWindow.cpp:381
KviPointerList< KviFileTransfer > * transferList()
Definition: KviFileTransfer.h:65
KviFileTransferManager * manager()
Definition: KviFileTransfer.h:97
KviWindow * transferWindow()
Definition: KviFileTransfer.h:63
This file contains compile time settings.
#define p
Definition: detector.cpp:80
int id()
Definition: KviFileTransfer.h:92