kio
dataslave.cpp File Reference
#include <config.h>
#include "dataslave.h"
#include "dataprotocol.h"
#include <klocale.h>
#include <kdebug.h>
#include <qtimer.h>
#include "dataslave.moc"
Include dependency graph for dataslave.cpp:
Go to the source code of this file.
Defines | |
#define | DISPATCH_IMPL(type) |
#define | DISPATCH_IMPL1(type, paramtype, paramname) |
#define | KIO_DATA_POLL_INTERVAL 0 |
Define Documentation
#define DISPATCH_IMPL | ( | type | ) |
Value:
void DataSlave::dispatch_##type() { \ if (_suspended) { \ QueueStruct q(Queue_##type); \ 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 47 of file dataslave.cpp.
#define KIO_DATA_POLL_INTERVAL 0 |
Definition at line 33 of file dataslave.cpp.