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.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/cppparser/macro.h b/lib/cppparser/macro.h
index c4912bb3..26f2c2db 100644
--- a/lib/cppparser/macro.h
+++ b/lib/cppparser/macro.h
@@ -266,7 +266,7 @@ class Macro {
/** Set the name for this macro */
void setName( const TQString& name ) {
m_name = name;
- tqinvalidateHash();
+ invalidateHash();
}
/** 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;
- tqinvalidateHash();
+ invalidateHash();
}
/** 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;
- tqinvalidateHash();
+ invalidateHash();
}
/** 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;
- tqinvalidateHash();
+ invalidateHash();
};
/** Check whether the macro has arguments that are passed to it */
@@ -323,7 +323,7 @@ class Macro {
}
void setHasArguments( bool hasArguments ) {
m_hasArguments = hasArguments;
- tqinvalidateHash();
+ invalidateHash();
}
/** 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;
- tqinvalidateHash();
+ invalidateHash();
}
/** 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;
- tqinvalidateHash();
+ invalidateHash();
}
///This hash respects macro-name and argument-count
@@ -359,7 +359,7 @@ class Macro {
}
private:
- inline void tqinvalidateHash() const {
+ inline void invalidateHash() const {
m_idHashValid = m_valueHashValid = false;
}