diff options
Diffstat (limited to 'src/translators')
-rw-r--r-- | src/translators/alexandriaimporter.cpp | 2 | ||||
-rw-r--r-- | src/translators/audiofileimporter.cpp | 2 | ||||
-rw-r--r-- | src/translators/onixexporter.cpp | 2 | ||||
-rw-r--r-- | src/translators/tellicoimporter.cpp | 2 | ||||
-rw-r--r-- | src/translators/tellicozipexporter.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/translators/alexandriaimporter.cpp b/src/translators/alexandriaimporter.cpp index 2f19d23..5a2d25b 100644 --- a/src/translators/alexandriaimporter.cpp +++ b/src/translators/alexandriaimporter.cpp @@ -86,7 +86,7 @@ Tellico::Data::CollPtr AlexandriaImporter::collection() { bool readNextLine = true; ts.unsetDevice(); - ts.setDevice(TQT_TQIODEVICE(&file)); + ts.setDevice(&file); TQString line; while(!ts.atEnd()) { if(readNextLine) { diff --git a/src/translators/audiofileimporter.cpp b/src/translators/audiofileimporter.cpp index da41fc8..a30c6c4 100644 --- a/src/translators/audiofileimporter.cpp +++ b/src/translators/audiofileimporter.cpp @@ -296,7 +296,7 @@ Tellico::Data::CollPtr AudioFileImporter::collection() { continue; } ts.unsetDevice(); - ts.setDevice(TQT_TQIODEVICE(&file)); + ts.setDevice(&file); for(TQString line = ts.readLine(); !line.isNull(); line = ts.readLine()) { if(!iconRx.exactMatch(line)) { continue; diff --git a/src/translators/onixexporter.cpp b/src/translators/onixexporter.cpp index 6a31912..7c87241 100644 --- a/src/translators/onixexporter.cpp +++ b/src/translators/onixexporter.cpp @@ -78,7 +78,7 @@ bool ONIXExporter::exec() { TQByteArray data; TQBuffer buf(data); - KZip zip(TQT_TQIODEVICE(&buf)); + KZip zip(&buf); zip.open(IO_WriteOnly); zip.writeFile(TQString::fromLatin1("onix.xml"), TQString(), TQString(), xml.length(), xml); diff --git a/src/translators/tellicoimporter.cpp b/src/translators/tellicoimporter.cpp index c485966..35a9482 100644 --- a/src/translators/tellicoimporter.cpp +++ b/src/translators/tellicoimporter.cpp @@ -769,7 +769,7 @@ void TellicoImporter::loadZipData() { m_zip = new KZip(fileRef().fileName()); } else { m_buffer = new TQBuffer(data()); - m_zip = new KZip(TQT_TQIODEVICE(m_buffer)); + m_zip = new KZip(m_buffer); } if(!m_zip->open(IO_ReadOnly)) { setStatusMessage(i18n(errorLoad).arg(url().fileName())); diff --git a/src/translators/tellicozipexporter.cpp b/src/translators/tellicozipexporter.cpp index 18c7c8e..863d78e 100644 --- a/src/translators/tellicozipexporter.cpp +++ b/src/translators/tellicozipexporter.cpp @@ -71,7 +71,7 @@ bool TellicoZipExporter::exec() { return true; // intentionally cancelled } - KZip zip(TQT_TQIODEVICE(&buf)); + KZip zip(&buf); zip.open(IO_WriteOnly); zip.writeFile(TQString::fromLatin1("tellico.xml"), TQString(), TQString(), xml.length(), xml); |