KIO
kfileitemlistproperties.cpp
Go to the documentation of this file.
94 m_supportsWriting = m_supportsWriting && KProtocolManager::supportsWriting(url) && item.isWritable();
static bool supportsMoving(const KUrl &url)
Returns whether the protocol can move files/objects between different locations.
Definition: kprotocolmanager.cpp:1096
QString mimeType() const
Definition: kfileitemlistproperties.cpp:170
QString directory(const DirectoryOptions &options=IgnoreTrailingSlash) const
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition: kfileitem.h:674
static bool supportsWriting(const KUrl &url)
Returns whether the protocol can store data to URLs.
Definition: kprotocolmanager.cpp:1060
KFileItemListProperties & operator=(const KFileItemListProperties &other)
Assignment operator.
Definition: kfileitemlistproperties.cpp:120
bool supportsReading() const
Check if reading capability is supported.
Definition: kfileitemlistproperties.cpp:130
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:69
bool isLocalFile() const
bool isWritable() const
Checks whether the file or directory is writable.
Definition: kfileitem.cpp:1099
bool supportsDeleting() const
Check if deleting capability is supported.
Definition: kfileitemlistproperties.cpp:135
bool isDirectory() const
Definition: kfileitemlistproperties.cpp:165
static bool supportsReading(const KUrl &url)
Returns whether the protocol can retrieve data from URLs.
Definition: kprotocolmanager.cpp:1051
static bool supportsDeleting(const KUrl &url)
Returns whether the protocol can delete files/objects.
Definition: kprotocolmanager.cpp:1078
QString mimeGroup() const
Definition: kfileitemlistproperties.cpp:177
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
A KFileItem is a generic class to handle a file, local or remote.
Definition: kfileitem.h:45
Provides information about the common properties of a group of KFileItem objects.
Definition: kfileitemlistproperties.h:49
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-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.