From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: TQt4 port kdemultimedia This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- juk/coverinfo.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'juk/coverinfo.cpp') diff --git a/juk/coverinfo.cpp b/juk/coverinfo.cpp index 67e8514a..49bf0f55 100644 --- a/juk/coverinfo.cpp +++ b/juk/coverinfo.cpp @@ -29,15 +29,15 @@ #include "coverinfo.h" #include "tag.h" -struct CoverPopup : public QWidget +struct CoverPopup : public TQWidget { CoverPopup(const TQPixmap &image, const TQPoint &p) : TQWidget(0, 0, WDestructiveClose | WX11BypassWM) { - TQHBoxLayout *layout = new TQHBoxLayout(this); + TQHBoxLayout *tqlayout = new TQHBoxLayout(this); TQLabel *label = new TQLabel(this); - layout->addWidget(label); + tqlayout->addWidget(label); label->setFrameStyle(TQFrame::Box | TQFrame::Raised); label->setLineWidth(1); label->setPixmap(image); @@ -225,9 +225,9 @@ void CoverInfo::popup() const TQString CoverInfo::coverLocation(CoverSize size) const { TQString fileName(TQFile::encodeName(m_file.tag()->artist() + " - " + m_file.tag()->album())); - TQRegExp maskedFileNameChars("[ /?:\"]"); + TQRegExp tqmaskedFileNameChars("[ /?:\"]"); - fileName.replace(maskedFileNameChars, "_"); + fileName.tqreplace(tqmaskedFileNameChars, "_"); fileName.append(".png"); TQString dataDir = KGlobal::dirs()->saveLocation("appdata"); @@ -267,7 +267,7 @@ bool CoverInfo::convertOldStyleCover() const applyCoverToWholeAlbum(); - // If we convert we need to remove the old cover otherwise we'll find + // If we convert we need to remove the old cover otherwise we'll tqfind // it later if the user un-sets the new cover. if(!TQFile::remove(oldLocation)) kdError(65432) << "Unable to remove converted cover at " << oldLocation << endl; -- cgit v1.2.1