Changeset View
Changeset View
Standalone View
Standalone View
karbon/ui/dockers/KarbonLayerModel.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
47 | virtual QModelIndex parent(const QModelIndex &child) const; | 47 | virtual QModelIndex parent(const QModelIndex &child) const; | ||
48 | virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; | 48 | virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; | ||
49 | virtual Qt::ItemFlags flags(const QModelIndex &index) const; | 49 | virtual Qt::ItemFlags flags(const QModelIndex &index) const; | ||
50 | virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); | 50 | virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); | ||
51 | virtual Qt::DropActions supportedDropActions() const; | 51 | virtual Qt::DropActions supportedDropActions() const; | ||
52 | virtual QStringList mimeTypes() const; | 52 | virtual QStringList mimeTypes() const; | ||
53 | virtual QMimeData * mimeData(const QModelIndexList & indexes) const; | 53 | virtual QMimeData * mimeData(const QModelIndexList & indexes) const; | ||
54 | virtual bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent); | 54 | virtual bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent); | ||
55 | virtual Qt::DropActions supportedDragActions() const; | ||||
55 | 56 | | |||
56 | public Q_SLOTS: | 57 | public Q_SLOTS: | ||
57 | /// Triggers an update of the complete model | 58 | /// Triggers an update of the complete model | ||
58 | void update(); | 59 | void update(); | ||
59 | 60 | | |||
60 | private: | 61 | private: | ||
61 | /// Returns properties of the given shape | 62 | /// Returns properties of the given shape | ||
62 | PropertyList properties(KoShape* shape) const; | 63 | PropertyList properties(KoShape* shape) const; | ||
Show All 18 Lines |