class StatJob


Full nameKIO::StatJob
Definition#include <jobclasses.h>
InheritsKIO::SimpleJob [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Slots

Protected Members


Detailed Description

 StatJob (const KURL& url, int command, const QByteArray &packedArgs, bool showProgressInfo)

StatJob

void  setSide ( bool source )

setSide

A stat() can have two meanings. Either we want to read from this URL, or to check if we can write to it. First case is "source", second is "dest". It is necessary to know what the StatJob is for, to tune the kioslave's behaviour (e.g. with FTP)

void  setDetails ( short int details )

setDetails

Selects the level of details we want. By default this is 2 (all details wanted, including modification time, size, etc.), setDetails(1) is used when deleting: we don't need all the information if it takes too much time, no need to follow symlinks etc. setDetails(0) is used for very simple probing: we'll only get the answer "it's a file or a directory, or it doesn't exist". This is used by KRun.

const UDSEntry &  statResult ()

statResult

[const]

Call this in the slot connected to result, and only after making sure no error happened.

void  start ( Slave *slave )

start

[virtual]

Called by the scheduler when a slave gets to work on this job.

Reimplemented from SimpleJob.

void  redirection ( KIO::Job *, const KURL &url )

redirection

[signal]

Signals a redirection. Use to update the URL shown to the user. The redirection itself is handled internally.

void  slotStatEntry ( const KIO::UDSEntry & entry )

slotStatEntry

[protected slots slot]

void  slotRedirection ( const KURL &url)

slotRedirection

[protected slots slot]

void  slotFinished ()

slotFinished

[protected slots virtual slot]

Reimplemented from SimpleJob.

UDSEntry m_statResult

m_statResult

[protected]

KURL m_redirectionURL

m_redirectionURL

[protected]

bool m_bSource

m_bSource

[protected]

short int m_details

m_details

[protected]

StatJobPrivate * d

d

[protected]


Generated by: dfaure on kde.faure.org on Thu Jan 17 22:16:53 2002, using kdoc 2.0a53.