diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-07-15 07:23:11 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-07-15 07:23:11 +0000 |
| commit | 215a0d9e8acf82af59f825fa3ce28c9394257bad (patch) | |
| tree | 3d8eb97d5aac9c019399ff82f63369e00acd0e11 /src/qmmpui/playlistmodel.h | |
| parent | 49e0e2887627f29d5c46e2d6dbf064de23c9cf8a (diff) | |
| download | qmmp-215a0d9e8acf82af59f825fa3ce28c9394257bad.tar.gz qmmp-215a0d9e8acf82af59f825fa3ce28c9394257bad.tar.bz2 qmmp-215a0d9e8acf82af59f825fa3ce28c9394257bad.zip | |
fixed freezing when shift+home and shift+end pressed
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4375 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index 63eb9fc77..77ad9c50a 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2013 by Ilya Kotov * + * Copyright (C) 2006-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -183,6 +183,13 @@ public: */ void setSelected(QList<PlayListItem *> items, bool selected = true); /*! + * Sets the selected state of the list of items range + * @param firts Firts item in the range + * @param last Last item in the range + * @param selected Selection state (\b true - select, \b false - unselect) + */ + void setSelected(int first, int last, bool selected = true); + /*! * Advances to the next item. Returns \b false if next iten doesn't exist, * otherwise returns \b true */ |
