Changeset View
Changeset View
Standalone View
Standalone View
src/collection/readonlycontainermodel.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 37 | public: | |||
---|---|---|---|---|---|
49 | int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | 49 | int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||
50 | int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | 50 | int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||
51 | 51 | | |||
52 | KEduVocContainer::EnumContainerType containerType(); | 52 | KEduVocContainer::EnumContainerType containerType(); | ||
53 | 53 | | |||
54 | public slots: | 54 | public slots: | ||
55 | /** Set the new source kvtml file | 55 | /** Set the new source kvtml file | ||
56 | * @param doc the new file */ | 56 | * @param doc the new file */ | ||
57 | void setDocument(KEduVocDocument *doc); | 57 | virtual void setDocument(KEduVocDocument *doc); | ||
58 | 58 | | |||
59 | protected: | 59 | protected: | ||
60 | virtual KEduVocContainer *rootContainer() const = 0; | 60 | virtual KEduVocContainer *rootContainer() const = 0; | ||
61 | KEduVocContainer::EnumContainerType m_type; | 61 | KEduVocContainer::EnumContainerType m_type; | ||
62 | KEduVocDocument *m_doc; | 62 | KEduVocDocument *m_doc; | ||
63 | }; | 63 | }; | ||
64 | 64 | | |||
65 | 65 | | |||
66 | #endif | 66 | #endif |