org.kde.koala
public interface KDirListerSignals
Method Summary | |
---|---|
void | canceled()
Tell the view that the user canceled the listing. |
void | canceled(KURL _url)
Tell the view that the listing of the directory _url was canceled.
|
void | clear()
Signal to clear all items.
|
void | clear(KURL _url)
Signal to empty the directory _url.
It is only emitted if the lister is holding more than one directory. |
void | completed()
Tell the view that listing is finished. |
void | completed(KURL _url)
Tell the view that the listing of the directory _url is finished.
|
void | deleteItem(KFileItem _fileItem)
Signal an item to remove.
|
void | infoMessage(String msg)
Emitted to display information about running jobs.
|
void | itemsFilteredByMime(ArrayList items)
Send a list of items filtered-out by mime-type. |
void | newItems(ArrayList items)
Signal new items. |
void | percent(int percent)
Progress signal showing the overall progress of the KDirLister.
|
void | processedSize(long size)
Regularly emitted to show the progress of this KDirLister. |
void | redirection(KURL _url)
Signal a redirection.
|
void | redirection(KURL oldUrl, KURL newUrl)
Signal a redirection. |
void | refreshItems(ArrayList items)
Signal an item to refresh (its mimetype/icon/name has changed).
|
void | speed(int bytes_per_second)
Emitted to display information about the speed of the jobs. |
void | started(KURL _url)
Tell the view that we started to list _url. NOTE: this does _not_ imply that there
is really a job running! |
void | totalSize(long size)
Emitted when we know the size of the jobs. |
UNKNOWN: Tell the view that the user canceled the listing.
_url
was canceled.
There might be other running jobs left.
This signal is only emitted if KDirLister is watching more than one directory.Parameters: _url the directory URL
UNKNOWN: Tell the view that the listing of the directory _url
was canceled.
UNKNOWN: Signal to clear all items.
_url.
It is only emitted if the lister is holding more than one directory.Parameters: _url the directory that will be emptied
UNKNOWN: Signal to empty the directory _url.
UNKNOWN: Tell the view that listing is finished.
_url
is finished.
There might be other running jobs left.
This signal is only emitted if KDirLister is watching more than one directory.Parameters: _url the directory URL
UNKNOWN: Tell the view that the listing of the directory _url
is finished.
_fileItem
== rootItem() the directory this lister
is holding was deleted and you HAVE to release especially the
rootItem() of this lister, otherwise your app will CRASH!!
The clear() signals have been emitted already.Parameters: _fileItem the fileItem to delete
UNKNOWN: Signal an item to remove.
Parameters: msg the info message
UNKNOWN: Emitted to display information about running jobs.
Parameters: items the list of filtered items
UNKNOWN: Send a list of items filtered-out by mime-type.
Parameters: items a list of new items
UNKNOWN: Signal new items.
Parameters: percent the progress in percent
UNKNOWN: Progress signal showing the overall progress of the KDirLister.
Parameters: size the processed size in bytes
UNKNOWN: Regularly emitted to show the progress of this KDirLister.
_keep
== false.
Parameters: _url the new URL
UNKNOWN: Signal a redirection.
Parameters: oldUrl the original URL newUrl the new URL
UNKNOWN: Signal a redirection.
Parameters: items the items to refresh
UNKNOWN: Signal an item to refresh (its mimetype/icon/name has changed).
Parameters: bytes_per_second the speed in bytes/s
UNKNOWN: Emitted to display information about the speed of the jobs.
_url.
NOTE: this does _not_ imply that there
is really a job running! I.e. KDirLister.jobs() may return an empty list. In this case
the items are taken from the cache.
The view knows that openURL should start it, so it might seem useless,
but the view also needs to know when an automatic update happens.Parameters: _url the URL to list
UNKNOWN: Tell the view that we started to list _url.
Parameters: size the total size in bytes
UNKNOWN: Emitted when we know the size of the jobs.