KIO
#include <kdirlister_p.h>
Classes | |
| class | CachedItemsJob |
| struct | FilterSettings |
| struct | JobData |
Public Types | |
| typedef QHash< KUrl, KFileItemList > | NewItemsHash |
Public Member Functions | |
| Private (KDirLister *parent) | |
| void | _k_emitCachedItems (const KUrl &, bool, bool) |
| void | _k_slotInfoMessage (KJob *, const QString &) |
| void | _k_slotPercent (KJob *, unsigned long) |
| void | _k_slotProcessedSize (KJob *, qulonglong) |
| void | _k_slotSpeed (KJob *, unsigned long) |
| void | _k_slotTotalSize (KJob *, qulonglong) |
| void | addNewItem (const KUrl &directoryUrl, const KFileItem &item) |
| void | addNewItems (const KUrl &directoryUrl, const KFileItemList &items) |
| void | addRefreshItem (const KUrl &directoryUrl, const KFileItem &oldItem, const KFileItem &item) |
| CachedItemsJob * | cachedItemsJobForUrl (const KUrl &url) const |
| void | connectJob (KIO::ListJob *) |
| bool | doMimeExcludeFilter (const QString &mimeExclude, const QStringList &filters) const |
| void | emitChanges () |
| void | emitItems () |
| void | emitItemsDeleted (const KFileItemList &items) |
| bool | isItemVisible (const KFileItem &item) const |
| void | jobDone (KIO::ListJob *) |
| void | jobStarted (KIO::ListJob *) |
| uint | numJobs () |
| void | prepareForSettingsChange () |
| void | redirect (const KUrl &oldUrl, const KUrl &newUrl, bool keepItems) |
Public Attributes | |
| bool | autoErrorHandling:2 |
| bool | autoUpdate:1 |
| bool | complete:1 |
| bool | delayedMimeTypes:1 |
| QWidget * | errorParent |
| bool | hasPendingChanges:1 |
| QMap< KIO::ListJob *, JobData > | jobData |
| KUrl::List | lstDirs |
| KFileItemList * | lstMimeFilteredItems |
| NewItemsHash * | lstNewItems |
| QList< QPair< KFileItem, KFileItem > > * | lstRefreshItems |
| KFileItemList * | lstRemoveItems |
| QList< CachedItemsJob * > | m_cachedItemsJobs |
| KDirLister * | m_parent |
| QString | nameFilter |
| FilterSettings | oldSettings |
| KFileItem | rootFileItem |
| FilterSettings | settings |
| KUrl | url |
| QWidget * | window |
Detailed Description
Definition at line 42 of file kdirlister_p.h.
Member Typedef Documentation
◆ NewItemsHash
Definition at line 144 of file kdirlister_p.h.
Constructor & Destructor Documentation
◆ Private()
|
inline |
Definition at line 45 of file kdirlister_p.h.
Member Function Documentation
◆ _k_emitCachedItems()
| void KDirLister::Private::_k_emitCachedItems | ( | const KUrl & | , |
| bool | , | ||
| bool | |||
| ) |
◆ _k_slotInfoMessage()
| void KDirLister::Private::_k_slotInfoMessage | ( | KJob * | , |
| const QString & | message | ||
| ) |
Definition at line 2563 of file kdirlister.cpp.
◆ _k_slotPercent()
| void KDirLister::Private::_k_slotPercent | ( | KJob * | job, |
| unsigned long | pcnt | ||
| ) |
Definition at line 2568 of file kdirlister.cpp.
◆ _k_slotProcessedSize()
| void KDirLister::Private::_k_slotProcessedSize | ( | KJob * | job, |
| qulonglong | size | ||
| ) |
Definition at line 2606 of file kdirlister.cpp.
◆ _k_slotSpeed()
| void KDirLister::Private::_k_slotSpeed | ( | KJob * | job, |
| unsigned long | spd | ||
| ) |
Definition at line 2621 of file kdirlister.cpp.
◆ _k_slotTotalSize()
| void KDirLister::Private::_k_slotTotalSize | ( | KJob * | job, |
| qulonglong | size | ||
| ) |
Definition at line 2591 of file kdirlister.cpp.
◆ addNewItem()
Definition at line 2415 of file kdirlister.cpp.
◆ addNewItems()
| void KDirLister::Private::addNewItems | ( | const KUrl & | directoryUrl, |
| const KFileItemList & | items | ||
| ) |
Definition at line 2443 of file kdirlister.cpp.
◆ addRefreshItem()
| void KDirLister::Private::addRefreshItem | ( | const KUrl & | directoryUrl, |
| const KFileItem & | oldItem, | ||
| const KFileItem & | item | ||
| ) |
Definition at line 2454 of file kdirlister.cpp.
◆ cachedItemsJobForUrl()
| KDirLister::Private::CachedItemsJob * KDirLister::Private::cachedItemsJobForUrl | ( | const KUrl & | url | ) | const |
Definition at line 281 of file kdirlister.cpp.
◆ connectJob()
| void KDirLister::Private::connectJob | ( | KIO::ListJob * | job | ) |
Definition at line 2669 of file kdirlister.cpp.
◆ doMimeExcludeFilter()
| bool KDirLister::Private::doMimeExcludeFilter | ( | const QString & | mimeExclude, |
| const QStringList & | filters | ||
| ) | const |
Definition at line 2393 of file kdirlister.cpp.
◆ emitChanges()
| void KDirLister::Private::emitChanges | ( | ) |
Definition at line 2177 of file kdirlister.cpp.
◆ emitItems()
| void KDirLister::Private::emitItems | ( | ) |
Definition at line 2492 of file kdirlister.cpp.
◆ emitItemsDeleted()
| void KDirLister::Private::emitItemsDeleted | ( | const KFileItemList & | items | ) |
Definition at line 2544 of file kdirlister.cpp.
◆ isItemVisible()
| bool KDirLister::Private::isItemVisible | ( | const KFileItem & | item | ) | const |
Should this item be visible according to the current filter settings?
Definition at line 2535 of file kdirlister.cpp.
◆ jobDone()
| void KDirLister::Private::jobDone | ( | KIO::ListJob * | job | ) |
Definition at line 2652 of file kdirlister.cpp.
◆ jobStarted()
| void KDirLister::Private::jobStarted | ( | KIO::ListJob * | job | ) |
Definition at line 2657 of file kdirlister.cpp.
◆ numJobs()
| uint KDirLister::Private::numJobs | ( | ) |
Definition at line 2636 of file kdirlister.cpp.
◆ prepareForSettingsChange()
|
inline |
Definition at line 99 of file kdirlister_p.h.
◆ redirect()
Redirect this dirlister from oldUrl to newUrl.
- Parameters
-
keepItems if true, keep the fileitems (e.g. when renaming an existing dir); if false, clear out everything (e.g. when redirecting during listing).
Definition at line 2733 of file kdirlister.cpp.
Member Data Documentation
◆ autoErrorHandling
| bool KDirLister::Private::autoErrorHandling |
Definition at line 131 of file kdirlister_p.h.
◆ autoUpdate
| bool KDirLister::Private::autoUpdate |
Definition at line 125 of file kdirlister_p.h.
◆ complete
| bool KDirLister::Private::complete |
Definition at line 123 of file kdirlister_p.h.
◆ delayedMimeTypes
| bool KDirLister::Private::delayedMimeTypes |
Definition at line 127 of file kdirlister_p.h.
◆ errorParent
| QWidget* KDirLister::Private::errorParent |
Definition at line 132 of file kdirlister_p.h.
◆ hasPendingChanges
| bool KDirLister::Private::hasPendingChanges |
Definition at line 129 of file kdirlister_p.h.
◆ jobData
| QMap<KIO::ListJob *, JobData> KDirLister::Private::jobData |
Definition at line 139 of file kdirlister_p.h.
◆ lstDirs
| KUrl::List KDirLister::Private::lstDirs |
List of dirs handled by this dirlister.
The first entry is the base URL. For a tree view, it contains all the dirs shown.
Definition at line 118 of file kdirlister_p.h.
◆ lstMimeFilteredItems
| KFileItemList* KDirLister::Private::lstMimeFilteredItems |
Definition at line 147 of file kdirlister_p.h.
◆ lstNewItems
| NewItemsHash* KDirLister::Private::lstNewItems |
Definition at line 145 of file kdirlister_p.h.
◆ lstRefreshItems
Definition at line 146 of file kdirlister_p.h.
◆ lstRemoveItems
| KFileItemList * KDirLister::Private::lstRemoveItems |
Definition at line 147 of file kdirlister_p.h.
◆ m_cachedItemsJobs
| QList<CachedItemsJob*> KDirLister::Private::m_cachedItemsJobs |
Definition at line 150 of file kdirlister_p.h.
◆ m_parent
| KDirLister* KDirLister::Private::m_parent |
Definition at line 112 of file kdirlister_p.h.
◆ nameFilter
| QString KDirLister::Private::nameFilter |
Definition at line 152 of file kdirlister_p.h.
◆ oldSettings
| FilterSettings KDirLister::Private::oldSettings |
Definition at line 163 of file kdirlister_p.h.
◆ rootFileItem
| KFileItem KDirLister::Private::rootFileItem |
Definition at line 142 of file kdirlister_p.h.
◆ settings
| FilterSettings KDirLister::Private::settings |
Definition at line 162 of file kdirlister_p.h.
◆ url
| KUrl KDirLister::Private::url |
Definition at line 121 of file kdirlister_p.h.
◆ window
| QWidget* KDirLister::Private::window |
Definition at line 149 of file kdirlister_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jan 18 2020 19:02:22 by doxygen 1.8.15 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.