[kfile Index] [kfile Hierarchy] [Headers]
A URL aware directory object. More...
#include <kdir.h>
Inherits: QObject (qt)
[public virtual]
Set the current path (accepts normal paths or urls)
[public]
Change to the parent directory
[public]
Returns the current host.
[public]
Returns the current protocol.
[public]
Returns the current path (or the path part of the url).
[public]
Set the current url (accepts normal paths or urls).
[public]
Returns the current url.
[public]
Returns the current name filter.
[public]
Set the current name filter.
[public]
Returns the current filter.
[public]
Set the current filter.
[public]
Returns the current sort order.
[public]
Set the current sort order.
[public]
Returns the number of directory entries read.
[public]
Returns true if KFM has finished the operation.
[public]
Return a list of KFileInfo objects matching the specified filter. This call returns immediately, but may provide only partial information. If isFinished() returns true then you will receive complete information. If this is the contents of the directory are not cached then this method will call startLoading().
In blocking I/O mode, it will only return the first maxReturn (default 100) entries. The rest will be send through signals
[public static]
Returns true if the name matches the filter. Unlike the match() method provided by QDir, KDir allows you to specify more than one glob in the pattern. For example the pattern '*.cpp *.h' is valid.
[public]
sets, if the class should get the data via blocking I/O. This is just useful, if you want to override the internal logic
[public]
returns, if the class gets its data via blocking I/O
[public]
indicates, if the path is empty
[public]
indicates, if the path is readable. That means, if there are entries to expect
[protected virtual]
Start listing the directory in the background (returns immeditately).
[protected slot]
Called when a directory entry is received.
[protected slot]
Called when kfm has finished the current network operation.
[signal]
Emitted when the url is changed
[signal]
Emitted when a directory entry that matches the filter is received.
[signal]
Emitted when the directory has been completely loaded.
[signal]
Emitted if a network transfer goes wrong.
[signal]
Emitted, if new files are queued
Documentation generated by tasin@cd1 on Die Nov 30 17:32:33 CET 1999 | Kdoc |