На цій сторінці

Utils::TypedAspect Class

template <typename ValueType> class Utils::TypedAspect

Клас « TypedAspect » — це допоміжний клас для реалізації простого аспекту. Детальніше...

Публічні функції

void setDefaultValue(const ValueType &value)

Детальний опис

Типізований аспект містить один елемент даних типу ValueType.

Документація до функцій-членів

void TypedAspect::setDefaultValue(const ValueType &value)

Встановлює значення за замовчуванням для аспекту « value » та поточне значення для цього аспекту.

Примітка: Поточнезначення буде приховано встановлено на те саме значення. Доцільно встановлювати значення за замовчуванням лише на етапі налаштування аспекту.

Значення за замовчуванням не зберігатимуться в налаштуваннях.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.