From 09a22d33a25cf6f9bf6ec2db5db4fc350cc7cea9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 7 Feb 2013 17:57:16 -0600 Subject: Rename KComp to avoid conflicts with KDE4 --- kaudiocreator/tracksimp.cpp | 8 ++++---- kaudiocreator/tracksimp.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kaudiocreator') 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; -- cgit v1.2.1