KIO
kfileitemlistproperties.cpp
Go to the documentation of this file.
94 m_supportsWriting = m_supportsWriting && KProtocolManager::supportsWriting(url) && item.isWritable();
120KFileItemListProperties& KFileItemListProperties::operator=(const KFileItemListProperties& other)
Provides information about the common properties of a group of KFileItem objects.
Definition: kfileitemlistproperties.h:50
KFileItemList items() const
List of fileitems passed to the constructor or to setItems().
Definition: kfileitemlistproperties.cpp:155
KUrl::List urlList() const
List of urls, gathered from the fileitems.
Definition: kfileitemlistproperties.cpp:160
bool supportsMoving() const
Check if moving capability is supported.
Definition: kfileitemlistproperties.cpp:145
bool supportsReading() const
Check if reading capability is supported.
Definition: kfileitemlistproperties.cpp:130
KFileItemListProperties & operator=(const KFileItemListProperties &other)
Assignment operator.
Definition: kfileitemlistproperties.cpp:120
QString mimeGroup() const
Definition: kfileitemlistproperties.cpp:177
QString mimeType() const
Definition: kfileitemlistproperties.cpp:170
bool supportsDeleting() const
Check if deleting capability is supported.
Definition: kfileitemlistproperties.cpp:135
void setItems(const KFileItemList &items)
Sets the items that are to have their supported capabilities checked.
Definition: kfileitemlistproperties.cpp:69
bool isDirectory() const
Definition: kfileitemlistproperties.cpp:165
bool supportsWriting() const
Check if writing capability is supported (file managers use this mostly for directories)
Definition: kfileitemlistproperties.cpp:140
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition: kfileitem.h:675
A KFileItem is a generic class to handle a file, local or remote.
Definition: kfileitem.h:46
bool isWritable() const
Checks whether the file or directory is writable.
Definition: kfileitem.cpp:1099
static bool supportsDeleting(const KUrl &url)
Returns whether the protocol can delete files/objects.
Definition: kprotocolmanager.cpp:1078
static bool supportsWriting(const KUrl &url)
Returns whether the protocol can store data to URLs.
Definition: kprotocolmanager.cpp:1060
static bool supportsReading(const KUrl &url)
Returns whether the protocol can retrieve data from URLs.
Definition: kprotocolmanager.cpp:1051
static bool supportsMoving(const KUrl &url)
Returns whether the protocol can move files/objects between different locations.
Definition: kprotocolmanager.cpp:1096
QString directory(const DirectoryOptions &options=IgnoreTrailingSlash) const
bool isLocalFile() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.