summaryrefslogtreecommitdiffstats
path: root/kscd/kcompactdisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/kcompactdisc.h')
-rw-r--r--kscd/kcompactdisc.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kscd/kcompactdisc.h b/kscd/kcompactdisc.h
index 4d1f1543..f71189a8 100644
--- a/kscd/kcompactdisc.h
+++ b/kscd/kcompactdisc.h
@@ -21,9 +21,9 @@
#ifndef KCOMPACTDISC_H
#define KCOMPACTDISC_H
-#include <qobject.h>
-#include <qtimer.h>
-#include <qvaluelist.h>
+#include <tqobject.h>
+#include <tqtimer.h>
+#include <tqvaluelist.h>
/**
* KCompactDisc - A CD drive interface for the KDE Project.
@@ -76,7 +76,7 @@ public:
* If the url is a media:/ or system:/ URL returns
* the device it represents, otherwise returns device
*/
- static QString urlToDevice(const QString& device);
+ static TQString urlToDevice(const TQString& device);
/**
* @param device Name of CD device, e.g. /dev/cdrom.
@@ -86,11 +86,11 @@ public:
* @return true if the device seemed usable.
*/
bool setDevice(
- const QString &device = defaultDevice,
+ const TQString &device = defaultDevice,
unsigned volume = 50,
bool digitalPlayback = true,
- const QString &audioSystem = QString::null,
- const QString &audioDevice = QString::null);
+ const TQString &audioSystem = TQString::null,
+ const TQString &audioDevice = TQString::null);
void setVolume(unsigned volume);
@@ -102,14 +102,14 @@ public:
/**
* The default CD for this system.
*/
- static const QString defaultDevice;
+ static const TQString defaultDevice;
/**
* Current device.
*
* @return Null string if no usable device set.
*/
- const QString &device() const;
+ const TQString &device() const;
/**
* The discId for a missing disc.
@@ -124,21 +124,21 @@ public:
/**
* CDDB signature of disc.
*/
- const QValueList<unsigned> &discSignature() const { return m_trackStartFrames; }
+ const TQValueList<unsigned> &discSignature() const { return m_trackStartFrames; }
/**
* Artist for whole disc.
*
* @return Disc artist or null string.
*/
- const QString &discArtist() const { return m_artist; }
+ const TQString &discArtist() const { return m_artist; }
/**
* Title of disc.
*
* @return Disc title or null string.
*/
- const QString &discTitle() const { return m_title; }
+ const TQString &discTitle() const { return m_title; }
/**
* Length of disc.
@@ -158,28 +158,28 @@ public:
*
* @return Track artist or null string.
*/
- const QString &trackArtist() const;
+ const TQString &trackArtist() const;
/**
* Artist of given track.
*
* @return Track artist or null string.
*/
- const QString &trackArtist(unsigned track) const;
+ const TQString &trackArtist(unsigned track) const;
/**
* Title of current track.
*
* @return Track title or null string.
*/
- const QString &trackTitle() const;
+ const TQString &trackTitle() const;
/**
* Title of given track.
*
* @return Track title or null string.
*/
- const QString &trackTitle(unsigned track) const;
+ const TQString &trackTitle(unsigned track) const;
/**
* Current track.
@@ -277,22 +277,22 @@ signals:
void trackPaused(unsigned track, unsigned trackPosition);
private:
- QTimer timer;
- QString m_device;
+ TQTimer timer;
+ TQString m_device;
int m_status;
int m_previousStatus;
unsigned m_discId;
unsigned m_previousDiscId;
- QString m_artist;
- QString m_title;
+ TQString m_artist;
+ TQString m_title;
unsigned m_tracks;
- QValueList<unsigned> m_trackStartFrames;
- QStringList m_trackArtists;
- QStringList m_trackTitles;
+ TQValueList<unsigned> m_trackStartFrames;
+ TQStringList m_trackArtists;
+ TQStringList m_trackTitles;
unsigned m_track;
unsigned m_previousTrack;
void checkDeviceStatus();
- QString discStatus(int status);
+ TQString discStatus(int status);
class KCompactDiscPrivate *d;
InformationMode m_infoMode;