KIO
kfileitemlistproperties.cpp
Go to the documentation of this file.
94 m_supportsWriting = m_supportsWriting && KProtocolManager::supportsWriting(url) && item.isWritable();
120 KFileItemListProperties& KFileItemListProperties::operator=(const KFileItemListProperties& other)
bool isWritable() const
Checks whether the file or directory is writable.
Definition: kfileitem.cpp:1105
QString directory(const DirectoryOptions &options=IgnoreTrailingSlash) const
void setItems(const KFileItemList &items)
Sets the items that are to have their supported capabilities checked.
Definition: kfileitemlistproperties.cpp:69
bool supportsMoving() const
Check if moving capability is supported.
Definition: kfileitemlistproperties.cpp:145
QString mimeType() const
Definition: kfileitemlistproperties.cpp:170
KFileItemListProperties & operator=(const KFileItemListProperties &other)
Assignment operator.
Definition: kfileitemlistproperties.cpp:120
static bool supportsDeleting(const KUrl &url)
Returns whether the protocol can delete files/objects.
Definition: kprotocolmanager.cpp:1077
List of KFileItems, which adds a few helper methods to QList.
Definition: kfileitem.h:674
bool supportsReading() const
Check if reading capability is supported.
Definition: kfileitemlistproperties.cpp:130
bool supportsDeleting() const
Check if deleting capability is supported.
Definition: kfileitemlistproperties.cpp:135
bool isDirectory() const
Definition: kfileitemlistproperties.cpp:165
KUrl::List urlList() const
List of urls, gathered from the fileitems.
Definition: kfileitemlistproperties.cpp:160
static bool supportsReading(const KUrl &url)
Returns whether the protocol can retrieve data from URLs.
Definition: kprotocolmanager.cpp:1050
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
QString mimeGroup() const
Definition: kfileitemlistproperties.cpp:177
bool isLocalFile() const
static bool supportsMoving(const KUrl &url)
Returns whether the protocol can move files/objects between different locations.
Definition: kprotocolmanager.cpp:1095
bool supportsWriting() const
Check if writing capability is supported (file managers use this mostly for directories) ...
Definition: kfileitemlistproperties.cpp:140
static bool supportsWriting(const KUrl &url)
Returns whether the protocol can store data to URLs.
Definition: kprotocolmanager.cpp:1059
A KFileItem is a generic class to handle a file, local or remote.
Definition: kfileitem.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.