Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/corona.h
Show All 36 Lines | |||||
37 | * @class Corona plasma/Corona.h <Plasma/Corona> | 37 | * @class Corona plasma/Corona.h <Plasma/Corona> | ||
38 | * | 38 | * | ||
39 | * @short A bookkeeping Scene for Plasma::Applets | 39 | * @short A bookkeeping Scene for Plasma::Applets | ||
40 | */ | 40 | */ | ||
41 | class PLASMA_EXPORT Corona : public QObject | 41 | class PLASMA_EXPORT Corona : public QObject | ||
42 | { | 42 | { | ||
43 | Q_OBJECT | 43 | Q_OBJECT | ||
44 | Q_PROPERTY(bool isStartupCompleted READ isStartupCompleted NOTIFY startupCompleted) | 44 | Q_PROPERTY(bool isStartupCompleted READ isStartupCompleted NOTIFY startupCompleted) | ||
45 | Q_PROPERTY(bool editMode READ isEditMode WRITE setEditMode NOTIFY editModeChanged) | ||||
45 | Q_PROPERTY(Package package READ package NOTIFY packageChanged) | 46 | Q_PROPERTY(Package package READ package NOTIFY packageChanged) | ||
46 | Q_PROPERTY(KPackage::Package kPackage READ kPackage NOTIFY kPackageChanged) | 47 | Q_PROPERTY(KPackage::Package kPackage READ kPackage NOTIFY kPackageChanged) | ||
47 | 48 | | |||
48 | public: | 49 | public: | ||
49 | explicit Corona(QObject *parent = nullptr); | 50 | explicit Corona(QObject *parent = nullptr); | ||
50 | ~Corona(); | 51 | ~Corona(); | ||
51 | 52 | | |||
52 | #ifndef PLASMA_NO_DEPRECATED | 53 | #ifndef PLASMA_NO_DEPRECATED | ||
▲ Show 20 Lines • Show All 320 Lines • ▼ Show 20 Line(s) | 314 | Q_SIGNALS: | |||
373 | */ | 374 | */ | ||
374 | void screenAdded(int id); | 375 | void screenAdded(int id); | ||
375 | 376 | | |||
376 | /** | 377 | /** | ||
377 | * emitted when the editMode state changes | 378 | * emitted when the editMode state changes | ||
378 | * @see isEditMode() | 379 | * @see isEditMode() | ||
379 | * @since 5.63 | 380 | * @since 5.63 | ||
380 | */ | 381 | */ | ||
381 | void editModeChanged(); | 382 | void editModeChanged(bool edit); | ||
382 | 383 | | |||
383 | #ifndef PLASMA_NO_DEPRECATED | 384 | #ifndef PLASMA_NO_DEPRECATED | ||
384 | /** | 385 | /** | ||
385 | * Emitted when the package for this corona has been changed. | 386 | * Emitted when the package for this corona has been changed. | ||
386 | * Shells must support changing the shell package on the fly (for instance due to device form factor changing) | 387 | * Shells must support changing the shell package on the fly (for instance due to device form factor changing) | ||
387 | * | 388 | * | ||
388 | * @deprecated use kPackageChanged instead | 389 | * @deprecated use kPackageChanged instead | ||
389 | * @param package the new package that defines the Corona furniture and behavior | 390 | * @param package the new package that defines the Corona furniture and behavior | ||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |