summaryrefslogtreecommitdiffstats
path: root/ksysv/Data.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /ksysv/Data.cpp
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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