diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kscd/kcompactdisc.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscd/kcompactdisc.h')
-rw-r--r-- | kscd/kcompactdisc.h | 48 |
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; |