summaryrefslogtreecommitdiffstats
path: root/examples/animation
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-04-29 08:54:10 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-04-29 08:54:10 (GMT)
commit58b74319a639cb471cdec92c0e8a054fc6d4d5f5 (patch)
tree6d6bd21ff8c53636cc51eb8a1d17eb2fd00ebed9 /examples/animation
parentf39a905bc75e7ce95294f3584ea8a400ab383861 (diff)
downloadQt-58b74319a639cb471cdec92c0e8a054fc6d4d5f5.zip
Qt-58b74319a639cb471cdec92c0e8a054fc6d4d5f5.tar.gz
Qt-58b74319a639cb471cdec92c0e8a054fc6d4d5f5.tar.bz2
modifiers --> modifiersMask
Result of API review. A == comparison of the modifiers is not useful. The common case is you want to test if one or more modifiers are set, i.e. a mask check.
Diffstat (limited to 'examples/animation')
-rw-r--r--examples/animation/sub-attaq/boat_p.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/animation/sub-attaq/boat_p.h b/examples/animation/sub-attaq/boat_p.h
index 8dacaba..ff69335 100644
--- a/examples/animation/sub-attaq/boat_p.h
+++ b/examples/animation/sub-attaq/boat_p.h
@@ -65,9 +65,6 @@ public:
{
this->boat = boat;
this->key = key;
-#if defined(Q_OS_MAC)
- setModifiers(Qt::KeypadModifier);
-#endif
}
protected:
virtual bool eventTest(QEvent *event) const
@@ -94,9 +91,6 @@ public:
{
this->boat = boat;
this->key = key;
-#if defined(Q_OS_MAC)
- setModifiers(Qt::KeypadModifier);
-#endif
}
protected:
virtual bool eventTest(QEvent *event) const
@@ -135,9 +129,6 @@ public:
{
this->boat = boat;
this->key = key;
-#if defined(Q_OS_MAC)
- setModifiers(Qt::KeypadModifier);
-#endif
}
protected:
virtual bool eventTest(QEvent *event) const