Changeset View
Changeset View
Standalone View
Standalone View
src/panels/places/placesitem.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 83 | private: | |||
---|---|---|---|---|---|
85 | 85 | | |||
86 | void initializeDevice(const QString& udi); | 86 | void initializeDevice(const QString& udi); | ||
87 | 87 | | |||
88 | /** | 88 | /** | ||
89 | * Is invoked if the accessibility of the storage access | 89 | * Is invoked if the accessibility of the storage access | ||
90 | * m_access has been changed and updates the emblem. | 90 | * m_access has been changed and updates the emblem. | ||
91 | */ | 91 | */ | ||
92 | void onAccessibilityChanged(); | 92 | void onAccessibilityChanged(); | ||
93 | 93 | | |||
94 | /** | 94 | /** | ||
markg: Where is the function body? It's not in placesitem.cpp. | |||||
95 | * Is invoked if the listing of the trash has been completed. | | |||
96 | * Updates the state of the trash-icon to be empty or full. | | |||
97 | */ | | |||
98 | void onTrashDirListerCompleted(); | | |||
99 | | ||||
100 | /** | | |||
101 | * Applies the data-value from the role to m_bookmark. | 95 | * Applies the data-value from the role to m_bookmark. | ||
102 | */ | 96 | */ | ||
103 | void updateBookmarkForRole(const QByteArray& role); | 97 | void updateBookmarkForRole(const QByteArray& role); | ||
104 | 98 | | |||
105 | static QString generateNewId(); | 99 | static QString generateNewId(); | ||
106 | 100 | | |||
107 | private: | 101 | private: | ||
108 | Solid::Device m_device; | 102 | Solid::Device m_device; | ||
109 | QPointer<Solid::StorageAccess> m_access; | 103 | QPointer<Solid::StorageAccess> m_access; | ||
110 | QPointer<Solid::StorageVolume> m_volume; | 104 | QPointer<Solid::StorageVolume> m_volume; | ||
111 | QPointer<Solid::OpticalDisc> m_disc; | 105 | QPointer<Solid::OpticalDisc> m_disc; | ||
112 | QPointer<Solid::PortableMediaPlayer> m_mtp; | 106 | QPointer<Solid::PortableMediaPlayer> m_mtp; | ||
113 | QPointer<PlacesItemSignalHandler> m_signalHandler; | 107 | QPointer<PlacesItemSignalHandler> m_signalHandler; | ||
114 | QPointer<KDirLister> m_trashDirLister; | 108 | QPointer<KDirLister> m_trashDirLister; | ||
115 | KBookmark m_bookmark; | 109 | KBookmark m_bookmark; | ||
116 | 110 | | |||
117 | friend class PlacesItemSignalHandler; // Calls onAccessibilityChanged() | 111 | friend class PlacesItemSignalHandler; // Calls onAccessibilityChanged() | ||
118 | }; | 112 | }; | ||
Where is the function body? It's not in placesitem.cpp. markg: Where is the function body? It's not in placesitem.cpp.
Also, why here? move it up ~20 lines… | |||||
119 | 113 | | |||
120 | #endif | 114 | #endif | ||
121 | 115 | | |||
122 | 116 | |
Where is the function body? It's not in placesitem.cpp.