diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-07 17:57:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-07 17:57:16 -0600 |
commit | 09a22d33a25cf6f9bf6ec2db5db4fc350cc7cea9 (patch) | |
tree | 55c5352241ba2c8967efb47330e577f18f84b985 /kaudiocreator | |
parent | 3111786e2c01633a9aed14eaea7523e086ecfc5a (diff) | |
download | tdemultimedia-09a22d33a25cf6f9bf6ec2db5db4fc350cc7cea9.tar.gz tdemultimedia-09a22d33a25cf6f9bf6ec2db5db4fc350cc7cea9.zip |
Rename KComp to avoid conflicts with KDE4
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; |