summaryrefslogtreecommitdiffstats
path: root/src/sound/PeakFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/PeakFile.cpp')
-rw-r--r--src/sound/PeakFile.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/sound/PeakFile.cpp b/src/sound/PeakFile.cpp
index 8881114..3c306db 100644
--- a/src/sound/PeakFile.cpp
+++ b/src/sound/PeakFile.cpp
@@ -22,9 +22,9 @@
#include <cstdlib>
#include <kapplication.h>
-#include <qdatetime.h>
-#include <qstringlist.h>
-#include <qpalette.h>
+#include <tqdatetime.h>
+#include <tqstringlist.h>
+#include <tqpalette.h>
#include <kapp.h>
#include "PeakFile.h"
@@ -57,7 +57,7 @@ PeakFile::PeakFile(AudioFile *audioFile):
m_numberOfPeaks(0),
m_positionPeakOfPeaks(0),
m_offsetToPeaks(0),
- m_modificationTime(QDate(1970, 1, 1), QTime(0, 0, 0)),
+ m_modificationTime(TQDate(1970, 1, 1), TQTime(0, 0, 0)),
m_chunkStartPosition(0),
m_lastPreviewStartTime(0, 0),
m_lastPreviewEndTime(0, 0),
@@ -73,7 +73,7 @@ PeakFile::open()
{
// Set the file size
//
- QFileInfo info(QString(m_fileName.c_str()));
+ TQFileInfo info(TQString(m_fileName.c_str()));
m_fileSize = info.size();
// If we're already open then don't open again
@@ -148,15 +148,15 @@ PeakFile::parseHeader()
// Read in date string and convert it up to QDateTime
//
- QString dateString = QString(header.substr(40, 28).c_str());
+ TQString dateString = TQString(header.substr(40, 28).c_str());
- QStringList dateTime = QStringList::split(":", dateString);
+ TQStringList dateTime = TQStringList::split(":", dateString);
- m_modificationTime.setDate(QDate(dateTime[0].toInt(),
+ m_modificationTime.setDate(TQDate(dateTime[0].toInt(),
dateTime[1].toInt(),
dateTime[2].toInt()));
- m_modificationTime.setTime(QTime(dateTime[3].toInt(),
+ m_modificationTime.setTime(TQTime(dateTime[3].toInt(),
dateTime[4].toInt(),
dateTime[5].toInt(),
dateTime[6].toInt()));
@@ -288,7 +288,7 @@ PeakFile::close()
//
m_modificationTime = m_modificationTime.currentDateTime();
- QString fDate;
+ TQString fDate;
fDate.sprintf("%04d:%02d:%02d:%02d:%02d:%02d:%03d",
m_modificationTime.date().year(),
m_modificationTime.date().month(),