Changeset View
Changeset View
Standalone View
Standalone View
src/KGantt/kganttproxymodel.h
Show All 38 Lines | 30 | public: | |||
---|---|---|---|---|---|
39 | int column( int ganttrole ) const; | 39 | int column( int ganttrole ) const; | ||
40 | int role( int ganttrole ) const; | 40 | int role( int ganttrole ) const; | ||
41 | 41 | | |||
42 | #if 0 | 42 | #if 0 | ||
43 | void setCalendarMode( bool enable ); | 43 | void setCalendarMode( bool enable ); | ||
44 | bool calendarMode() const; | 44 | bool calendarMode() const; | ||
45 | #endif | 45 | #endif | ||
46 | 46 | | |||
47 | /*reimp*/ QModelIndex mapFromSource( const QModelIndex& idx) const Q_DECL_OVERRIDE; | 47 | /*reimp*/ QModelIndex mapFromSource( const QModelIndex& idx) const override; | ||
48 | /*reimp*/ QModelIndex mapToSource( const QModelIndex& proxyIdx ) const Q_DECL_OVERRIDE; | 48 | /*reimp*/ QModelIndex mapToSource( const QModelIndex& proxyIdx ) const override; | ||
49 | 49 | | |||
50 | /*reimp*/ int rowCount( const QModelIndex& idx ) const Q_DECL_OVERRIDE; | 50 | /*reimp*/ int rowCount( const QModelIndex& idx ) const override; | ||
51 | /*reimp*/ int columnCount( const QModelIndex& idx ) const Q_DECL_OVERRIDE; | 51 | /*reimp*/ int columnCount( const QModelIndex& idx ) const override; | ||
52 | 52 | | |||
53 | /*reimp*/ QVariant data( const QModelIndex& idx, int role = Qt::DisplayRole ) const Q_DECL_OVERRIDE; | 53 | /*reimp*/ QVariant data( const QModelIndex& idx, int role = Qt::DisplayRole ) const override; | ||
54 | /*reimp*/ bool setData( const QModelIndex& idx, const QVariant& value, int role=Qt::EditRole ) Q_DECL_OVERRIDE; | 54 | /*reimp*/ bool setData( const QModelIndex& idx, const QVariant& value, int role=Qt::EditRole ) override; | ||
55 | }; | 55 | }; | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | #endif /* KGANTTPROXYMODEL_H */ | 58 | #endif /* KGANTTPROXYMODEL_H */ | ||
59 | 59 | |