diff options
Diffstat (limited to 'kaudiocreator')
-rw-r--r-- | kaudiocreator/tracksimp.cpp | 8 | ||||
-rw-r--r-- | kaudiocreator/tracksimp.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kaudiocreator/tracksimp.cpp b/kaudiocreator/tracksimp.cpp index fd247499..f99e33af 100644 --- a/kaudiocreator/tracksimp.cpp +++ b/kaudiocreator/tracksimp.cpp @@ -53,7 +53,7 @@ TracksImp::TracksImp( TQWidget* parent, const char* name) : Tracks(parent,name), cddbInfo() { - cd = new KCompactDisc; + cd = new TDECompactDisc; connect(cd,TQT_SIGNAL(discChanged(unsigned)),this,TQT_SLOT(newDisc(unsigned))); @@ -123,7 +123,7 @@ void TracksImp::loadSettings() { void TracksImp::newDisc(unsigned discId) { - if (discId == KCompactDisc::missingDisc) + if (discId == TDECompactDisc::missingDisc) { kdDebug() << "newDisc - No disc" << endl; cddbInfo.clear(); @@ -172,7 +172,7 @@ void TracksImp::newDisc(unsigned discId) * @return if there is a cd inserted or not. */ bool TracksImp::hasCD(){ - return cd->discId() != KCompactDisc::missingDisc; + return cd->discId() != TDECompactDisc::missingDisc; } /** @@ -180,7 +180,7 @@ bool TracksImp::hasCD(){ * @param file - the new text to check. */ void TracksImp::changeDevice(const TQString &file ) { - TQString newDevice = KCompactDisc::urlToDevice(file); + TQString newDevice = TDECompactDisc::urlToDevice(file); if( newDevice == cd->device() ) { //tqDebug("Device names match, returning"); diff --git a/kaudiocreator/tracksimp.h b/kaudiocreator/tracksimp.h index 111f474a..26d3705e 100644 --- a/kaudiocreator/tracksimp.h +++ b/kaudiocreator/tracksimp.h @@ -39,7 +39,7 @@ using namespace KCDDB; class Job; class TDEProcess; -class KCompactDisc; +class TDECompactDisc; class TracksItem : public TDEListViewItem { @@ -128,7 +128,7 @@ private: TQString formatTime(unsigned ms); KCDDB::Client *cddb; - KCompactDisc *cd; + TDECompactDisc *cd; // Current album KCDDB::CDInfo cddbInfo; |