listjob.cpp
69 ListJob *job = new ListJob(*new ListJobPrivate(u, _recursive, prefix, displayPrefix, _includeHidden));
133 if (filename != QLatin1String("..") && filename != QLatin1String(".") && (includeHidden || filename[0] != QLatin1Char('.'))) {
210 if (!hasSubjobs() && !d->m_slave) { // if the main directory listing is still running, it will emit result in SimpleJob::slotFinished()
An alternative URL (If different from the caption).
Definition: udsentry.h:288
QString url(QFlags< QUrl::UrlFormattingOption > options) const
KIOCORE_EXPORT ListJob * listDir(const QUrl &url, JobFlags flags=DefaultFlags, bool includeHidden=true)
List the contents of url, which is assumed to be a directory.
Definition: listjob.cpp:258
void setUiDelegate(KJobUiDelegate *delegate)
A ListJob is allows you to get the get the content of a directory.
Definition: listjob.h:40
bool isNull() const
void setPath(const QString &path, ParsingMode mode)
QSize size() const
KIOCORE_EXPORT ListJob * listRecursive(const QUrl &url, JobFlags flags=DefaultFlags, bool includeHidden=true)
The same as the previous method, but recurses subdirectories.
Definition: listjob.cpp:263
int count(const T &value) const
void append(const T &value)
bool isEmpty() const
KIOCORE_EXPORT KJobUiDelegate * createDefaultJobUiDelegate()
Convenience method: use default factory, if there's one, to create a delegate and return it...
Definition: jobuidelegatefactory.cpp:35
void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
QString path(QFlags< QUrl::ComponentFormattingOption > options) const
void replace(uint field, const QString &value)
Replace or insert field with string value.
Definition: udsentry.cpp:406
KIOCORE_EXPORT KJobTrackerInterface * getJobTracker()
Returns the job tracker to be used by all KIO jobs (in which HideProgressInfo is not set) ...
Definition: jobtracker.cpp:25
iterator end()
const QList< QKeySequence > & end()
Filename - as displayed in directory listings etc.
Definition: udsentry.h:261
If set, contains the label to display instead of the 'real name' in UDS_NAME.
Definition: udsentry.h:309
virtual void registerJob(KJob *job)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
iterator begin()
QString fileName(QFlags< QUrl::ComponentFormattingOption > options) const
bool authorizeUrlAction(const QString &action, const QUrl &baseURL, const QUrl &destURL)
Returns whether a certain URL related action is authorized.
Definition: kurlauthorized.cpp:37
int error() const
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 6 2019 03:50:39 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 6 2019 03:50:39 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.