diff options
Diffstat (limited to 'noatun/library/noatun/equalizer.h')
-rw-r--r-- | noatun/library/noatun/equalizer.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/noatun/library/noatun/equalizer.h b/noatun/library/noatun/equalizer.h index 10de88c5..d048d21d 100644 --- a/noatun/library/noatun/equalizer.h +++ b/noatun/library/noatun/equalizer.h @@ -1,8 +1,8 @@ #ifndef NOATUN_EQUALIZER_H #define NOATUN_EQUALIZER_H -#include <qptrlist.h> -#include <qobject.h> +#include <tqptrlist.h> +#include <tqobject.h> #include <kurl.h> #include <noatun/vequalizer.h> @@ -20,23 +20,23 @@ class Preset { friend class Equalizer; - Preset(const QString &file); + Preset(const TQString &file); Preset(); Preset(VPreset p); public: - QString name() const; - bool setName(const QString &name); + TQString name() const; + bool setName(const TQString &name); bool save() const; bool load(); void remove(); - QString file() const; + TQString file() const; VPreset &vpreset() const; private: - QString mFile; + TQString mFile; }; /** @@ -49,7 +49,7 @@ private: class Band { friend class Equalizer; -friend class QPtrList<Band>; +friend class TQPtrList<Band>; private: Band(); @@ -75,12 +75,12 @@ public: **/ int center() const; - QString formatStart(bool withHz=true) const; - QString formatEnd(bool withHz=true) const; + TQString formatStart(bool withHz=true) const; + TQString formatEnd(bool withHz=true) const; /** * return the format for center() **/ - QString format(bool withHz=true) const; + TQString format(bool withHz=true) const; private: int mOffset; @@ -110,7 +110,7 @@ public: Equalizer(); ~Equalizer(); - const QPtrList<Band> &bands() const; + const TQPtrList<Band> &bands() const; Band *band(int num) const; int bandCount() const; @@ -141,7 +141,7 @@ public: * pattern. Nevertheless, the file can be identified * by magic, so it's not required **/ - bool save(const KURL &file, const QString &friendly) const; + bool save(const KURL &file, const TQString &friendly) const; /** * restore the EQ settings from this file @@ -154,14 +154,14 @@ public: * * @see fromString **/ - QString toString(const QString &name="stored") const; + TQString toString(const TQString &name="stored") const; /** * undo a toString, restoring the EQ * to the settings in the given string, * emitting the changed signals **/ - bool fromString(const QString &str); + bool fromString(const TQString &str); /** * create a preset with such a name @@ -171,16 +171,16 @@ public: * If smart is true, append a number to the end * of the name, if one already exists by the given **/ - Preset *createPreset(const QString &name, bool smart=true); + Preset *createPreset(const TQString &name, bool smart=true); /** * return all the presets * remember to setAutoDelete on this **/ - QPtrList<Preset> presets() const; + TQPtrList<Preset> presets() const; - Preset *preset(const QString &file); - bool presetExists(const QString &name) const; + Preset *preset(const TQString &file); + bool presetExists(const TQString &name) const; signals: void changed(Band *band); @@ -227,7 +227,7 @@ private: void update(bool full=false); private: - QPtrList<Band> mBands; + TQPtrList<Band> mBands; bool mUpdates; int mPreamp; }; |