Changeset View
Changeset View
Standalone View
Standalone View
src/editors/rectedit.h
Show All 14 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
15 | along with this library; see the file COPYING.LIB. If not, write to | 15 | along with this library; see the file COPYING.LIB. If not, write to | ||
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef KPROPERTY_RECTEDIT_H | 20 | #ifndef KPROPERTY_RECTEDIT_H | ||
21 | #define KPROPERTY_RECTEDIT_H | 21 | #define KPROPERTY_RECTEDIT_H | ||
22 | 22 | | |||
23 | #include "KPropertyFactory.h" | 23 | #include "KPropertyWidgetsFactory.h" | ||
24 | 24 | | |||
25 | class KPROPERTY_EXPORT KRectComposedProperty : public KComposedPropertyInterface | 25 | class KPROPERTYWIDGETS_EXPORT KRectComposedProperty : public KComposedPropertyInterface | ||
26 | { | 26 | { | ||
27 | public: | 27 | public: | ||
28 | explicit KRectComposedProperty(KProperty *parent); | 28 | explicit KRectComposedProperty(KProperty *parent); | ||
29 | 29 | | |||
30 | virtual void setValue(KProperty *property, | 30 | virtual void setValue(KProperty *property, | ||
31 | const QVariant &value, bool rememberOldValue); | 31 | const QVariant &value, bool rememberOldValue); | ||
32 | 32 | | |||
33 | virtual void childValueChanged(KProperty *child, | 33 | virtual void childValueChanged(KProperty *child, | ||
34 | const QVariant &value, bool rememberOldValue); | 34 | const QVariant &value, bool rememberOldValue); | ||
35 | }; | 35 | }; | ||
36 | 36 | | |||
37 | class KPROPERTY_EXPORT KPropertyRectDelegate : public KPropertyLabelCreator, | 37 | class KPROPERTYWIDGETS_EXPORT KPropertyRectDelegate : public KPropertyLabelCreator, | ||
38 | public KComposedPropertyCreator<KRectComposedProperty> | 38 | public KComposedPropertyCreator<KRectComposedProperty> | ||
39 | { | 39 | { | ||
40 | public: | 40 | public: | ||
41 | KPropertyRectDelegate() {} | 41 | KPropertyRectDelegate() {} | ||
42 | virtual QString displayText( const QVariant& value ) const; | 42 | virtual QString displayText( const QVariant& value ) const; | ||
43 | }; | 43 | }; | ||
44 | 44 | | |||
45 | #endif | 45 | #endif |