diff options
Diffstat (limited to 'juk/coverinfo.cpp')
-rw-r--r-- | juk/coverinfo.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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; |