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) |
Detailed Description
Definition at line 42 of file kdirlister_p.h.
Member Typedef Documentation
Definition at line 144 of file kdirlister_p.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 45 of file kdirlister_p.h.
Member Function Documentation
Definition at line 2563 of file kdirlister.cpp.
void KDirLister::Private::_k_slotPercent | ( | KJob * | job, |
unsigned long | pcnt | ||
) |
Definition at line 2568 of file kdirlister.cpp.
void KDirLister::Private::_k_slotProcessedSize | ( | KJob * | job, |
qulonglong | size | ||
) |
Definition at line 2606 of file kdirlister.cpp.
void KDirLister::Private::_k_slotSpeed | ( | KJob * | job, |
unsigned long | spd | ||
) |
Definition at line 2621 of file kdirlister.cpp.
void KDirLister::Private::_k_slotTotalSize | ( | KJob * | job, |
qulonglong | size | ||
) |
Definition at line 2591 of file kdirlister.cpp.
Definition at line 2415 of file kdirlister.cpp.
void KDirLister::Private::addNewItems | ( | const KUrl & | directoryUrl, |
const KFileItemList & | items | ||
) |
Definition at line 2443 of file kdirlister.cpp.
void KDirLister::Private::addRefreshItem | ( | const KUrl & | directoryUrl, |
const KFileItem & | oldItem, | ||
const KFileItem & | item | ||
) |
Definition at line 2454 of file kdirlister.cpp.
KDirLister::Private::CachedItemsJob * KDirLister::Private::cachedItemsJobForUrl | ( | const KUrl & | url | ) | const |
Definition at line 281 of file kdirlister.cpp.
void KDirLister::Private::connectJob | ( | KIO::ListJob * | job | ) |
Definition at line 2669 of file kdirlister.cpp.
bool KDirLister::Private::doMimeExcludeFilter | ( | const QString & | mimeExclude, |
const QStringList & | filters | ||
) | const |
Definition at line 2393 of file kdirlister.cpp.
void KDirLister::Private::emitChanges | ( | ) |
Definition at line 2177 of file kdirlister.cpp.
void KDirLister::Private::emitItems | ( | ) |
Definition at line 2492 of file kdirlister.cpp.
void KDirLister::Private::emitItemsDeleted | ( | const KFileItemList & | items | ) |
Definition at line 2544 of file kdirlister.cpp.
Should this item be visible according to the current filter settings?
Definition at line 2535 of file kdirlister.cpp.
void KDirLister::Private::jobDone | ( | KIO::ListJob * | job | ) |
Definition at line 2652 of file kdirlister.cpp.
void KDirLister::Private::jobStarted | ( | KIO::ListJob * | job | ) |
Definition at line 2657 of file kdirlister.cpp.
uint KDirLister::Private::numJobs | ( | ) |
Definition at line 2636 of file kdirlister.cpp.
|
inline |
Definition at line 99 of file kdirlister_p.h.
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
bool KDirLister::Private::autoErrorHandling |
Definition at line 131 of file kdirlister_p.h.
bool KDirLister::Private::autoUpdate |
Definition at line 125 of file kdirlister_p.h.
bool KDirLister::Private::complete |
Definition at line 123 of file kdirlister_p.h.
bool KDirLister::Private::delayedMimeTypes |
Definition at line 127 of file kdirlister_p.h.
QWidget* KDirLister::Private::errorParent |
Definition at line 132 of file kdirlister_p.h.
bool KDirLister::Private::hasPendingChanges |
Definition at line 129 of file kdirlister_p.h.
QMap<KIO::ListJob *, JobData> KDirLister::Private::jobData |
Definition at line 139 of file kdirlister_p.h.
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.
KFileItemList* KDirLister::Private::lstMimeFilteredItems |
Definition at line 147 of file kdirlister_p.h.
NewItemsHash* KDirLister::Private::lstNewItems |
Definition at line 145 of file kdirlister_p.h.
Definition at line 146 of file kdirlister_p.h.
KFileItemList * KDirLister::Private::lstRemoveItems |
Definition at line 147 of file kdirlister_p.h.
QList<CachedItemsJob*> KDirLister::Private::m_cachedItemsJobs |
Definition at line 150 of file kdirlister_p.h.
KDirLister* KDirLister::Private::m_parent |
Definition at line 112 of file kdirlister_p.h.
QString KDirLister::Private::nameFilter |
Definition at line 152 of file kdirlister_p.h.
FilterSettings KDirLister::Private::oldSettings |
Definition at line 163 of file kdirlister_p.h.
KFileItem KDirLister::Private::rootFileItem |
Definition at line 142 of file kdirlister_p.h.
FilterSettings KDirLister::Private::settings |
Definition at line 162 of file kdirlister_p.h.
KUrl KDirLister::Private::url |
Definition at line 121 of file kdirlister_p.h.
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 Mon Jun 22 2020 13:24:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.