Noatun API Documentation

Equalizer Class Reference

old Equalizer More...

#include <equalizer.h>

Inheritance diagram for Equalizer:

Inheritance graph
[legend]
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

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

Detailed Description

old Equalizer

Deprecated:
this API is deprecated!!! Do not use it! it acts as a wrapper around the new VEqualizer API This only exists to keep compatibility in both source and binary forms. It will go away in the future.

Author:
Charles Samuels
Version:
2.3

Definition at line 102 of file equalizer.h.


Member Function Documentation

void Equalizer::changed Preset  )  [signal]
 

the preset with the given name was selected

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

bool Equalizer::fromString const QString &  str  ) 
 

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

bool Equalizer::load const KURL &  file  ) 
 

restore the EQ settings from this file

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::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

See also:
fromString


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 23:49:46 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003