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

Qt::ItemFlags TreeModel::flags ( const QModelIndex index  )  const [virtual]

[3]

[4]

Reimplemented from QAbstractItemModel.

Definition at line 91 of file treemodel.cpp.

References QModelIndex::isValid().

{
    if (!index.isValid())
        return Qt::ItemIsEnabled;

    return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
}


Generated by  Doxygen 1.6.0   Back to index