def METHOD_NAME(index):
    variant = index.data()
    if SIMPLE_CASTING:
        item = __STR__(variant)
    else:
        item = __STR__(variant.toString())
    row = index.row()
    col = index.column()
    return (item, row, col)