Changeset View
Changeset View
Standalone View
Standalone View
src/KProperty_p.h
1 | /* This file is part of the KDE project | 1 | /* This file is part of the KDE project | ||
---|---|---|---|---|---|
2 | Copyright (C) 2009-2016 Jarosław Staniek <staniek@kde.org> | 2 | Copyright (C) 2009-2017 Jarosław Staniek <staniek@kde.org> | ||
3 | 3 | | |||
4 | This library is free software; you can redistribute it and/or | 4 | This library is free software; you can redistribute it and/or | ||
5 | modify it under the terms of the GNU Library General Public | 5 | modify it under the terms of the GNU Library General Public | ||
6 | License as published by the Free Software Foundation; either | 6 | License as published by the Free Software Foundation; either | ||
7 | version 2 of the License, or (at your option) any later version. | 7 | version 2 of the License, or (at your option) any later version. | ||
8 | 8 | | |||
9 | This library is distributed in the hope that it will be useful, | 9 | This library is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 32 | public: | |||
75 | /*! The string-to-value correspondence list of the property.*/ | 75 | /*! The string-to-value correspondence list of the property.*/ | ||
76 | KPropertyListData* listData; | 76 | KPropertyListData* listData; | ||
77 | QString iconName; | 77 | QString iconName; | ||
78 | 78 | | |||
79 | bool changed; | 79 | bool changed; | ||
80 | bool storable; | 80 | bool storable; | ||
81 | bool readOnly; | 81 | bool readOnly; | ||
82 | bool visible; | 82 | bool visible; | ||
83 | int autosync; | 83 | KProperty::ValueSyncPolicy valueSyncPolicy = KProperty::ValueSyncPolicy::Editor; | ||
84 | QMap<QByteArray, QVariant> options; | 84 | QMap<QByteArray, QVariant> options; | ||
85 | 85 | | |||
86 | KComposedPropertyInterface *composed; | 86 | KComposedPropertyInterface *composed; | ||
87 | //! Flag used to allow composed property to use setValue() without causing recursion | 87 | //! Flag used to allow composed property to use setValue() without causing recursion | ||
88 | bool useComposedProperty; | 88 | bool useComposedProperty; | ||
89 | 89 | | |||
90 | //! Used when a single set is assigned for the property | 90 | //! Used when a single set is assigned for the property | ||
91 | QPointer<KPropertySet> set; | 91 | QPointer<KPropertySet> set; | ||
Show All 10 Lines |