Changeset View
Changeset View
Standalone View
Standalone View
src/editors/sizefedit.h
1 | /* This file is part of the KDE project | 1 | /* This file is part of the KDE project | ||
---|---|---|---|---|---|
2 | Copyright (C) 2004 Cedric Pasteur <cedric.pasteur@free.fr> | 2 | Copyright (C) 2004 Cedric Pasteur <cedric.pasteur@free.fr> | ||
3 | Copyright (C) 2004 Alexander Dymo <cloudtemple@mskat.net> | 3 | Copyright (C) 2004 Alexander Dymo <cloudtemple@mskat.net> | ||
4 | Copyright (C) 2008-2015 Jarosław Staniek <staniek@kde.org> | 4 | Copyright (C) 2008-2017 Jarosław Staniek <staniek@kde.org> | ||
5 | 5 | | |||
6 | This library is free software; you can redistribute it and/or | 6 | This library is free software; you can redistribute it and/or | ||
7 | modify it under the terms of the GNU Library General Public | 7 | modify it under the terms of the GNU Library General Public | ||
8 | License as published by the Free Software Foundation; either | 8 | License as published by the Free Software Foundation; either | ||
9 | version 2 of the License, or (at your option) any later version. | 9 | version 2 of the License, or (at your option) any later version. | ||
10 | 10 | | |||
11 | This library is distributed in the hope that it will be useful, | 11 | This library is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
Show All 24 Lines | |||||
37 | }; | 37 | }; | ||
38 | 38 | | |||
39 | class KPROPERTYWIDGETS_EXPORT KPropertySizeFDelegate : public KPropertyLabelCreator, | 39 | class KPROPERTYWIDGETS_EXPORT KPropertySizeFDelegate : public KPropertyLabelCreator, | ||
40 | public KComposedPropertyCreator<KSizeFComposedProperty> | 40 | public KComposedPropertyCreator<KSizeFComposedProperty> | ||
41 | { | 41 | { | ||
42 | public: | 42 | public: | ||
43 | KPropertySizeFDelegate(); | 43 | KPropertySizeFDelegate(); | ||
44 | 44 | | |||
45 | QString propertyValueToString(const KProperty *property, | ||||
46 | const QLocale &locale) const override; | ||||
47 | | ||||
45 | virtual QString valueToString(const QVariant& value, const QLocale &locale) const; | 48 | virtual QString valueToString(const QVariant& value, const QLocale &locale) const; | ||
46 | }; | 49 | }; | ||
47 | 50 | | |||
48 | #endif | 51 | #endif |