qsong.h File Reference

#include <qabstractitemmodel.h>
#include <qtableview.h>
#include <qcolor.h>
#include "config.h"
#include "cluster.h"
#include "song.h"
Include dependency graph for qsong.h:
This graph shows which files directly or indirectly include this file:

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

Songget_current_song ()
void set_current_song (Song *, bool scrolltoit)

Define Documentation

#define LIST_AUTHOR   6
#define LIST_COLCOUNT   20
#define LIST_COMPOSITION   19
#define LIST_CUES   4
#define LIST_DCOLOR   2
#define LIST_FILE   12
#define LIST_HISTOGRAM   17
#define LIST_INDEX   10
#define LIST_MAX   14
#define LIST_MD5SUM   11
#define LIST_MEAN   15
#define LIST_MIN   13
#define LIST_ONDISK   9
#define LIST_POWER   16
#define LIST_RHYTHM   18
#define LIST_SPECTRUM   1
#define LIST_TAGS   8
#define LIST_TEMPO   0
#define LIST_TIME   3
#define LIST_TITLE   5
#define LIST_VERSION   7
#define singleton_array_accessors ( type,
type2,
var   ) 
Value:
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;};

Function Documentation

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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2