#include <qabstractitemmodel.h>#include <qtableview.h>#include <qcolor.h>#include "config.h"#include "cluster.h"#include "song.h"

Classes | |
| class | QSong |
Defines | |
| #define | LIST_TEMPO 0 |
| #define | LIST_DCOLOR 2 |
| #define | LIST_TITLE 5 |
| #define | LIST_AUTHOR 6 |
| #define | LIST_TIME 3 |
| #define | LIST_CUES 4 |
| #define | LIST_VERSION 7 |
| #define | LIST_TAGS 8 |
| #define | LIST_ONDISK 9 |
| #define | LIST_SPECTRUM 1 |
| #define | LIST_INDEX 10 |
| #define | LIST_MD5SUM 11 |
| #define | LIST_FILE 12 |
| #define | LIST_MIN 13 |
| #define | LIST_MAX 14 |
| #define | LIST_MEAN 15 |
| #define | LIST_POWER 16 |
| #define | LIST_HISTOGRAM 17 |
| #define | LIST_RHYTHM 18 |
| #define | LIST_COMPOSITION 19 |
| #define | LIST_COLCOUNT 20 |
| #define | singleton_array_accessors(type, type2, var) |
Functions | |
| Song * | get_current_song () |
| void | set_current_song (Song *, bool scrolltoit) |
| #define LIST_AUTHOR 6 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_COLCOUNT 20 |
Referenced by QSong::aSongChangedBehindQSongsBack(), and QSong::columnCount().
| #define LIST_COMPOSITION 19 |
Referenced by QSong::data(), QSong::headerData(), SongSelectorLogic::SongSelectorLogic(), QSong::Sort(), and QSong::text().
| #define LIST_CUES 4 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_DCOLOR 2 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_FILE 12 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_HISTOGRAM 17 |
Referenced by QSong::data(), QSong::headerData(), SongSelectorLogic::SongSelectorLogic(), QSong::Sort(), and QSong::text().
| #define LIST_INDEX 10 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_MAX 14 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_MD5SUM 11 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_MEAN 15 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_MIN 13 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_ONDISK 9 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_POWER 16 |
Referenced by QSong::data(), QSong::headerData(), QSong::Sort(), and QSong::text().
| #define LIST_RHYTHM 18 |
Referenced by QSong::data(), QSong::headerData(), SongSelectorLogic::SongSelectorLogic(), QSong::Sort(), and QSong::text().
| #define LIST_SPECTRUM 1 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_TAGS 8 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_TEMPO 0 |
Referenced by QSong::data(), QSong::headerData(), QSong::Sort(), and QSong::text().
| #define LIST_TIME 3 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_TITLE 5 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define LIST_VERSION 7 |
Referenced by QSong::data(), QSong::headerData(), and QSong::text().
| #define singleton_array_accessors | ( | type, | |||
| type2, | |||||
| var | ) |
private: static type _##var; \ private: static inline type get_##var() { return _##var; }; \ void static inline set_##var(type a) { _##var = a; }; \ public: static inline type2 get_##var(int idx) { return _##var[idx];}; \ public: static inline void set_##var(int idx, type2 v) {_##var[idx]=v;};
| Song* get_current_song | ( | ) |
References selector, and QSong::songEssence().
| void set_current_song | ( | Song * | , | |
| bool | scrolltoit | |||
| ) |
If scrolltoit is true then the view will ensure the item is visible (scrollto) and the item will be selected directly (or not ?)
References QSong::indexof(), and selector.
1.6.2