summaryrefslogtreecommitdiffstats
path: root/lib/cppparser/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cppparser/macro.h')
-rw-r--r--lib/cppparser/macro.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/cppparser/macro.h b/lib/cppparser/macro.h
index e8fe0b9c..c4912bb3 100644
--- a/lib/cppparser/macro.h
+++ b/lib/cppparser/macro.h
@@ -228,7 +228,7 @@ class Macro {
}
void read( TQDataStream& stream ) {
- Q_INT8 i;
+ TQ_INT8 i;
stream >> i; m_idHashValid = i;
stream >> i; m_valueHashValid = i;
stream >> i; m_hasArguments = i;
@@ -244,7 +244,7 @@ class Macro {
}
void write( TQDataStream& stream ) const {
- Q_INT8 i;
+ TQ_INT8 i;
i = m_idHashValid; stream << i;
i = m_valueHashValid; stream << i;
i = m_hasArguments; stream << i;
@@ -266,7 +266,7 @@ class Macro {
/** Set the name for this macro */
void setName( const TQString& name ) {
m_name = name;
- invalidateHash();
+ tqinvalidateHash();
}
/** Get the file name that contains this macro */
@@ -276,7 +276,7 @@ class Macro {
/** Set the file name that contains this macro */
void setFileName( const TQString& fileName ) {
m_fileName = fileName;
- invalidateHash();
+ tqinvalidateHash();
}
/** Get the line the macro is defined on */
@@ -304,7 +304,7 @@ class Macro {
/** Set the body of the macro */
void setBody( const TQString& body ) {
m_body = body;
- invalidateHash();
+ tqinvalidateHash();
}
/** This is used so the lexer does not have to remove macros that should really stay(they are just temporarily shadowed by an isUndef-macro */
@@ -314,7 +314,7 @@ class Macro {
void setUndef() {
m_isUndefMacro = true;
- invalidateHash();
+ tqinvalidateHash();
};
/** Check whether the macro has arguments that are passed to it */
@@ -323,7 +323,7 @@ class Macro {
}
void setHasArguments( bool hasArguments ) {
m_hasArguments = hasArguments;
- invalidateHash();
+ tqinvalidateHash();
}
/** Get a list of arguments passed to this macro */
TQValueList<Argument> argumentList() const {
@@ -334,7 +334,7 @@ class Macro {
void clearArgumentList() {
m_argumentList.clear();
m_hasArguments = false;
- invalidateHash();
+ tqinvalidateHash();
}
/** Add an argument to this macro */
void addArgument( const Argument& argument ) {
@@ -343,7 +343,7 @@ class Macro {
/** Add a list of arguments to this macro */
void addArgumentList( const TQValueList<Argument>& arguments ) {
m_argumentList += arguments;
- invalidateHash();
+ tqinvalidateHash();
}
///This hash respects macro-name and argument-count
@@ -359,7 +359,7 @@ class Macro {
}
private:
- inline void invalidateHash() const {
+ inline void tqinvalidateHash() const {
m_idHashValid = m_valueHashValid = false;
}