summaryrefslogtreecommitdiffstats
path: root/src/languages/sourceline.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/languages/sourceline.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/languages/sourceline.h')
-rw-r--r--src/languages/sourceline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/languages/sourceline.h b/src/languages/sourceline.h
index d2e774d..f799141 100644
--- a/src/languages/sourceline.h
+++ b/src/languages/sourceline.h
@@ -11,7 +11,7 @@
#ifndef SOURCELINE_H
#define SOURCELINE_H
-#include <qstring.h>
+#include <tqstring.h>
/**
@author David Saxton
@@ -23,9 +23,9 @@ class SourceLine
* Creates an invalid source line (line is negative).
*/
SourceLine();
- SourceLine( const QString & fileName, int line );
+ SourceLine( const TQString & fileName, int line );
- QString fileName() const { return m_fileName; }
+ TQString fileName() const { return m_fileName; }
int line() const { return m_line; }
bool isValid() const { return m_line >= 0; }
@@ -34,7 +34,7 @@ class SourceLine
bool operator == ( const SourceLine & sourceLine ) const;
protected:
- QString m_fileName;
+ TQString m_fileName;
int m_line;
};