• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KIO

Functions | Variables

scheduler.cpp File Reference

#include "scheduler.h"
#include "scheduler_p.h"
#include "sessiondata.h"
#include "slaveconfig.h"
#include "authinfo.h"
#include "slave.h"
#include "connection.h"
#include "job_p.h"
#include <kdebug.h>
#include <kglobal.h>
#include <kprotocolmanager.h>
#include <kprotocolinfo.h>
#include <assert.h>
#include <kdesu/client.h>
#include <QtCore/QHash>
#include <QtGui/QWidget>
#include <QtDBus/QtDBus>
#include "scheduler.moc"
#include "scheduler_p.moc"
Include dependency graph for scheduler.cpp:

Go to the source code of this file.

Functions

static void ensureNoDuplicates (QMap< int, HostQueue * > *queuesBySerial)
static Slave * heldSlaveForJob (SimpleJob *job)
static int jobCommand (SimpleJob *job)
static Slave * jobSlave (SimpleJob *job)
static bool mayReturnContent (int cmd, const QString &protocol)
static Scheduler * scheduler ()
static void setupSlave (KIO::Slave *slave, const KUrl &url, const QString &protocol, const QString &proxy, bool newSlave, const KIO::MetaData *config=0)
static void startJob (SimpleJob *job, Slave *slave)
static void verifyRunningJobsCount (QHash< QString, HostQueue > *queues, int runningJobsCount)

Variables

static const int s_idleSlaveLifetime = 3 * 60

Function Documentation

static void ensureNoDuplicates ( QMap< int, HostQueue * > *  queuesBySerial) [static]

Definition at line 360 of file scheduler.cpp.

Slave * heldSlaveForJob ( SimpleJob *  job) [static]

Definition at line 748 of file scheduler.cpp.

static int jobCommand ( SimpleJob *  job) [inline, static]

Definition at line 55 of file scheduler.cpp.

static Slave* jobSlave ( SimpleJob *  job) [inline, static]

Definition at line 49 of file scheduler.cpp.

static bool mayReturnContent ( int  cmd,
const QString &  protocol 
) [static]

Definition at line 910 of file scheduler.cpp.

Scheduler * scheduler ( ) [static]

Definition at line 742 of file scheduler.cpp.

void setupSlave ( KIO::Slave *  slave,
const KUrl &  url,
const QString &  protocol,
const QString &  proxy,
bool  newSlave,
const KIO::MetaData *  config = 0 
) [static]

Definition at line 1028 of file scheduler.cpp.

static void startJob ( SimpleJob *  job,
Slave *  slave 
) [inline, static]

Definition at line 60 of file scheduler.cpp.

static void verifyRunningJobsCount ( QHash< QString, HostQueue > *  queues,
int  runningJobsCount 
) [static]

Definition at line 373 of file scheduler.cpp.


Variable Documentation

const int s_idleSlaveLifetime = 3 * 60 [static]

Definition at line 43 of file scheduler.cpp.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal