Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/FullRepresentation.qml
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 92 | if (!plasmoid.configuration.favoritesPortedToKAstats) { | |||
---|---|---|---|---|---|
93 | favoritesModel.portOldFavorites(plasmoid.configuration.favorites); | 93 | favoritesModel.portOldFavorites(plasmoid.configuration.favorites); | ||
94 | plasmoid.configuration.favoritesPortedToKAstats = true; | 94 | plasmoid.configuration.favoritesPortedToKAstats = true; | ||
95 | } | 95 | } | ||
96 | 96 | | |||
97 | rootModel.refresh(); | 97 | rootModel.refresh(); | ||
98 | } | 98 | } | ||
99 | } | 99 | } | ||
100 | 100 | | |||
101 | Kicker.RunnerModel { | | |||
102 | id: runnerModel | | |||
103 | | ||||
104 | appletInterface: plasmoid | | |||
105 | | ||||
106 | runners: { | | |||
107 | var runners = ["services", "places", "desktopsessions", | | |||
108 | "PowerDevil"]; | | |||
109 | | ||||
110 | if (plasmoid.configuration.useExtraRunners) { | | |||
111 | runners = runners.concat(plasmoid.configuration.runners); | | |||
112 | } | | |||
113 | return runners; | | |||
114 | } | | |||
115 | mergeResults: true | | |||
116 | | ||||
117 | favoritesModel: globalFavorites | | |||
118 | } | | |||
119 | | ||||
120 | PlasmaCore.DataSource { | 101 | PlasmaCore.DataSource { | ||
121 | id: pmSource | 102 | id: pmSource | ||
122 | engine: "powermanagement" | 103 | engine: "powermanagement" | ||
123 | connectedSources: ["PowerDevil"] | 104 | connectedSources: ["PowerDevil"] | ||
124 | } | 105 | } | ||
125 | 106 | | |||
126 | PlasmaCore.Svg { | 107 | PlasmaCore.Svg { | ||
127 | id: arrowsSvg | 108 | id: arrowsSvg | ||
▲ Show 20 Lines • Show All 490 Lines • Show Last 20 Lines |