KIO
kfileitemlistproperties.cpp
83 m_supportsWriting = m_supportsWriting && KProtocolManager::supportsWriting(url) && item.isWritable();
90 const QString directory = localUrl.adjusted(QUrl::RemoveFilename | QUrl::StripTrailingSlash).toLocalFile();
QString mimeType() const
Definition: kfileitemlistproperties.cpp:175
static bool supportsReading(const QUrl &url)
Returns whether the protocol can retrieve data from URLs.
Definition: kprotocolmanager.cpp:1040
QList< QUrl > urlList() const
List of urls, gathered from the fileitems.
Definition: kfileitemlistproperties.cpp:160
Type type(const QSqlDatabase &db)
void clear()
QString url(QUrl::FormattingOptions options) const const
Definition: kfileitem.h:657
static bool supportsMoving(const QUrl &url)
Returns whether the protocol can move files/objects between different locations.
Definition: kprotocolmanager.cpp:1090
QStringView left(qsizetype length) const const
KFileItemListProperties & operator=(const KFileItemListProperties &other)
Assignment operator.
Definition: kfileitemlistproperties.cpp:120
bool supportsReading() const
Check if reading capability is supported.
Definition: kfileitemlistproperties.cpp:130
void setFile(const QString &file)
bool supportsWriting() const
Check if writing capability is supported (file managers use this mostly for directories)
Definition: kfileitemlistproperties.cpp:140
void setItems(const KFileItemList &items)
Sets the items that are to have their supported capabilities checked.
Definition: kfileitemlistproperties.cpp:57
RemoveFilename
bool supportsDeleting() const
Check if deleting capability is supported.
Definition: kfileitemlistproperties.cpp:135
QString filePath() const const
bool isDirectory() const
Definition: kfileitemlistproperties.cpp:165
bool isEmpty() const const
QString toLocalFile() const const
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const const
static bool supportsDeleting(const QUrl &url)
Returns whether the protocol can delete files/objects.
Definition: kprotocolmanager.cpp:1070
bool isWritable() const const
QString mimeGroup() const
Definition: kfileitemlistproperties.cpp:183
void clear()
bool supportsMoving() const
Check if moving capability is supported.
Definition: kfileitemlistproperties.cpp:145
Definition: kfileitem.h:35
Provides information about the common properties of a group of KFileItem objects.
Definition: kfileitemlistproperties.h:39
static bool supportsWriting(const QUrl &url)
Returns whether the protocol can store data to URLs.
Definition: kprotocolmanager.cpp:1050
KFileItemList items() const
List of fileitems passed to the constructor or to setItems().
Definition: kfileitemlistproperties.cpp:155
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:55:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:55:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.