summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/macgui/guitest.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2013-10-21 14:59:17 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-29 18:30:48 +0100
commit12981e70a8b7a193ad5ed6449ffd1f8f62d799a2 (patch)
tree1008473d14430accbccab4def75da7c34e9f1afc /tests/auto/other/macgui/guitest.h
parentd7f8f7e0783a5e2d6e2324e7bb16001d23f3d7bf (diff)
MacGui tests: Remove references to CGPostMouseEvent
CGPostMouseEvent is obsolete and known to have "undocumented special cases and undesirable side effects." The newer Quatz API doesn't allow neither multiple mouse button events nor preserving the mouse cursor location. Change-Id: I121b02fd01e2990488b05e45431cbdc13589656e Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'tests/auto/other/macgui/guitest.h')
-rw-r--r--tests/auto/other/macgui/guitest.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/other/macgui/guitest.h b/tests/auto/other/macgui/guitest.h
index 569a67d7fe..6fc4eac59f 100644
--- a/tests/auto/other/macgui/guitest.h
+++ b/tests/auto/other/macgui/guitest.h
@@ -86,11 +86,10 @@ private:
(Implemented so far: mouseClick on Mac)
*/
namespace NativeEvents {
- enum MousePosition { UpdatePosition, DontUpdatePosition };
/*
Simulates a mouse click with button at globalPos.
*/
- void mouseClick(const QPoint &globalPos, Qt::MouseButtons buttons, MousePosition updateMouse = DontUpdatePosition);
+ void mouseClick(const QPoint &globalPos, Qt::MouseButtons buttons);
};
class ColorWidget : public QWidget