ui/qt/model.h

changeset 130
212b63dd61be
parent 72
a00b46d92c54
equal deleted inserted replaced
129:5babf09f5f19 130:212b63dd61be
74 int rowCount(const QModelIndex &parent = QModelIndex()) const; 74 int rowCount(const QModelIndex &parent = QModelIndex()) const;
75 int columnCount(const QModelIndex &parent = QModelIndex()) const; 75 int columnCount(const QModelIndex &parent = QModelIndex()) const;
76 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; 76 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
77 QVariant headerData(int section, Qt::Orientation orientation, int role) const; 77 QVariant headerData(int section, Qt::Orientation orientation, int role) const;
78 78
79 void update();
80
79 public slots: 81 public slots:
80 void selectionChanged( 82 void selectionChanged(
81 const QItemSelection & selected, 83 const QItemSelection & selected,
82 const QItemSelection & deselected); 84 const QItemSelection & deselected);
83 void activate(const QModelIndex &); 85 void activate(const QModelIndex &);

mercurial