KWin
|
#include <transfer.h>
Signals | |
void | finished () |
Public Member Functions | |
Transfer (xcb_atom_t selection, qint32 fd, xcb_timestamp_t timestamp, QObject *parent=nullptr) | |
virtual bool | handlePropertyNotify (xcb_property_notify_event_t *event)=0 |
void | timeout () |
xcb_timestamp_t | timestamp () const |
Protected Member Functions | |
void | endTransfer () |
xcb_atom_t | atom () const |
qint32 | fd () const |
void | setIncr (bool set) |
bool | incr () const |
void | resetTimeout () |
void | createSocketNotifier (QSocketNotifier::Type type) |
void | clearSocketNotifier () |
QSocketNotifier * | socketNotifier () const |
Represents for an arbitrary selection a data transfer between sender and receiver.
Lives for the duration of the transfer and must be cleaned up externally afterwards. For that the owner should connect to the finished()
signal.
Definition at line 40 of file transfer.h.
KWin::Xwl::Transfer::Transfer | ( | xcb_atom_t | selection, |
qint32 | fd, | ||
xcb_timestamp_t | timestamp, | ||
QObject * | parent = nullptr ) |
Definition at line 38 of file transfer.cpp.
|
inlineprotected |
Definition at line 63 of file transfer.h.
|
protected |
Definition at line 52 of file transfer.cpp.
|
protected |
Definition at line 46 of file transfer.cpp.
|
protected |
Definition at line 66 of file transfer.cpp.
|
inlineprotected |
Definition at line 67 of file transfer.h.
|
signal |
|
pure virtual |
Implemented in KWin::Xwl::TransferWltoX, and KWin::Xwl::TransferXtoWl.
|
inlineprotected |
Definition at line 76 of file transfer.h.
|
inlineprotected |
Definition at line 80 of file transfer.h.
|
inlineprotected |
Definition at line 72 of file transfer.h.
|
inlineprotected |
Definition at line 86 of file transfer.h.
void KWin::Xwl::Transfer::timeout | ( | ) |
Definition at line 58 of file transfer.cpp.
|
inline |
Definition at line 52 of file transfer.h.