summaryrefslogtreecommitdiffstats
path: root/ksysv/Data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/Data.cpp')
-rw-r--r--ksysv/Data.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksysv/Data.cpp b/ksysv/Data.cpp
index caa4a1b..5b8221c 100644
--- a/ksysv/Data.cpp
+++ b/ksysv/Data.cpp
@@ -1,6 +1,6 @@
// (c) 2000 Peter Putzer
-#include <qdatastream.h>
+#include <tqdatastream.h>
#include <kdatastream.h>
#include "Data.h"
@@ -11,8 +11,8 @@ KSVData::KSVData ()
mNr = mOldNr = 0;
}
-KSVData::KSVData (const QString& file, const QString& path,
- const QString& label, Q_INT8 nr)
+KSVData::KSVData (const TQString& file, const TQString& path,
+ const TQString& label, Q_INT8 nr)
: mPath (path),
mLabel (label), mFilename (file)
{
@@ -94,7 +94,7 @@ bool KSVData::operator< (const KSVData& rhs) const
return mNr< rhs.mNr;
}
-void KSVData::setPath (const QString& s)
+void KSVData::setPath (const TQString& s)
{
if (mPath != s)
mOtherChanged = true;
@@ -102,7 +102,7 @@ void KSVData::setPath (const QString& s)
mPath = s;
}
-void KSVData::setLabel (const QString& s)
+void KSVData::setLabel (const TQString& s)
{
if (!mLabelChanged && mLabel != s)
{
@@ -113,7 +113,7 @@ void KSVData::setLabel (const QString& s)
mLabel = s;
}
-void KSVData::setFilename (const QString& s)
+void KSVData::setFilename (const TQString& s)
{
if (!mFilenameChanged && mFilename != s)
{
@@ -124,7 +124,7 @@ void KSVData::setFilename (const QString& s)
mFilename = s;
}
-void KSVData::setRunlevel (const QString& s)
+void KSVData::setRunlevel (const TQString& s)
{
mRunlevel = s;
}
@@ -146,12 +146,12 @@ void KSVData::setChanged (bool val)
mNrChanged = mLabelChanged = mOtherChanged = mFilenameChanged = val;
}
-void KSVData::setOriginalRunlevel (const QString& rl)
+void KSVData::setOriginalRunlevel (const TQString& rl)
{
mOriginalRunlevel = rl;
}
-QDataStream& operator<< (QDataStream& stream, const KSVData& data)
+TQDataStream& operator<< (TQDataStream& stream, const KSVData& data)
{
return stream << data.mPath
<< data.mFilename
@@ -168,7 +168,7 @@ QDataStream& operator<< (QDataStream& stream, const KSVData& data)
}
-QDataStream& operator>> (QDataStream& stream, KSVData& data)
+TQDataStream& operator>> (TQDataStream& stream, KSVData& data)
{
stream >> data.mPath
>> data.mFilename