Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Equalizer Class Reference

#include <equalizer.h>

Inheritance diagram for Equalizer:

QObject List of all members.

Public Slots

void setPreamp (int p)
void enable ()
void disable ()
void setEnabled (bool e)

Signals

void changed (Band *band)
void changed ()
void enabled ()
void disabled ()
void enabled (bool e)
void preampChanged (int p)
void preampChanged ()
void changed (Preset *)
void created (Preset *)
void renamed (Preset *)
void removed (Preset *)

Public Member Functions

 Equalizer ()
 ~Equalizer ()
const QPtrList< Band > & bands () const
Bandband (int num) const
int bandCount () const
int preamp () const
bool isEnabled () const
void init ()
bool save (const KURL &file, const QString &friendly) const
bool load (const KURL &file)
QString toString (const QString &name="stored") const
bool fromString (const QString &str)
PresetcreatePreset (const QString &name, bool smart=true)
QPtrList< Presetpresets () const
Presetpreset (const QString &file)
bool presetExists (const QString &name) const

Friends

class Band
class Preset
class Engine

Constructor & Destructor Documentation

Equalizer::Equalizer  
 

Equalizer::~Equalizer  
 


Member Function Documentation

Band* Equalizer::band int    num const
 

int Equalizer::bandCount   const
 

const QPtrList<Band>& Equalizer::bands   const
 

void Equalizer::changed Preset   [signal]
 

the preset with the given name was selected

void Equalizer::changed   [signal]
 

void Equalizer::changed Band   band [signal]
 

void Equalizer::created Preset   [signal]
 

when a new preset has been created

Preset* Equalizer::createPreset const QString &    name,
bool    smart = true
 

create a preset with such a name and remember that it'l return zero if the name already exists

If smart is true, append a number to the end of the name, if one already exists by the given

void Equalizer::disable   [slot]
 

void Equalizer::disabled   [signal]
 

void Equalizer::enable   [slot]
 

void Equalizer::enabled bool    e [signal]
 

void Equalizer::enabled   [signal]
 

bool Equalizer::fromString const QString &    str
 

undo a toString, restoring the EQ to the settings in the given string, emitting the changed signals

void Equalizer::init  
 

bool Equalizer::isEnabled   const
 

bool Equalizer::load const KURL &    file
 

restore the EQ settings from this file

int Equalizer::preamp   const
 

void Equalizer::preampChanged   [signal]
 

void Equalizer::preampChanged int    p [signal]
 

Preset* Equalizer::preset const QString &    file
 

bool Equalizer::presetExists const QString &    name const
 

QPtrList<Preset> Equalizer::presets   const
 

return all the presets remember to setAutoDelete on this

void Equalizer::removed Preset   [signal]
 

the given preset has been removed

void Equalizer::renamed Preset   [signal]
 

when preset has been renamed to newname

bool Equalizer::save const KURL &    file,
const QString &    friendly
const
 

save the current levels all noatun equalizer files have the "*.noatunequalizer" pattern. Nevertheless, the file can be identified by magic, so it's not required

void Equalizer::setEnabled bool    e [slot]
 

void Equalizer::setPreamp int    p [slot]
 

set the preamplification it's logarithmic. 0 is no change negative numbers are loss in intensity positive numbers are a gain And +-100 is the most you'd need to go

QString Equalizer::toString const QString &    name = "stored" const
 

convert the current EQ settings to string form, suitable for storage, the given string is the title

fromString


Friends And Related Function Documentation

friend class Band [friend]
 

Definition at line 72 of file equalizer.h.

friend class Engine [friend]
 

Definition at line 74 of file equalizer.h.

friend class Preset [friend]
 

Definition at line 73 of file equalizer.h.


The documentation for this class was generated from the following file:
Generated on Sat May 24 15:10:28 2003 for Noatun by doxygen1.3-rc3