Changeset View
Changeset View
Standalone View
Standalone View
src/panels/places/placesitemmodel.h
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 51 | public: | |||
---|---|---|---|---|---|
93 | * range of the URL. -1 is returned if no closest item | 93 | * range of the URL. -1 is returned if no closest item | ||
94 | * could be found. | 94 | * could be found. | ||
95 | */ | 95 | */ | ||
96 | int closestItem(const QUrl& url) const; | 96 | int closestItem(const QUrl& url) const; | ||
97 | 97 | | |||
98 | QAction* ejectAction(int index) const; | 98 | QAction* ejectAction(int index) const; | ||
99 | QAction* teardownAction(int index) const; | 99 | QAction* teardownAction(int index) const; | ||
100 | 100 | | |||
101 | void requestMount(int index); | ||||
101 | void requestEject(int index); | 102 | void requestEject(int index); | ||
102 | void requestTearDown(int index); | 103 | void requestTearDown(int index); | ||
103 | 104 | | |||
104 | bool storageSetupNeeded(int index) const; | 105 | bool storageSetupNeeded(int index) const; | ||
105 | void requestStorageSetup(int index); | 106 | void requestStorageSetup(int index); | ||
106 | 107 | | |||
107 | QMimeData* createMimeData(const KItemSet& indexes) const override; | 108 | QMimeData* createMimeData(const KItemSet& indexes) const override; | ||
108 | 109 | | |||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |