Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/corona.h
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Line(s) | 71 | #endif | |||
---|---|---|---|---|---|
252 | */ | 252 | */ | ||
253 | virtual int screenForContainment(const Containment *containment) const; | 253 | virtual int screenForContainment(const Containment *containment) const; | ||
254 | 254 | | |||
255 | /** | 255 | /** | ||
256 | * @return The type of immutability of this Corona | 256 | * @return The type of immutability of this Corona | ||
257 | */ | 257 | */ | ||
258 | Types::ImmutabilityType immutability() const; | 258 | Types::ImmutabilityType immutability() const; | ||
259 | 259 | | |||
260 | /** | ||||
261 | * Set the Corona globally into "edit mode" | ||||
262 | * Only when the corona is of mutable type can be set of edit mode. | ||||
263 | * This indicates the UI to make easy for the user to manipulate applets. | ||||
264 | * @param edit | ||||
265 | * @since 5.63 | ||||
266 | */ | ||||
267 | void setEditMode(bool edit); | ||||
268 | | ||||
269 | /** | ||||
270 | * @returns true if the corona is in edit mode | ||||
271 | * @since 5.63 | ||||
272 | */ | ||||
273 | bool isEditMode() const; | ||||
274 | | ||||
260 | public Q_SLOTS: | 275 | public Q_SLOTS: | ||
261 | /** | 276 | /** | ||
262 | * Load applet layout from a config file. The results will be added to the | 277 | * Load applet layout from a config file. The results will be added to the | ||
263 | * current set of Containments. | 278 | * current set of Containments. | ||
264 | * | 279 | * | ||
265 | * @param config the name of the config file to load from, | 280 | * @param config the name of the config file to load from, | ||
266 | * or the default config file if QString() | 281 | * or the default config file if QString() | ||
267 | */ | 282 | */ | ||
▲ Show 20 Lines • Show All 85 Lines • ▼ Show 20 Line(s) | 313 | Q_SIGNALS: | |||
353 | */ | 368 | */ | ||
354 | void screenRemoved(int id); | 369 | void screenRemoved(int id); | ||
355 | 370 | | |||
356 | /** This signal indicates a new screen with the specified id was added. | 371 | /** This signal indicates a new screen with the specified id was added. | ||
357 | * @since 5.40 | 372 | * @since 5.40 | ||
358 | */ | 373 | */ | ||
359 | void screenAdded(int id); | 374 | void screenAdded(int id); | ||
360 | 375 | | |||
376 | /** | ||||
377 | * emitted when the editMode state changes | ||||
378 | * @see isEditMode() | ||||
379 | * @since 5.63 | ||||
380 | */ | ||||
381 | void editModeChanged(); | ||||
382 | | ||||
361 | #ifndef PLASMA_NO_DEPRECATED | 383 | #ifndef PLASMA_NO_DEPRECATED | ||
362 | /** | 384 | /** | ||
363 | * Emitted when the package for this corona has been changed. | 385 | * Emitted when the package for this corona has been changed. | ||
364 | * Shells must support changing the shell package on the fly (for instance due to device form factor changing) | 386 | * Shells must support changing the shell package on the fly (for instance due to device form factor changing) | ||
365 | * | 387 | * | ||
366 | * @deprecated use kPackageChanged instead | 388 | * @deprecated use kPackageChanged instead | ||
367 | * @param package the new package that defines the Corona furniture and behavior | 389 | * @param package the new package that defines the Corona furniture and behavior | ||
368 | */ | 390 | */ | ||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |