Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QModelIndex QTreeView::indexBelow ( const QModelIndex index  )  const [inherited]

Returns the model index of the item below index.

Definition at line 1069 of file qtreeview.cpp.

Referenced by QTreeView::keyboardSearch().

    Q_D(const QTreeView);
    int i = d->viewIndex(index);
    if (++i >= d->viewItems.count())
        return QModelIndex();
    return d->viewItems.at(i).index;

Generated by  Doxygen 1.6.0   Back to index