#include <qbitmap.h>#include <stdio.h>#include <assert.h>#include <math.h>#include <qpainter.h>#include <stdlib.h>#include "song-metric.h"#include "qsong.h"#include "history.h"#include "dirscanner.h"#include "tags.h"#include "memory.h"#include "pixmap-cache.h"#include "fragment-cache.h"#include "players-manager.h"#include "selector.h"#include "qt-helpers.h"
Functions | |
| init_singleton_var (QSong, compare_col, int, LIST_TEMPO) | |
| init_singleton_var (QSong, compare_asc, bool, true) | |
| init_singleton_var (QSong, songs, Song **, NULL) | |
| init_singleton_var (QSong, song_count, int, 0) | |
| Song * | get_current_song () |
| void | set_current_song (Song *song, bool scrolltoit) |
| Song* get_current_song | ( | ) |
References selector, and QSong::songEssence().
| init_singleton_var | ( | QSong | , | |
| song_count | , | |||
| int | , | |||
| 0 | ||||
| ) |
| init_singleton_var | ( | QSong | , | |
| compare_col | , | |||
| int | , | |||
| LIST_TEMPO | ||||
| ) |
| 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