Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/GeoDataTreeModel.h
Show All 40 Lines | 37 | public: | |||
---|---|---|---|---|---|
41 | * | 41 | * | ||
42 | * @param parent The parent object. | 42 | * @param parent The parent object. | ||
43 | */ | 43 | */ | ||
44 | explicit GeoDataTreeModel( QObject *parent = 0 ); | 44 | explicit GeoDataTreeModel( QObject *parent = 0 ); | ||
45 | 45 | | |||
46 | /** | 46 | /** | ||
47 | * Destroys the GeoDataModel. | 47 | * Destroys the GeoDataModel. | ||
48 | */ | 48 | */ | ||
49 | ~GeoDataTreeModel(); | 49 | ~GeoDataTreeModel() override; | ||
50 | 50 | | |||
51 | virtual bool hasChildren(const QModelIndex &parent) const override; | 51 | bool hasChildren(const QModelIndex &parent) const override; | ||
52 | 52 | | |||
53 | /** | 53 | /** | ||
54 | * Return the number of Items in the Model. | 54 | * Return the number of Items in the Model. | ||
55 | */ | 55 | */ | ||
56 | int rowCount(const QModelIndex &parent = QModelIndex()) const override; | 56 | int rowCount(const QModelIndex &parent = QModelIndex()) const override; | ||
57 | 57 | | |||
58 | QVariant headerData(int section, Qt::Orientation orientation, | 58 | QVariant headerData(int section, Qt::Orientation orientation, | ||
59 | int role = Qt::DisplayRole) const override; | 59 | int role = Qt::DisplayRole) const override; | ||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |