Changeset View
Changeset View
Standalone View
Standalone View
src/KPropertyEditorDataModel.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_EDITORDATAMODEL_H | 20 | #ifndef KPROPERTY_EDITORDATAMODEL_H | ||
21 | #define KPROPERTY_EDITORDATAMODEL_H | 21 | #define KPROPERTY_EDITORDATAMODEL_H | ||
22 | 22 | | |||
23 | #include "kpropertywidgets_export.h" | ||||
24 | #include "KPropertySet.h" | ||||
25 | | ||||
23 | #include <QAbstractItemModel> | 26 | #include <QAbstractItemModel> | ||
24 | #include <QModelIndex> | 27 | #include <QModelIndex> | ||
25 | 28 | | |||
26 | #include "KPropertySet.h" | | |||
27 | | ||||
28 | class KProperty; | 29 | class KProperty; | ||
29 | 30 | | |||
30 | /*! @short A data model for using Set objects within the Qt's model/view API. | 31 | /*! @short A data model for using Set objects within the Qt's model/view API. | ||
31 | @see KPropertyEditorView | 32 | @see KPropertyEditorView | ||
32 | */ | 33 | */ | ||
33 | class KPROPERTY_EXPORT KPropertyEditorDataModel : public QAbstractItemModel | 34 | class KPROPERTYWIDGETS_EXPORT KPropertyEditorDataModel : public QAbstractItemModel | ||
34 | { | 35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT | ||
36 | 37 | | |||
37 | public: | 38 | public: | ||
38 | explicit KPropertyEditorDataModel(KPropertySet &propertySet, QObject *parent = 0, | 39 | explicit KPropertyEditorDataModel(KPropertySet &propertySet, QObject *parent = 0, | ||
39 | KPropertySetIterator::Order order = KPropertySetIterator::InsertionOrder); | 40 | KPropertySetIterator::Order order = KPropertySetIterator::InsertionOrder); | ||
40 | ~KPropertyEditorDataModel(); | 41 | ~KPropertyEditorDataModel(); | ||
41 | 42 | | |||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |