KIO
dataslave.cpp File Reference
#include "dataslave.h"
#include "dataprotocol.h"
#include <config.h>
#include <klocale.h>
#include <kdebug.h>
#include <QtCore/QTimer>
#include "dataslave.moc"
Include dependency graph for dataslave.cpp:
Go to the source code of this file.
Macros | |
#define | DISPATCH_IMPL(type) |
#define | DISPATCH_IMPL1(type, paramtype, paramname) |
#define | KIO_DATA_POLL_INTERVAL 0 |
Macro Definition Documentation
#define DISPATCH_IMPL | ( | type | ) |
Value:
void DataSlave::dispatch_##type() { \
if (_suspended) { \
QueueStruct q(Queue_##type); \
q.size = -1; \
dispatchQueue.push_back(q); \
if (!timer->isActive()) timer->start(KIO_DATA_POLL_INTERVAL); \
} else \
type(); \
}
Definition at line 36 of file dataslave.cpp.
#define DISPATCH_IMPL1 | ( | type, | |
paramtype, | |||
paramname | |||
) |
Value:
void DataSlave::dispatch_##type(paramtype paramname) { \
if (_suspended) { \
QueueStruct q(Queue_##type); \
q.paramname = paramname; \
dispatchQueue.push_back(q); \
if (!timer->isActive()) timer->start(KIO_DATA_POLL_INTERVAL); \
} else \
type(paramname); \
}
Definition at line 48 of file dataslave.cpp.
#define KIO_DATA_POLL_INTERVAL 0 |
Definition at line 33 of file dataslave.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.