diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/musicbrainzquery.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/musicbrainzquery.cpp')
-rw-r--r-- | juk/musicbrainzquery.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/juk/musicbrainzquery.cpp b/juk/musicbrainzquery.cpp index 84bb38d7..577e240f 100644 --- a/juk/musicbrainzquery.cpp +++ b/juk/musicbrainzquery.cpp @@ -28,7 +28,7 @@ #include <klocale.h> #include <kdebug.h> -#include <qfileinfo.h> +#include <tqfileinfo.h> MusicBrainzLookup::MusicBrainzLookup(const FileHandle &file) : KTRMLookup(file.absFilePath()), @@ -65,10 +65,10 @@ void MusicBrainzLookup::error() delete this; } -void MusicBrainzLookup::message(const QString &s) const +void MusicBrainzLookup::message(const TQString &s) const { KMainWindow *w = static_cast<KMainWindow *>(kapp->mainWidget()); - w->statusBar()->message(QString("%1 (%2)").arg(s).arg(m_file.fileInfo().fileName()), 3000); + w->statusBar()->message(TQString("%1 (%2)").arg(s).arg(m_file.fileInfo().fileName()), 3000); } void MusicBrainzLookup::confirmation() @@ -76,7 +76,7 @@ void MusicBrainzLookup::confirmation() // Here we do a bit of queuing to make sure that we don't pop up multiple // instances of the confirmation dialog at once. - static QValueList< QPair<FileHandle, KTRMResultList> > queue; + static TQValueList< QPair<FileHandle, KTRMResultList> > queue; if(results().isEmpty()) return; @@ -94,7 +94,7 @@ void MusicBrainzLookup::confirmation() KTRMResultList results = item.second; TrackPickerDialog dialog(file.fileInfo().fileName(), results); - if(dialog.exec() == QDialog::Accepted && !dialog.result().isEmpty()) { + if(dialog.exec() == TQDialog::Accepted && !dialog.result().isEmpty()) { KTRMResult result = dialog.result(); Tag *tag = TagTransactionManager::duplicateTag(file.tag()); |