Changeset View
Changeset View
Standalone View
Standalone View
src/panels/places/placesitemsignalhandler.cpp
- This file was copied to src/trash/dolphintrash.h.
Show All 33 Lines | |||||
34 | 34 | | |||
35 | void PlacesItemSignalHandler::onAccessibilityChanged() | 35 | void PlacesItemSignalHandler::onAccessibilityChanged() | ||
36 | { | 36 | { | ||
37 | if (m_item) { | 37 | if (m_item) { | ||
38 | m_item->onAccessibilityChanged(); | 38 | m_item->onAccessibilityChanged(); | ||
39 | } | 39 | } | ||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | void PlacesItemSignalHandler::onTrashDirListerCompleted() | | |||
43 | { | | |||
44 | if (m_item) { | | |||
45 | m_item->onTrashDirListerCompleted(); | | |||
46 | } | | |||
47 | } | | |||
48 | | ||||
49 | void PlacesItemSignalHandler::onTearDownRequested(const QString& udi) | 42 | void PlacesItemSignalHandler::onTearDownRequested(const QString& udi) | ||
50 | { | 43 | { | ||
51 | Q_UNUSED(udi) | 44 | Q_UNUSED(udi) | ||
52 | if (m_item) { | 45 | if (m_item) { | ||
53 | Solid::StorageAccess *tmp = m_item->device().as<Solid::StorageAccess>(); | 46 | Solid::StorageAccess *tmp = m_item->device().as<Solid::StorageAccess>(); | ||
54 | if (tmp) { | 47 | if (tmp) { | ||
55 | QString mountPath = tmp->filePath(); | 48 | QString mountPath = tmp->filePath(); | ||
56 | emit tearDownExternallyRequested(mountPath); | 49 | emit tearDownExternallyRequested(mountPath); | ||
57 | } | 50 | } | ||
58 | } | 51 | } | ||
59 | } | 52 | } | ||
60 | 53 | |