Changeset View
Changeset View
Standalone View
Standalone View
src/editors/fontedit.h
Show All 16 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
17 | along with this library; see the file COPYING.LIB. If not, write to | 17 | along with this library; see the file COPYING.LIB. If not, write to | ||
18 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
19 | * Boston, MA 02110-1301, USA. | 19 | * Boston, MA 02110-1301, USA. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #ifndef KPROPERTY_FONTEDIT_H | 22 | #ifndef KPROPERTY_FONTEDIT_H | ||
23 | #define KPROPERTY_FONTEDIT_H | 23 | #define KPROPERTY_FONTEDIT_H | ||
24 | 24 | | |||
25 | #include "KPropertyFactory.h" | 25 | #include "KPropertyWidgetsFactory.h" | ||
26 | 26 | | |||
27 | 27 | | |||
28 | class KPROPERTY_EXPORT KPropertyFontDelegate : public KPropertyEditorCreatorInterface, | 28 | class KPROPERTYWIDGETS_EXPORT KPropertyFontDelegate : public KPropertyEditorCreatorInterface, | ||
29 | public KPropertyValuePainterInterface | 29 | public KPropertyValuePainterInterface | ||
30 | { | 30 | { | ||
31 | public: | 31 | public: | ||
32 | KPropertyFontDelegate() {} | 32 | KPropertyFontDelegate() {} | ||
33 | virtual QWidget * createEditor( int type, QWidget *parent, | 33 | virtual QWidget * createEditor( int type, QWidget *parent, | ||
34 | const QStyleOptionViewItem & option, const QModelIndex & index ) const; | 34 | const QStyleOptionViewItem & option, const QModelIndex & index ) const; | ||
35 | virtual void paint( QPainter * painter, | 35 | virtual void paint( QPainter * painter, | ||
36 | const QStyleOptionViewItem & option, const QModelIndex & index ) const; | 36 | const QStyleOptionViewItem & option, const QModelIndex & index ) const; | ||
37 | }; | 37 | }; | ||
38 | 38 | | |||
39 | #endif | 39 | #endif |