Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/package/contents/ui/main.qml
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 78 | Kicker.RootModel { | |||
---|---|---|---|---|---|
85 | sorted: plasmoid.configuration.alphaSort | 85 | sorted: plasmoid.configuration.alphaSort | ||
86 | showSeparators: !isDash | 86 | showSeparators: !isDash | ||
87 | appletInterface: plasmoid | 87 | appletInterface: plasmoid | ||
88 | 88 | | |||
89 | showAllApps: isDash | 89 | showAllApps: isDash | ||
90 | showRecentApps: plasmoid.configuration.showRecentApps | 90 | showRecentApps: plasmoid.configuration.showRecentApps | ||
91 | showRecentDocs: plasmoid.configuration.showRecentDocs | 91 | showRecentDocs: plasmoid.configuration.showRecentDocs | ||
92 | showRecentContacts: plasmoid.configuration.showRecentContacts | 92 | showRecentContacts: plasmoid.configuration.showRecentContacts | ||
93 | recentOrdering: plasmoid.configuration.recentOrdering | ||||
93 | 94 | | |||
94 | onShowRecentAppsChanged: { | 95 | onShowRecentAppsChanged: { | ||
95 | plasmoid.configuration.showRecentApps = showRecentApps; | 96 | plasmoid.configuration.showRecentApps = showRecentApps; | ||
96 | } | 97 | } | ||
97 | 98 | | |||
98 | onShowRecentDocsChanged: { | 99 | onShowRecentDocsChanged: { | ||
99 | plasmoid.configuration.showRecentDocs = showRecentDocs; | 100 | plasmoid.configuration.showRecentDocs = showRecentDocs; | ||
100 | } | 101 | } | ||
101 | 102 | | |||
102 | onShowRecentContactsChanged: { | 103 | onShowRecentContactsChanged: { | ||
103 | plasmoid.configuration.showRecentContacts = showRecentContacts; | 104 | plasmoid.configuration.showRecentContacts = showRecentContacts; | ||
104 | } | 105 | } | ||
105 | 106 | | |||
107 | onRecentOrderingChanged: { | ||||
108 | plasmoid.configuration.recentOrdering = recentOrdering; | ||||
109 | } | ||||
110 | | ||||
106 | Component.onCompleted: { | 111 | Component.onCompleted: { | ||
107 | favoritesModel.favorites = plasmoid.configuration.favoriteApps; | 112 | favoritesModel.favorites = plasmoid.configuration.favoriteApps; | ||
108 | rootModel.refresh(); | 113 | rootModel.refresh(); | ||
109 | } | 114 | } | ||
110 | } | 115 | } | ||
111 | 116 | | |||
112 | Connections { | 117 | Connections { | ||
113 | target: globalFavorites | 118 | target: globalFavorites | ||
▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines |