diff options
Diffstat (limited to 'noatun/library/noatun/vequalizer.h')
-rw-r--r-- | noatun/library/noatun/vequalizer.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/noatun/library/noatun/vequalizer.h b/noatun/library/noatun/vequalizer.h index 73c421e1..d5ee7ecf 100644 --- a/noatun/library/noatun/vequalizer.h +++ b/noatun/library/noatun/vequalizer.h @@ -39,8 +39,8 @@ #ifndef NOATUN_VEQUALIZER_H #define NOATUN_VEQUALIZER_H -#include <qptrlist.h> -#include <qobject.h> +#include <tqptrlist.h> +#include <tqobject.h> #include <kurl.h> #include <kdemacros.h> class VBand; @@ -111,12 +111,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; }; @@ -134,7 +134,7 @@ public: * @short interpolated representation of Eq data * @author Charles Samuels **/ -class KDE_EXPORT VInterpolation : public QObject, public VBandsInterface +class KDE_EXPORT VInterpolation : public TQObject, public VBandsInterface { Q_OBJECT struct Private; @@ -173,7 +173,7 @@ class VPreset; * @short Noatun EQ * @author Charles Samuels **/ -class KDE_EXPORT VEqualizer : public QObject, public VBandsInterface +class KDE_EXPORT VEqualizer : public TQObject, public VBandsInterface { Q_OBJECT friend class VBand; @@ -197,7 +197,7 @@ public: * of each band, for example: { 40, 60, 100 } if * you hear up to 40hz **/ - static QValueList<int> frequencies(int num); + static TQValueList<int> frequencies(int num); /** * @return number of bands I have, which may be different @@ -243,7 +243,7 @@ public: // serialization * 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 @@ -256,14 +256,14 @@ public: // serialization * * @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); public: // presets /** @@ -274,31 +274,31 @@ public: // presets * If smart is true, append a number to the end * of the name, if one already exists by the given **/ - VPreset createPreset(const QString &name, bool smart=true); + VPreset createPreset(const TQString &name, bool smart=true); /** * return all the presets * remember to setAutoDelete on this **/ - QValueList<VPreset> presets() const; + TQValueList<VPreset> presets() const; /** * @returns the preset with the given name * or an invalid Preset if none exists **/ - VPreset presetByName(const QString &name); + VPreset presetByName(const TQString &name); /** * @returns the preset in the given file * or an invalid Preset if none exists **/ - VPreset presetByFile(const QString &file); + VPreset presetByFile(const TQString &file); /** * @returns whether a preset with the * given name exists **/ - bool presetExists(const QString &name) const; + bool presetExists(const TQString &name) const; signals: /** @@ -374,7 +374,7 @@ public slots: private: virtual int level(int index) const; virtual void setLevel(int index, int level); - void setLevels(const QValueList<int> &levels); + void setLevels(const TQValueList<int> &levels); private: /** @@ -405,7 +405,7 @@ class VPreset Private *d; void *_bc; - VPreset(const QString &file); + VPreset(const TQString &file); public: VPreset(); VPreset(const VPreset ©); @@ -416,7 +416,7 @@ public: /** * @returns the name of the preset, which is user visible **/ - QString name() const; + TQString name() const; /** * set the user-presentable name of the preset * @@ -425,12 +425,12 @@ public: * @returns success. If another preset is named * this, it'l fail. **/ - bool setName(const QString &name); + bool setName(const TQString &name); /** * @returns the file that this preset is in **/ - QString file() const; + TQString file() const; bool isValid() const; bool isNull() const { return !isValid(); } |