Changeset View
Changeset View
Standalone View
Standalone View
stage/part/tools/animationtool/KPrCollectionItemModel.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
47 | { | 47 | { | ||
48 | Q_OBJECT | 48 | Q_OBJECT | ||
49 | public: | 49 | public: | ||
50 | explicit KPrCollectionItemModel(QObject *parent = 0); | 50 | explicit KPrCollectionItemModel(QObject *parent = 0); | ||
51 | 51 | | |||
52 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | 52 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ||
53 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | 53 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ||
54 | virtual Qt::ItemFlags flags(const QModelIndex &index) const; | 54 | virtual Qt::ItemFlags flags(const QModelIndex &index) const; | ||
55 | virtual Qt::DropActions supportedDragActions() const; | ||||
55 | 56 | | |||
56 | /** | 57 | /** | ||
57 | * @brief Set the list of KoCollectionItem to be stored in the model | 58 | * @brief Set the list of KoCollectionItem to be stored in the model | ||
58 | * | 59 | * | ||
59 | * @param List of KPrCollectionItem | 60 | * @param List of KPrCollectionItem | ||
60 | */ | 61 | */ | ||
61 | void setAnimationClassList(const QVector<KPrCollectionItem> &newlist); | 62 | void setAnimationClassList(const QVector<KPrCollectionItem> &newlist); | ||
62 | 63 | | |||
Show All 14 Lines |