diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /ktouch/src/ktouchleveldata.h | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchleveldata.h')
-rw-r--r-- | ktouch/src/ktouchleveldata.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ktouch/src/ktouchleveldata.h b/ktouch/src/ktouchleveldata.h index 8055824d..e7e0f5e1 100644 --- a/ktouch/src/ktouchleveldata.h +++ b/ktouch/src/ktouchleveldata.h @@ -17,10 +17,10 @@ #include <config.h> #endif -#include <qstring.h> -#include <qtextstream.h> -#include <qvaluevector.h> -#include <qdom.h> +#include <tqstring.h> +#include <tqtextstream.h> +#include <tqvaluevector.h> +#include <tqdom.h> class QDomDocument; class QDomElement; @@ -41,16 +41,16 @@ class KTouchLevelData { /// Default constructor, creates a default level. KTouchLevelData() { createDefault(); } /// Constructor for creating a new level. - KTouchLevelData(const QString& comment, const QString& newChars) + KTouchLevelData(const TQString& comment, const TQString& newChars) : m_comment(comment), m_newChars(newChars) { createDefault(); } /// Returns the level description (comment). - const QString& comment() const { return m_comment; } + const TQString& comment() const { return m_comment; } /// Returns the new characters string. - const QString& newChars() const { return m_newChars; } + const TQString& newChars() const { return m_newChars; } /// Returns the line with number 'lineNumber' (0 means first line). /// /// If the line number is out of range, the first line will be returned. - const QString& line(unsigned int lineNumber) const; + const TQString& line(unsigned int lineNumber) const; /// Returns the number of lines. unsigned int count() const { return m_lines.size(); } @@ -59,18 +59,18 @@ class KTouchLevelData { void createDefault(); /// Reads a level from the input stream. /// @return Returns 'true', when a level could be read successfully, or 'false' otherwise. - bool readLevel(QTextStream& in); + bool readLevel(TQTextStream& in); /// Reads a level from a XML Dom Node. /// @return Returns 'true', when a level could be read successfully, or 'false' otherwise. - bool readLevel(QDomNode in); + bool readLevel(TQDomNode in); /// Writes the level data into the output stream. - void writeLevel(QTextStream& out) const; + void writeLevel(TQTextStream& out) const; /// Writes the level data into the output stream. - void writeLevel(QDomDocument& doc, QDomElement& root) const; + void writeLevel(TQDomDocument& doc, TQDomElement& root) const; - QString m_comment; ///< A comment for the level. - QString m_newChars; ///< Contains the newly introduced characters in this level. - QValueVector<QString> m_lines; ///< The lines of the level. + TQString m_comment; ///< A comment for the level. + TQString m_newChars; ///< Contains the newly introduced characters in this level. + TQValueVector<TQString> m_lines; ///< The lines of the level. // so I don't have to allow access to read/write function to everybody :-) friend class KTouchLecture; |