#include <playlistmodel.h>
Public Member Functions | |
SimpleSelection () | |
bool | isValid () const |
void | dump () const |
int | count () const |
Public Attributes | |
int | m_bottom |
int | m_top |
int | m_anchor |
QList< int > | m_selected_rows |
SimpleSelection | ( | ) | [inline] |
Constructs an empty selection model.
int count | ( | ) | const [inline] |
Returns number of selected items.
void dump | ( | ) | const [inline] |
Prints object state.
bool isValid | ( | ) | const [inline] |
Returns true
if this selection is valid; otherwise returns returns false
.
int m_anchor |
int m_bottom |
QList<int> m_selected_rows |
Selected rows numbers
int m_top |