KFile
Go to the documentation of this file. 20 #ifndef KFILEPLACESITEM_P_H 21 #define KFILEPLACESITEM_P_H 24 #include <QtCore/QObject> 25 #include <QtCore/QPointer> 26 #include <QtCore/QModelIndex> 27 #include <QtCore/QStringList> 37 class PortableMediaPlayer;
45 const QString &address,
46 const QString &udi = QString());
51 bool isDevice()
const;
53 void setBookmark(
const KBookmark &bookmark);
55 QVariant data(
int role)
const;
60 const QString &iconName,
63 const QString &untranslatedLabel,
64 const QString &translatedLabel,
66 const QString &iconName);
71 void itemChanged(
const QString &
id);
74 void onAccessibilityChanged(
bool);
75 void onListerCompleted();
78 QVariant bookmarkData(
int role)
const;
79 QVariant deviceData(
int role)
const;
81 bool hasFullIcon(
const KBookmark &bookmark)
const;
82 QString iconNameForBookmark(
const KBookmark &bookmark)
const;
84 static QString generateNewId();
94 mutable QPointer<Solid::StorageAccess> m_access;
95 mutable QPointer<Solid::StorageVolume> m_volume;
96 mutable QPointer<Solid::OpticalDisc> m_disc;
97 mutable QPointer<Solid::PortableMediaPlayer> m_mtp;
99 QStringList m_emblems;
QString label(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Wed May 10 2017 09:33:48 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.