Nepomuk-Core
removablemediacache.cpp
Go to the documentation of this file.
101 QList<const Nepomuk2::RemovableMediaCache::Entry *> Nepomuk2::RemovableMediaCache::allMedia() const
105 for(QHash<QString, Entry>::const_iterator it = m_metadataCache.begin(); it != m_metadataCache.end(); ++it)
110 Nepomuk2::RemovableMediaCache::Entry* Nepomuk2::RemovableMediaCache::createCacheEntry( const Solid::Device& dev )
140 const Nepomuk2::RemovableMediaCache::Entry* Nepomuk2::RemovableMediaCache::findEntryByFilePath( const QString& path ) const
158 const Nepomuk2::RemovableMediaCache::Entry* Nepomuk2::RemovableMediaCache::findEntryByUrl(const KUrl &url) const
175 QList<const Nepomuk2::RemovableMediaCache::Entry*> Nepomuk2::RemovableMediaCache::findEntriesByMountPath(const QString &path) const
227 void Nepomuk2::RemovableMediaCache::slotAccessibilityChanged( bool accessible, const QString& udi )
288 QString Nepomuk2::RemovableMediaCache::Entry::constructRelativeUrlString(const QString &path) const
bool isMounted() const
Definition: removablemediacache.cpp:332
void deviceAdded(const Nepomuk2::RemovableMediaCache::Entry *entry)
QString constructRelativeUrlString(const QString &path) const
Does the same as constructRelativeUrl except that no char conversion will ever take place...
Definition: removablemediacache.cpp:288
void deviceRemoved(const Nepomuk2::RemovableMediaCache::Entry *entry)
QString mountPath() const
Definition: removablemediacache.cpp:322
bool isEmpty() const
Returns true if they are no devices in the RemoveableMediaCache.
Definition: removablemediacache.cpp:198
QList< const Entry * > allMedia() const
Definition: removablemediacache.cpp:101
Solid::Device device() const
Definition: removablemediacache.h:66
const Entry * findEntryByFilePath(const QString &path) const
Definition: removablemediacache.cpp:140
const Entry * findEntryByUrl(const KUrl &url) const
Definition: removablemediacache.cpp:158
~RemovableMediaCache()
Definition: removablemediacache.cpp:80
RemovableMediaCache(QObject *parent=0)
Definition: removablemediacache.cpp:67
KUrl constructRelativeUrl(const QString &path) const
Definition: removablemediacache.cpp:301
KUrl constructLocalFileUrl(const KUrl &filexUrl) const
Definition: removablemediacache.cpp:307
bool hasRemovableSchema(const KUrl &url) const
Returns true if the URL might be pointing to a file on a removable device as handled by this class...
Definition: removablemediacache.cpp:192
QList< const Entry * > findEntriesByMountPath(const QString &path) const
Searches for entries which are mounted at a path which starts with the given one. ...
Definition: removablemediacache.cpp:175
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 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:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.