NAME

Qt::Gui::QItemSelection

PUBLIC METHODS

QItemSelection()
QItemSelection(const QModelIndex & topLeft, const QModelIndex & bottomRight)
bool contains(const QModelIndex & index)
QList<QModelIndex> indexes()
void merge(const QItemSelection & other, QFlags<QItemSelectionModel::SelectionFlag> command)
void select(const QModelIndex & topLeft, const QModelIndex & bottomRight)
static void split(const QItemSelectionRange & range, const QItemSelectionRange & other, QItemSelection * result)
void append(const QItemSelectionRange & t)
void append(const QList<QItemSelectionRange> & t)
void clear()
int count(const QItemSelectionRange & t)
void detach()
void detachShared()
int indexOf(const QItemSelectionRange & t, int from)
int indexOf(const QItemSelectionRange & t, int from = 0)
void insert(int i, const QItemSelectionRange & t)
bool isDetached()
bool isEmpty()
bool isSharedWith(const QList<QItemSelectionRange> & other)
int lastIndexOf(const QItemSelectionRange & t, int from)
int lastIndexOf(const QItemSelectionRange & t, int from = -1)
void move(int from, int to)
bool operator!=(const QList<QItemSelectionRange> & l)
bool operator==(const QList<QItemSelectionRange> & l)
QItemSelectionRange & operator[](int i)
void prepend(const QItemSelectionRange & t)
int removeAll(const QItemSelectionRange & t)
void removeAt(int i)
bool removeOne(const QItemSelectionRange & t)
void replace(int i, const QItemSelectionRange & t)
void reserve(int size)
void setSharable(bool shrable)
int size()
void swap(int i, int j)
QItemSelectionRange takeAt(int i)
QItemSelectionRange takeFirst()
QItemSelectionRange takeLast()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html