qsong.cpp File Reference

#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"
Include dependency graph for qsong.cpp:

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)
Songget_current_song ()
void set_current_song (Song *song, bool scrolltoit)

Function Documentation

Song* get_current_song (  ) 

References selector, and QSong::songEssence().

init_singleton_var ( QSong  ,
song_count  ,
int  ,
 
)
init_singleton_var ( QSong  ,
songs  ,
Song **  ,
NULL   
)
init_singleton_var ( QSong  ,
compare_asc  ,
bool  ,
true   
)
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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2