Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/FolderView.qml
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 32 | Item { | |||
---|---|---|---|---|---|
63 | 63 | | |||
64 | function rename() | 64 | function rename() | ||
65 | { | 65 | { | ||
66 | if (gridView.currentIndex != -1) { | 66 | if (gridView.currentIndex != -1) { | ||
67 | editor.targetItem = gridView.currentItem; | 67 | editor.targetItem = gridView.currentItem; | ||
68 | } | 68 | } | ||
69 | } | 69 | } | ||
70 | 70 | | |||
71 | function cancelRename() { | ||||
72 | editor.targetItem = null; | ||||
73 | } | ||||
74 | | ||||
71 | function linkHere(sourceUrl) { | 75 | function linkHere(sourceUrl) { | ||
72 | dir.linkHere(sourceUrl); | 76 | dir.linkHere(sourceUrl); | ||
73 | } | 77 | } | ||
74 | 78 | | |||
75 | function handleDragMove(x, y) { | 79 | function handleDragMove(x, y) { | ||
76 | var child = childAt(x, y); | 80 | var child = childAt(x, y); | ||
77 | 81 | | |||
78 | if (child != null && child == backButton) { | 82 | if (child != null && child == backButton) { | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |