Config Class Reference

#include <config.h>

Collaboration diagram for Config:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 singleton_accessors (int, file_count)
 singleton_accessors (int, yellowTime)
 singleton_accessors (int, orangeTime)
 singleton_accessors (int, redTime)
 singleton_accessors (int, filterBpm)
 singleton_accessors (int, authorDecay)
 singleton_accessors (float4, distance_spectrumweight)
 singleton_accessors (bool, shown_aboutbox)
 singleton_accessors (QColor, color_tempo44)
 singleton_accessors (QColor, color_tempo54)
 singleton_accessors (QColor, color_tempo64)
 singleton_accessors (QColor, color_tempo74)
 singleton_accessors (QColor, color_tempo84)
 singleton_accessors (QColor, color_green_time)
 singleton_accessors (QColor, color_yellow_time)
 singleton_accessors (QColor, color_orange_time)
 singleton_accessors (QColor, color_red_time)
 singleton_accessors (bool, color_main_window)
 singleton_accessors (bool, log_spectrum_distance)
 singleton_accessors (QColor, color_played_song)
 singleton_accessors (QColor, color_played_author)
 singleton_accessors (QColor, color_unavailable)
 singleton_accessors (QColor, color_dcolor_col)
 singleton_accessors (int, color_cluster_depth)
 singleton_accessors (QByteArray, header_state)
 singleton_accessors (float4, distance_tempoweight)
 singleton_accessors (float4, distance_echoweight)
 singleton_accessors (float4, distance_rhythmweight)
 singleton_accessors (float4, distance_compositionweight)
 singleton_accessors (int, max_songs)
 singleton_accessors (QColor, color_unchecked)
 singleton_accessors (float4, anal_bpm_from)
 singleton_accessors (float4, anal_bpm_to)
 singleton_accessors (int, anal_bpm_technique)
 singleton_accessors (QColor, color_alltime)
 singleton_accessors (QString, tag_include)
 singleton_accessors (QString, tag_mustbe)
 singleton_accessors (QString, tag_exclude)

Static Public Member Functions

static bool open_ui (int pane=0)
static void save ()
static bool load ()

Static Public Attributes

static ConfigState color_range
static ConfigState color_played
static ConfigState color_authorplayed
static SongSlot players [4]
static ConfigState color_ondisk
static ConfigState color_cues
static ConfigState color_dcolor
static ConfigState color_spectrum
static ConfigState limit_ondisk
static ConfigState limit_nonplayed
static ConfigState limit_uprange
static ConfigState limit_downrange
static ConfigState limit_indistance
static ConfigState limit_authornonplayed
static ConfigState ask_mix
static ConfigState auto_popqueue
static SongSlot analyzers [8]
static ConfigState color_songs_based_on_history
static ConfigState play_fragments

Detailed Description

In the list of fields below, we retain those that were present in odler versions. This helps to understand why the config reader sometimes reads a variable and then ignores it


Member Function Documentation

bool Config::load (  )  [static]
bool Config::open_ui ( int  pane = 0  )  [static]

Man man man man man, what a crap has trolltech put off here. I keep on spending time on converting the Qt3 version to Qt4. Couldn't they make this process easier ?? The documentation is half hearted. Functionality gets lost and things I relied on broke down. So here we now want to set the right button.

References assert(), backgroundColor(), qtof4(), qtos4(), save(), setBackgroundColor(), tonumber(), and Warning().

Referenced by SongSelectorLogic::doPreferences(), and SongSlot::setEnabled().

void Config::save (  )  [static]
Config::singleton_accessors ( QString  ,
tag_exclude   
)
Config::singleton_accessors ( QString  ,
tag_mustbe   
)
Config::singleton_accessors ( QString  ,
tag_include   
)
Config::singleton_accessors ( QColor  ,
color_alltime   
)
Config::singleton_accessors ( int  ,
anal_bpm_technique   
)
Config::singleton_accessors ( float4  ,
anal_bpm_to   
)
Config::singleton_accessors ( float4  ,
anal_bpm_from   
)
Config::singleton_accessors ( QColor  ,
color_unchecked   
)
Config::singleton_accessors ( int  ,
max_songs   
)
Config::singleton_accessors ( float4  ,
distance_compositionweight   
)
Config::singleton_accessors ( float4  ,
distance_rhythmweight   
)
Config::singleton_accessors ( float4  ,
distance_echoweight   
)
Config::singleton_accessors ( float4  ,
distance_tempoweight   
)
Config::singleton_accessors ( QByteArray  ,
header_state   
)
Config::singleton_accessors ( int  ,
color_cluster_depth   
)
Config::singleton_accessors ( QColor  ,
color_dcolor_col   
)
Config::singleton_accessors ( QColor  ,
color_unavailable   
)
Config::singleton_accessors ( QColor  ,
color_played_author   
)
Config::singleton_accessors ( QColor  ,
color_played_song   
)
Config::singleton_accessors ( bool  ,
log_spectrum_distance   
)
Config::singleton_accessors ( bool  ,
color_main_window   
)
Config::singleton_accessors ( QColor  ,
color_red_time   
)
Config::singleton_accessors ( QColor  ,
color_orange_time   
)
Config::singleton_accessors ( QColor  ,
color_yellow_time   
)
Config::singleton_accessors ( QColor  ,
color_green_time   
)
Config::singleton_accessors ( QColor  ,
color_tempo84   
)
Config::singleton_accessors ( QColor  ,
color_tempo74   
)
Config::singleton_accessors ( QColor  ,
color_tempo64   
)
Config::singleton_accessors ( QColor  ,
color_tempo54   
)
Config::singleton_accessors ( QColor  ,
color_tempo44   
)
Config::singleton_accessors ( bool  ,
shown_aboutbox   
)
Config::singleton_accessors ( float4  ,
distance_spectrumweight   
)
Config::singleton_accessors ( int  ,
authorDecay   
)
Config::singleton_accessors ( int  ,
filterBpm   
)
Config::singleton_accessors ( int  ,
redTime   
)
Config::singleton_accessors ( int  ,
orangeTime   
)
Config::singleton_accessors ( int  ,
yellowTime   
)
Config::singleton_accessors ( int  ,
file_count   
)

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2