Qmmp
Public Member Functions | Public Attributes
SimpleSelection Struct Reference

#include <playlistmodel.h>

List of all members.

Public Member Functions

 SimpleSelection ()
bool isValid () const
void dump () const
int count () const

Public Attributes

int m_bottom
int m_top
QList< int > m_selected_indexes

Detailed Description

Helper class that keeps track of a view's selected items.

Author:
Vladimir Kuznetsov <vovanec@gmail.com>

Constructor & Destructor Documentation

SimpleSelection ( ) [inline]

Constructs an empty selection model.


Member Function Documentation

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.


Member Data Documentation

int m_bottom

Bottom of the selection

QList<int> m_selected_indexes

Selected items numbers

int m_top

Top of the selection


The documentation for this struct was generated from the following file:
 All Classes Functions Variables Enumerations Enumerator