Changeset View
Changeset View
Standalone View
Standalone View
src/core/collection.h
Show First 20 Lines • Show All 515 Lines • ▼ Show 20 Line(s) | 78 | public: | |||
---|---|---|---|---|---|
516 | * the right setting. | 516 | * the right setting. | ||
517 | * | 517 | * | ||
518 | * @since 4.14 | 518 | * @since 4.14 | ||
519 | * @see setLocalListPreference, setEnabled | 519 | * @see setLocalListPreference, setEnabled | ||
520 | */ | 520 | */ | ||
521 | void setShouldList(ListPurpose purpose, bool shouldList); | 521 | void setShouldList(ListPurpose purpose, bool shouldList); | ||
522 | 522 | | |||
523 | /** | 523 | /** | ||
524 | * Sets a collection to be referenced. | | |||
525 | * | | |||
526 | * A referenced collection is temporarily shown and synchronized even when disabled. | | |||
527 | * A reference is only valid for the duration of a session, and is automatically removed afterwards. | | |||
528 | * | | |||
529 | * Referenced collections are only visible if explicitly monitored in the ETM. | | |||
530 | * | | |||
531 | * @since 4.14 | | |||
532 | */ | | |||
533 | void setReferenced(bool referenced); | | |||
534 | | ||||
535 | /** | | |||
536 | * Returns the referenced state of the collection. | | |||
537 | * @since 4.14 | | |||
538 | */ | | |||
539 | Q_REQUIRED_RESULT bool referenced() const; | | |||
540 | | ||||
541 | /** | | |||
542 | * Set during sync to indicate that the provided parts are only default values; | 524 | * Set during sync to indicate that the provided parts are only default values; | ||
543 | * @since 4.15 | 525 | * @since 4.15 | ||
544 | */ | 526 | */ | ||
545 | void setKeepLocalChanges(const QSet<QByteArray> &parts); | 527 | void setKeepLocalChanges(const QSet<QByteArray> &parts); | ||
546 | 528 | | |||
547 | /** | 529 | /** | ||
548 | * Returns what parts are only default values. | 530 | * Returns what parts are only default values. | ||
549 | */ | 531 | */ | ||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |