summaryrefslogtreecommitdiffstats
path: root/ksysv/Data.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/Data.h')
-rw-r--r--ksysv/Data.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/ksysv/Data.h b/ksysv/Data.h
index e282346..974194a 100644
--- a/ksysv/Data.h
+++ b/ksysv/Data.h
@@ -9,7 +9,7 @@ class KSVData
{
public:
KSVData ();
- KSVData (const QString& file, const QString& path, const QString& label, Q_INT8 nr);
+ KSVData (const TQString& file, const TQString& path, const TQString& label, Q_INT8 nr);
KSVData (const KSVData& rhs);
inline ~KSVData () {}
@@ -17,19 +17,19 @@ public:
bool operator== (const KSVData& rhs) const;
bool operator< (const KSVData& rhs) const;
- inline QString filenameAndPath () const { return mPath + "/" + mFilename; }
+ inline TQString filenameAndPath () const { return mPath + "/" + mFilename; }
- inline const QString& path () const { return mPath; }
- inline const QString& label () const { return mLabel; }
- inline const QString& filename () const { return mFilename; }
- inline const QString& runlevel () const { return mRunlevel; }
+ inline const TQString& path () const { return mPath; }
+ inline const TQString& label () const { return mLabel; }
+ inline const TQString& filename () const { return mFilename; }
+ inline const TQString& runlevel () const { return mRunlevel; }
inline Q_INT8 number () const { return mNr; }
- inline const QString& numberString () const { return mNumberString; }
+ inline const TQString& numberString () const { return mNumberString; }
- inline const QString& oldLabel () const { return mOldLabel; }
- inline const QString& oldFilename () const { return mOldFilename; }
- inline const QString& originalRunlevel () const { return mOldFilename; }
+ inline const TQString& oldLabel () const { return mOldLabel; }
+ inline const TQString& oldFilename () const { return mOldFilename; }
+ inline const TQString& originalRunlevel () const { return mOldFilename; }
inline Q_INT8 oldNumber () const { return mOldNr; }
inline bool numberChanged () const { return mNrChanged; }
@@ -42,26 +42,26 @@ public:
inline void setNumberChanged (bool val) { mNrChanged = val; }
inline void setNewEntry (bool val) { mNewEntry = val; }
- void setPath (const QString&);
- void setLabel (const QString&);
- void setFilename (const QString&);
- void setRunlevel (const QString&);
- void setOriginalRunlevel (const QString&);
+ void setPath (const TQString&);
+ void setLabel (const TQString&);
+ void setFilename (const TQString&);
+ void setRunlevel (const TQString&);
+ void setOriginalRunlevel (const TQString&);
void setNumber (Q_INT8 nr);
void setChanged (bool);
private:
- friend QDataStream& operator<< (QDataStream&, const KSVData&);
- friend QDataStream& operator>> (QDataStream&, KSVData&);
+ friend TQDataStream& operator<< (TQDataStream&, const KSVData&);
+ friend TQDataStream& operator>> (TQDataStream&, KSVData&);
- QString mPath;
- QString mLabel;
- QString mFilename;
- QString mRunlevel;
+ TQString mPath;
+ TQString mLabel;
+ TQString mFilename;
+ TQString mRunlevel;
Q_INT8 mNr;
- QString mOldLabel;
- QString mOldFilename;
- QString mOriginalRunlevel;
+ TQString mOldLabel;
+ TQString mOldFilename;
+ TQString mOriginalRunlevel;
Q_INT8 mOldNr;
bool mNrChanged;
@@ -70,10 +70,10 @@ private:
bool mFilenameChanged;
bool mNewEntry;
- QString mNumberString;
+ TQString mNumberString;
};
-QDataStream& operator<< (QDataStream& stream, const KSVData& data);
-QDataStream& operator>> (QDataStream& stream, KSVData& data);
+TQDataStream& operator<< (TQDataStream& stream, const KSVData& data);
+TQDataStream& operator>> (TQDataStream& stream, KSVData& data);
#endif // KSV_DATA_H