summaryrefslogtreecommitdiffstats
path: root/src/common/common/qflags.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/common/qflags.h')
-rw-r--r--src/common/common/qflags.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/common/qflags.h b/src/common/common/qflags.h
index c7abfc2..6d7c2ff 100644
--- a/src/common/common/qflags.h
+++ b/src/common/common/qflags.h
@@ -48,8 +48,8 @@ public:
inline TQFlags(TQFlag f) : i(f) {}
inline TQFlags &operator=(const TQFlags &f) { i = f.i; return *this; }
- inline TQFlags &operator&=(int tqmask) { i &= tqmask; return *this; }
- inline TQFlags &operator&=(uint tqmask) { i &= tqmask; return *this; }
+ inline TQFlags &operator&=(int mask) { i &= mask; return *this; }
+ inline TQFlags &operator&=(uint mask) { i &= mask; return *this; }
inline TQFlags &operator|=(TQFlags f) { i |= f.i; return *this; }
inline TQFlags &operator|=(Enum f) { i |= f; return *this; }
inline TQFlags &operator^=(TQFlags f) { i ^= f.i; return *this; }
@@ -62,8 +62,8 @@ public:
inline TQFlags operator|(Enum f) const { TQFlags g; g.i = i | f; return g; }
inline TQFlags operator^(TQFlags f) const { TQFlags g; g.i = i ^ f.i; return g; }
inline TQFlags operator^(Enum f) const { TQFlags g; g.i = i ^ f; return g; }
- inline TQFlags operator&(int tqmask) const { TQFlags g; g.i = i & tqmask; return g; }
- inline TQFlags operator&(uint tqmask) const { TQFlags g; g.i = i & tqmask; return g; }
+ inline TQFlags operator&(int mask) const { TQFlags g; g.i = i & mask; return g; }
+ inline TQFlags operator&(uint mask) const { TQFlags g; g.i = i & mask; return g; }
inline TQFlags operator&(Enum f) const { TQFlags g; g.i = i & f; return g; }
inline TQFlags operator~() const { TQFlags g; g.i = ~i; return g; }