KIO
kdirlister.h
Go to the documentation of this file.
542 QT_MOC_COMPAT void deleteItem( const KFileItem &_fileItem ); // KDE5: remove, and port to itemsDeleted
Definition kdirlister_p.h:43
Helper class for the kiojob used to list and update a directory.
Definition kdirlister.h:58
void speed(int bytes_per_second)
Emitted to display information about the speed of the jobs.
void refreshItems(const QList< QPair< KFileItem, KFileItem > > &items)
Signal an item to refresh (its mimetype/icon/name has changed).
virtual void setMimeFilter(const QStringList &mimeList)
Set mime-based filter to only list items matching the given mimetypes.
Definition kdirlister.cpp:2293
void itemsDeleted(const KFileItemList &items)
Signal that items have been deleted.
KFileItemList items(WhichItems which=FilteredItems) const
Returns the items listed for the current url().
Definition kdirlister.cpp:2693
void infoMessage(const QString &msg)
Emitted to display information about running jobs.
virtual void setDirOnlyMode(bool dirsOnly)
Call this to list only directories.
Definition kdirlister.cpp:2142
QT_MOC_COMPAT void deleteItem(const KFileItem &_fileItem)
Signals that an item has been deleted.
@ Keep
Previous directories aren't forgotten (they are still watched by kdirwatch and their items are kept f...
Definition kdirlister.h:76
@ Reload
Indicates whether to use the cache or to reread the directory from the disk.
Definition kdirlister.h:81
void itemsAdded(const KUrl &directoryUrl, const KFileItemList &items)
Signal that new items were found during directory listing.
virtual void setNameFilter(const QString &filter)
Set a name filter to only list items matching this name, e.g.
Definition kdirlister.cpp:2273
void processedSize(KIO::filesize_t size)
Regularly emitted to show the progress of this KDirLister.
void completed(const KUrl &_url)
Tell the view that the listing of the directory _url is finished.
QStringList mimeFilters() const
Returns the list of mime based filters, as set via setMimeFilter().
Definition kdirlister.cpp:2322
void canceled(const KUrl &_url)
Tell the view that the listing of the directory _url was canceled.
friend struct KDirListerCacheDirectoryData
Definition kdirlister.h:60
virtual void setShowingDotFiles(bool _showDotFiles)
Changes the "is viewing dot files" setting.
Definition kdirlister.cpp:2128
void setDelayedMimeTypes(bool delayedMimeTypes)
Delayed mimetypes feature: If enabled, mime types will be fetched on demand, which leads to a faster ...
Definition kdirlister.cpp:2727
void redirection(const KUrl &oldUrl, const KUrl &newUrl)
Signal a redirection.
virtual void setAutoUpdate(bool enable)
Enable/disable automatic directory updating, when a directory changes (using KDirWatch).
Definition kdirlister.cpp:2114
void itemsFilteredByMime(const KFileItemList &items)
Send a list of items filtered-out by mime-type.
WhichItems
Used by items() and itemsForDir() to specify whether you want all items for a directory or just the f...
Definition kdirlister.h:392
void percent(int percent)
Progress signal showing the overall progress of the KDirLister.
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition kfileitem.h:675
A ListJob is allows you to get the get the content of a directory.
Definition jobclasses.h:936
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.