|
|
void |
[virtual]
Set the current url. An url without a protocol (file:/, ftp://) will be treated as a local directory and file:/ will be prepended.
void |
Set the current name filter.
uint |
[const]
Returns the number of directory entries expected.
uint |
[const]
Returns the number of directory entries read.
void |
Initiates reading the current directory or url. Returns the contents as a list of KFileViewItem objects matching the specified filter by emitting the signal contents. If we are working on a local directory this will be a blocking readdir(). If we are working on a remote url, we use KIO to list the contents. The contents() signal may be emitted more than once to supply you with KFileViewItems, up until the signal finished is emitted (and isFinished() returns true). If the contents are already cached, you will get the entire contents with just one contents() signal.
const KFileViewItemList & |
[const]
This gives you access to the current list of items. It is not guaranteed that this list is complete (e.g. during asynchronous reading of remote directories. Use only if really necessary. Normally, you should just use listContents and get the list via the signal contents. Never returns 0L.
bool |
[const]
Returns true if the name matches the filter.
bool |
[const]
Indicates if the path is empty
bool |
[const]
Indicates if the path is readable. That means, if there are entries to expect
void |
[virtual]
Enables/disables automatic updates, when a directory is changed (works only for local files, using KDirWatch). New files will be emitted via newFilesArrived, deleted files with filesDeleted Default is enabled.
void |
[signal]
Emitted when the url is changed. It is NOT emitted, when you manually call setURL().
void |
[signal]
Emitted when a directory entry that matches the filter is received.
void |
[signal]
Emitted if a network transfer goes wrong.
void |
[signal]
Emitted, if new files are queued
void |
[protected slot]
Called when a directory entry is received.
void |
[protected slot]
Called when Job has finished the current network operation.
Generated by: root@porky.devel.redhat.com on Wed May 10 08:56:57 2000, using kdoc 2.0a35. |