Changeset View
Changeset View
Standalone View
Standalone View
src/panels/places/placesitemmodel.h
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
86 | * candidates, return the item which covers the biggest | 86 | * candidates, return the item which covers the biggest | ||
87 | * range of the URL. -1 is returned if no closest item | 87 | * range of the URL. -1 is returned if no closest item | ||
88 | * could be found. | 88 | * could be found. | ||
89 | */ | 89 | */ | ||
90 | int closestItem(const QUrl& url) const; | 90 | int closestItem(const QUrl& url) const; | ||
91 | 91 | | |||
92 | QAction* ejectAction(int index) const; | 92 | QAction* ejectAction(int index) const; | ||
93 | QAction* teardownAction(int index) const; | 93 | QAction* teardownAction(int index) const; | ||
94 | QAction* changeLabelAction(int index) const; | ||||
94 | 95 | | |||
95 | void requestEject(int index); | 96 | void requestEject(int index); | ||
96 | void requestTearDown(int index); | 97 | void requestTearDown(int index); | ||
98 | void requestChangeLabel(int index); | ||||
97 | 99 | | |||
98 | bool storageSetupNeeded(int index) const; | 100 | bool storageSetupNeeded(int index) const; | ||
99 | void requestStorageSetup(int index); | 101 | void requestStorageSetup(int index); | ||
100 | 102 | | |||
101 | QMimeData* createMimeData(const KItemSet& indexes) const override; | 103 | QMimeData* createMimeData(const KItemSet& indexes) const override; | ||
102 | 104 | | |||
103 | bool supportsDropping(int index) const override; | 105 | bool supportsDropping(int index) const override; | ||
104 | 106 | | |||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |