Example #1
0
/***********************************************************
accessor
***********************************************************/
boost::shared_ptr<FileDialogOptionsBase> TreeModel::CustomIndexFile(const QModelIndex &index) const
{
    if (!index.isValid())
        return boost::shared_ptr<FileDialogOptionsBase>();


	TreeItem *item = static_cast<TreeItem*>(index.internalPointer());
	return item->CustomIndexFile(index.column());

    return boost::shared_ptr<FileDialogOptionsBase>();
}