Changeset View
Changeset View
Standalone View
Standalone View
plugins/documentview/kdevdocumentselection.h
Show All 23 Lines | |||||
24 | 24 | | |||
25 | class KDevDocumentSelection: public QItemSelectionModel | 25 | class KDevDocumentSelection: public QItemSelectionModel | ||
26 | { | 26 | { | ||
27 | Q_OBJECT | 27 | Q_OBJECT | ||
28 | public: | 28 | public: | ||
29 | explicit KDevDocumentSelection( QAbstractItemModel* model ); | 29 | explicit KDevDocumentSelection( QAbstractItemModel* model ); | ||
30 | ~KDevDocumentSelection() override; | 30 | ~KDevDocumentSelection() override; | ||
31 | 31 | | |||
32 | public slots: | 32 | public Q_SLOTS: | ||
33 | void select( const QModelIndex & index, | 33 | void select( const QModelIndex & index, | ||
34 | QItemSelectionModel::SelectionFlags command ) override; | 34 | QItemSelectionModel::SelectionFlags command ) override; | ||
35 | void select( const QItemSelection & selection, | 35 | void select( const QItemSelection & selection, | ||
36 | QItemSelectionModel::SelectionFlags command ) override; | 36 | QItemSelectionModel::SelectionFlags command ) override; | ||
37 | }; | 37 | }; | ||
38 | 38 | | |||
39 | #endif // KDEVPLATFORM_PLUGIN_KDEVDOCUMENTSELECTION_H | 39 | #endif // KDEVPLATFORM_PLUGIN_KDEVDOCUMENTSELECTION_H | ||
40 | 40 | |