summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchleveldata.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /ktouch/src/ktouchleveldata.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchleveldata.cpp')
-rw-r--r--ktouch/src/ktouchleveldata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ktouch/src/ktouchleveldata.cpp b/ktouch/src/ktouchleveldata.cpp
index d0606442..58ac983f 100644
--- a/ktouch/src/ktouchleveldata.cpp
+++ b/ktouch/src/ktouchleveldata.cpp
@@ -38,14 +38,14 @@ void KTouchLevelData::createDefault() {
bool KTouchLevelData::readLevel(TQTextStream& in) {
TQString line;
- m_comment = m_newChars = TQString::null;
+ m_comment = m_newChars = TQString();
m_lines.clear();
// now read all the lines of the level, until EOF or an empty line
line = in.readLine();
while (!line.isNull()) {
if (!line.isEmpty()) {
// Do we have a comment here? And if yes, is a keyword in the line?
- if (line.find("# Comment:")==0)
+ if (line.tqfind("# Comment:")==0)
m_comment = line.right(line.length() - 10).stripWhiteSpace();
else if (line[0]!='#') {
// the first line is the new characters line