summaryrefslogtreecommitdiffstats
path: root/lib/cppparser/driver.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/cppparser/driver.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/cppparser/driver.h')
-rw-r--r--lib/cppparser/driver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/cppparser/driver.h b/lib/cppparser/driver.h
index 3c12d34c..078c420f 100644
--- a/lib/cppparser/driver.h
+++ b/lib/cppparser/driver.h
@@ -49,7 +49,7 @@ enum
Dep_Local
};
-typedef QPair<TQString, int> Dependence;
+typedef TQPair<TQString, int> Dependence;
class ParsedFile;
typedef KSharedPtr< ParsedFile > ParsedFilePointer;
@@ -129,7 +129,7 @@ class ParsedFile : public AbstractParseResult {
m_directIncludeFiles.clear();
for( int a = 0; a < directIncludeFilesCount; a++ ) {
IncludeDesc i;
- Q_INT8 in;
+ TQ_INT8 in;
stream >> in;
i.local = in;
stream >> i.includePath;
@@ -149,7 +149,7 @@ class ParsedFile : public AbstractParseResult {
int i = m_directIncludeFiles.size();
stream << i;
for( TQValueList<IncludeDesc>::const_iterator it = m_directIncludeFiles.begin(); it != m_directIncludeFiles.end(); ++it ) {
- Q_INT8 i = (*it).local;
+ TQ_INT8 i = (*it).local;
stream << i;
stream << (*it).includePath;
}
@@ -297,7 +297,7 @@ class Driver {
*/
TQMap<TQString, Dependence> dependences( const TQString& fileName ) const;
/**
- * Get all the macros the driver contains
+ * Get all the macros the driver tqcontains
* @return The macros
*/
const MacroMap& macros() const;
@@ -306,7 +306,7 @@ class Driver {
* Take all macros from the given map(forgetting own macros) */
void insertMacros( const MacroSet& macros );
/**
- * Get the list of problem areas the driver contains
+ * Get the list of problem areas the driver tqcontains
* @param fileName The filename to get problems for
* @return The list of problems for @p fileName
*/