KIO
Go to the documentation of this file.
29 #include <QtCore/QTimer>
33 #define KIO_DATA_POLL_INTERVAL 0
36 #define DISPATCH_IMPL(type) \
37 void DataSlave::dispatch_##type() { \
39 QueueStruct q(Queue_##type); \
41 dispatchQueue.push_back(q); \
42 if (!timer->isActive()) timer->start(KIO_DATA_POLL_INTERVAL); \
48 #define DISPATCH_IMPL1(type, paramtype, paramname) \
49 void DataSlave::dispatch_##type(paramtype paramname) { \
51 QueueStruct q(Queue_##type); \
52 q.paramname = paramname; \
53 dispatchQueue.push_back(q); \
54 if (!timer->isActive()) timer->start(KIO_DATA_POLL_INTERVAL); \
65 timer =
new QTimer(
this);
94 void DataSlave::dispatch_finished() {
121 QDataStream stream(arr);
160 QDataStream stream( data, QIODevice::WriteOnly );
180 #undef DISPATCH_IMPL1
182 #include "dataslave.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 17:50:44 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.