summaryrefslogtreecommitdiffstats
path: root/kradio3/src/include/soundformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/include/soundformat.h')
-rw-r--r--kradio3/src/include/soundformat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kradio3/src/include/soundformat.h b/kradio3/src/include/soundformat.h
index 0c7a384..ea11f09 100644
--- a/kradio3/src/include/soundformat.h
+++ b/kradio3/src/include/soundformat.h
@@ -23,7 +23,7 @@
#endif
#include <endian.h>
-#include <qstring.h>
+#include <tqstring.h>
#include <kconfig.h>
struct SoundFormat {
@@ -32,9 +32,9 @@ struct SoundFormat {
unsigned m_SampleBits;
bool m_IsSigned;
unsigned m_Endianess;
- QString m_Encoding; // "raw", "mp3", ... (no "wav", because it's only header + raw data)
+ TQString m_Encoding; // "raw", "mp3", ... (no "wav", because it's only header + raw data)
- SoundFormat(unsigned sample_rate, unsigned channels, unsigned sample_bits, bool is_signed, unsigned endianess, const QString &enc)
+ SoundFormat(unsigned sample_rate, unsigned channels, unsigned sample_bits, bool is_signed, unsigned endianess, const TQString &enc)
: m_SampleRate(sample_rate), m_Channels(channels), m_SampleBits(sample_bits), m_IsSigned(is_signed), m_Endianess(endianess), m_Encoding(enc) {}
SoundFormat(unsigned sample_rate, unsigned channels, unsigned sample_bits, bool is_signed, unsigned endianess)
: m_SampleRate(sample_rate), m_Channels(channels), m_SampleBits(sample_bits), m_IsSigned(is_signed), m_Endianess(endianess), m_Encoding("raw") {}
@@ -60,8 +60,8 @@ struct SoundFormat {
int minValue() const;
int maxValue() const;
- void restoreConfig(const QString &prefix, KConfig *c);
- void saveConfig(const QString &prefix, KConfig *c) const;
+ void restoreConfig(const TQString &prefix, KConfig *c);
+ void saveConfig(const TQString &prefix, KConfig *c) const;
int convertSampleToInt(const char *sample, bool do_scale) const;
void convertIntToSample(int src, char *dst, bool is_scaled) const;